|
From: Maximilian K. <Max...@fr...> - 2013-11-04 23:35:33
|
Hi all,
this is my second post today - you can see I'm still starting off with
gnuplot :P
I have a large data-file, which contains my data, each point is a line
of the format (r z B_r B_z B_phi)
So, if I want to plot the values of B_z at a fixed r, I do something like
plot 'PG.dat' using 2:( $1 == 0 ? $4 : 1/0 ) title 'B(z,r=0)'
which works nice. (I tried the index option, but I couldn't get it to work).
If I want a smooth line instead of points, I have to append 'smooth
unique', as far as I understand. With the method I used to indentify my
subset of points, this method doesent work (for splines it should be at
last 3 points, 'unique' doesn't plot anything (except for the key; there
a line is visible)).
Is there a way to get smooth lines? Or am I doing things wrong?
Best regards, Max
|