|
From: Thomas S. <t.s...@fz...> - 2010-10-07 18:53:08
|
it's possilbe using the 'linecolor palette' option. # if you want to plot a function start here: set table 'data' plot sin(x) unset table # if you want to plot data start here: temp = 0 plot 'data' using 1:2:(last=temp,temp=$2,$2>last?1:-1) with linespoints linecolor palette BBands wrote: > > Good morning plotters, > > I'd like to vary the color of a line according to its slope, say green > when rinsing and red when falling. Is this possible? > > Thanks, > > BBands > > ------------------------------------------------------------------------------ > Beautiful is writing same markup. Internet Explorer 9 supports > standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. > Spend less time writing and rewriting code and more time creating great > experiences on the web. Be a part of the beta today. > http://p.sf.net/sfu/beautyoftheweb > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://old.nabble.com/Dynamic-line-colors-tp29907871p29909307.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |