help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Color interval chart


From: Pantxo
Subject: Re: Color interval chart
Date: Mon, 19 Nov 2018 08:52:29 -0600 (CST)

shivax wrote
> x = 1:20;
> y= 1:20
>  plot (x,y,'bo-');
> 
> it's possible to color interval chart (example : from 1 to 5 color green) 
> See pic
> 
> https://gyazo.com/b85569d280f4b9355af705591b67f682
> 
> 
> 
> --
> Sent from:
> http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html

Yes, it is possible, just add a green rectangle (see "help rectangle"). Draw
the rectangle last if you want it to mask the plot data, and first if you
want it in the background. 

Pantxo



--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html



reply via email to

[Prev in Thread] Current Thread [Next in Thread]