From: Thomas Sefzick <t.sefzick@fz...> - 2009-01-16 09:35:08
in the development version (4.3) of gnuplot it is possible to determine
the actual position inside a data block - see 'help pseudocolumns' - and
treat data rows differently depending on their position.
splot "measurements.dat" w l, "" every 1::0::0 w p, "" us
1:2:(column(0)>0?a*$3:$3) w lp
scaling of 'vectors' between subsequent data points could also be done:
splot "measurements.dat" w l, \
'' every 1::0::0 w p, \
'' us \
> Hmmm, I think gnuplot is not able to do this in an easy way. Since I've
> been dealing with gnuplot a couple of days now at work, I think I
> understood how gnuplot works. Although it is quasi Turing complete it is
> not able to do everything you want "out of the box".
> Anyway my problem isn't present anymore, since I solved it outside of
> gnuplot now, but my solution is less comfortable than I wished.
> I'd still love to do some different Operations on the data before
> displaying it, but if the data is stored in datablocks this doesn't seem
> to be possible.
> Hence the more detailed question is:
> Do you think there is an alternative way to store the data (like in matrix
> form or sth.), so I can do some operations on it before displaying?
View this message in context: http://www.nabble.com/Displaying-a-bunch-of-Lines-of-given-Data-tp21432852p21495510.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.