>
>
>
> On Jan 5, 2012, at 11:37 AM, kloof wrote:
>
> > Dear all,
> >
> > I have done as Ben has proposed above. Now I'd like to define the colors
> > like above
> >
> > ( set(gca,'colororder',rainbow(200)) )
> >
> > and then do
> >
> > plot(x,y)
> > plot(x,y2)
> > ...etc
> >
> > It seems that the 'colororder' is obeyed by the first plot command, but the
> > second one 'resets' it: the color of 'y2' is blue again, i.e. the standard
> > color order is put back by the second plot command.
> >
> > Is there a way around this? (to fix the color order during the session).
> >
>
>
> Add "hold all" after the first plot.
>
> plot(x,y)
> hold all
> plot(x,y2)
>
> Ben
>
> _______________________________________________
> Help-octave mailing list
>
[hidden email]
>
https://mailman.cae.wisc.edu/listinfo/help-octave>
>
> _______________________________________________
> If you reply to this email, your message will be added to the discussion below:
>
http://octave.1599824.n4.nabble.com/set-h-color-1-0-0-0-1-0-0-0-0-or-set-h-color-mat2cell-rainbow-3-tp3046817p4266461.html>
> To unsubscribe from set(h,'color',[1,0,0 ; 0,1,0 ; 0,0,0]) or set(h,'color',mat2cell(rainbow(3))) ??, visit
thank you!
View this message in context: Re: set(h,'color',[1,0,0 ; 0,1,0 ; 0,0,0]) or set(h,'color',mat2cell(rainbow(3))) ??
Sent from the
Octave - General mailing list archive at Nabble.com.
- Re: set(h,'color',[1,0,0 ; 0,1,0 ; 0,0,0]) or set(h,'color',mat2cell(rainbow(3))) ??, kloof, 2012/01/05
- Re: set(h,'color',[1,0,0 ; 0,1,0 ; 0,0,0]) or set(h,'color',mat2cell(rainbow(3))) ??, kloof, 2012/01/05
- Re: set(h,'color',[1,0,0 ; 0,1,0 ; 0,0,0]) or set(h,'color',mat2cell(rainbow(3))) ??, c., 2012/01/05
- Re: set(h,'color',[1,0,0 ; 0,1,0 ; 0,0,0]) or set(h,'color',mat2cell(rainbow(3))) ??, Ben Abbott, 2012/01/05
- Re: set(h,'color',[1,0,0 ; 0,1,0 ; 0,0,0]) or set(h,'color',mat2cell(rainbow(3))) ??,
kloof <=
- Prev by Date:
Re: function overloading without dispatch of a class defined in C++
- Next by Date:
Re: C++: recover from feval error
- Previous by thread:
Re: set(h,'color',[1,0,0 ; 0,1,0 ; 0,0,0]) or set(h,'color',mat2cell(rainbow(3))) ??
- Next by thread:
need help on octave
- Index(es):