plot and set y color
Show older comments
I'm trying to plot and set the y color in the same time but it doesnt work
plot(handles.Axes1,x,y,'Color','r','YColor','r')
i also tried
plot(handles.Axes1,x,y,'Color','r')
set(gca,'ycolor','r')
but didnt work... Thank you
3 Comments
John Petersen
on 11 Jul 2012
Did you try
set(handles.Axes1,'YColor','r')
Vincent I
on 11 Jul 2012
Answers (1)
Luffy
on 11 Jul 2012
Try this,
figure;
plot(sind(1:360));
set(gca,'YColor','r');
Categories
Find more on Graphics Performance 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!