Change background color of patternCustom figure.
4 views (last 30 days)
Show older comments
Does anybody know how to change the background color for a figure produced with the patternCustom class? I do not see a field for it.
0 Comments
Accepted Answer
Voss
on 25 Feb 2025
helixdata = randn(1000,3);
h = patternCustom(helixdata(:,3),helixdata(:,2),helixdata(:,1))
fig = ancestor(h,'figure');
fig.Color = [0.85,0.55,0.85];
4 Comments
More Answers (0)
See Also
Categories
Find more on Data Type Conversion in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

