differences between u 1:2 and using ($1):($2)

Javier Galan <[email protected]> Sat, 23 Oct 2010 11:11:18 +0200
Newsgroups gmane.comp.graphics.gnuplot.bugs
Message-ID <[email protected]>
Hi,

I have found out that when creating a plot with time format in the x-axis,
using comands

set timefmt "%s"
set xdata time

there is a difference in the use of the column specifier.

There is no problem by using the reduced form.

plot "timedata" u 1:2

works perfectly,

however when using as

plot 'timedata" using ($1):($2)

the time data is not properly interpreted.

This is a problem when somebody wants to create this kind of plot by
producing a mathematical operation in the y-axis,

as it could be ...

plot 'timedata" using ($1):(($2)*($3))

cheers,
  Javier
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
gnuplot-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gnuplot-bugs