From: <pl...@pi...> - 2007-06-03 05:03:22
|
On Sun, 03 Jun 2007 01:59:25 +0200, Ethan A Merritt = <merritt@u.washington.edu> wrote: > Your examples are so complicated that I can't see what is supposed to = = > happen. > But let me point out that it is perfectly legal to put the definition > inside the plot statement, in which case I think it will be re-execute= d = > on > every "replot". > plot started=3D0, foo(x), baz(x) > Ethan > Ah I did not realise, yes that's much tidier. in fact help plot, that I read yesterday, includes that info but I misse= d = it because I was looking for something else and failed to notice there w= as = an assignment in there. Examples: plot sin(x) plot f(x) =3D sin(x*a), a =3D .2, f(x), a =3D .4, f(x) plot [t=3D1:10] [-pi:pi*2] tan(t), \ "data.1" using (tan($2)):($3/$4) smooth csplines \ axes x1y2 notitle with lines 5 gnuplot is amazingly flexible but takes some time to get to know. Thanks once again for your help. /peter. |