|
From: Thomas S. <t.s...@fz...> - 2010-09-14 14:57:34
|
using ($0>500 && $0<1000 ? 0/0 : $1):3:4 have a look at the section 'ternary operator' in the manual. http://www.gnuplot.info/docs_4.2/gnuplot.html#x1-5800013.2.3 Nukular wrote: > > Thank you, works perfect, even if i dont quite understand the command. > How can i modify it to select line 500-1000? > Regards > > > > Thomas Sefzick wrote: >> >> use the ternary operator: >> >> using ($0>500?0/0:$1):3:4 >> >> >> Nukular wrote: >>> >>> Hello, >>> i want to plot some vectors from a file (i already figured out how to do >>> that) :) >>> My problem is: i only want to plot the first xxx lines (lets say 500). >>> Is there a gnuplot command, that makes you select the lines you want to >>> plot? (like using 1:3:4 for the columns) >>> Regards >>> >> >> > > -- View this message in context: http://old.nabble.com/Plot-File.dat%2C-not-all-the-content-tp29678040p29709474.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |