|
From: Ethan A M. <merritt@u.washington.edu> - 2006-08-07 05:45:30
|
On Sunday 06 August 2006 10:45 pm, Daniel J Sebald wrote: > Dmitri A. Sergatskov wrote: > > 0 2 > > 2 0 > > NaN NaN > > 4 2 > > 2 4 > > > > with gnuplot 4.1 (today's CVS snapshot): > > gnuplot> plot "t3.dat" > > ^ > > Bad data on line 3 You need to say plot "t3.dat" using ($1):($2) > plot "t3.dat" using 1:2 > > That appears to work the same. Not sure why. This is explained in the help files, with examples. Really. Now I agree that it's a peculiar way for it to work, but it is in fact doing exactly what it is documented to do. Someone long ago decided that "using 1:2" should behave differently than "using ($1):($2)". I don't know why, but we're stuck with it unless we want to break with all previous versions. -- Ethan A Merritt Biomolecular Structure Center University of Washington, Seattle 98195-7742 |