From: Thomas S. <t.s...@fz...> - 2008-05-06 10:42:38
|
plot x<=2 ? 2*x*x : -2*x*x+16 or plot x<=2 ? 2*x*x : 0/0 , x>=2 ? -2*x*x+16 : 0/0 for more information see the manual http://www.gnuplot.info/docs/gnuplot.html ('gnuplot' - 'expressions' - 'operators' - 'ternary') or type help ternary at the gnuplot prompt. > hallo, everyone, > > is it possbile to plot two functions with seperate > ranges in one plot? for example, > y=2*x*x, x =[0,2], y=-2x*x+16, x=[2,4]. > Anyone has an idea? -- View this message in context: http://www.nabble.com/plot-range-tp17079869p17080131.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |