Control figure properties in maineffectsplot
2 views (last 30 days)
Show older comments
I am struggling with changing the appearance of the plot generated by the maineffectsplot function.
I would like to control the line object properties of LineWidth , LineStyle , color and others for the plot created by maineffectsplot.
y=rand(5,1);
x=randi(5,5,4);
[figh,AXESH]=maineffectsplot(y,x,'varnames',{'Rand 1','Rand 2','Rand 3','Rand 4'});
and then to change the lines of the plot to be thicker and not blue...
set(?,'LineWidth',1.5,'Color',[ 0 0 0]);
Any ideas on how to achieve this?
3 Comments
Accepted Answer
Adam
on 10 Feb 2017
Looks like it is one of those ugly functions that takes it upon itself to create axes and figures, but doesn't return the handles of the line objects. So you would have to fish them all out from the subplots via the 'Children' property of each axes I would imagine.
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!