Regards,
Jean-Pierre Coulon (here "cacas.pam" is what others call "nospam")
Hi,
I am not quite sure what you mean by "sin and cos functions come from
a 3-column data file".
If you want to plot the cos of column 2 versus the sin of column one,
then
plot 'dat.dat' using (sin($1)):(cos($2)) with lines
should work. (You just have got to make sure that you set angle
properly.)
If this is not what you need, then I am lost. Could you, please,
clarify the question?
Best,
Zoltán
The distinction between parametric and non-parametric doesn't exist for
data plots. So just plot your x and y data and that'll be it.
> I am not quite sure what you mean by "sin and cos functions come from
> a 3-column data file".
Here is the datafile sincos.abs:
#angle cos 2+sin
0. 1. 2.
30 .866 2.5
60 .5 2.866
90 0. 3.
120 -.5 2.866
150 -.866 2.5
180 -1. 2.
210 -.866 1.5
240 -.5 1.133
270 0. 1.
300 .5 1.133
330 .866 1.5
360 1. 2 (not a very nice circle!)
> If you want to plot the cos of column 2 versus the sin of column one, then
> plot 'dat.dat' using (sin($1)):(cos($2)) with lines should work. (You just
> have got to make sure that you set angle properly.) If this is not what you
> need, then I am lost. Could you, please, clarify the question? Best, Zoltán
I found a workaround with splot, by putting the dummy variable into z,
and with a view angle where I don't see the Z axis:
set zrange [0:360]
set angle degrees
unset ztics
set view 0, 0
set xlabel "X"
set ylabel "Y"
splot 'sincos.abs' using 2:3:1 with lines