Quantcast
Channel: MATLAB Central Newsreader - change color when hold on
Browsing all 8 articles
Browse latest View live

Re: change color when hold on

On 2/27/15 12:19 AM, jim Martin wrote:> Any thoughts on how I can fix this without specifying a color for each line with a separate plot command? hold on set(gca,'ColorOrderIndex',1); HTH, Christopher

View Article



Re: change color when hold on

I have the opposite problem. I just upgraded matlab (2014b) and the new version doesn't reset the color order when hold is on like it did before. I liked using it the old way and I can't figure out how...

View Article

Re: change color when hold on

For automatic color change during runtime: figure (5), plot(K,'color',[rand(1),rand(1),rand(1)]), hold on

View Article

Re: change color when hold on

Thank to both of you, sorry for the late answer but it's been a very busy period! Both of your answer have been useful and clarifying!! Thanks a lot again! "Bruno Luong" <brunoluong@yahoo.com>...

View Article

Re: change color when hold on

Thank to both of you, sorry for the late answer but it's been a very busy period! Both of your answer have been useful and clarifying!! Thanks a lot again! "Bruno Luong" <brunoluong@yahoo.com>...

View Article


Re: change color when hold on

"Luca Cerone" <cerone@to-see.it> wrote in message<fi9i8n$65v$1@fred.mathworks.com>...> Hi,> I have two questions about plots.> > I have two matrix X,Y of the same size.> >...

View Article

Re: change color when hold on

Hi, try this : figure hold on col=hsv(10); for i=1:10    plot(X(i,:),Y(i,:),'color',col(i,:)); end Jérôme

View Article

change color when hold on

Hi, I have two questions about plots. I have two matrix X,Y of the same size. i need to plot curves from them and I use the following code: plot(X(1,:),Y(1,:)) hold on for i=2:10 plot(X(i,:),Y(i,:));...

View Article

Browsing all 8 articles
Browse latest View live




Latest Images