According to the documentation, $1 is only a shortcut for column(1). But for time data, using column(1) works correctly, but $1 doesn't:
$data <<EOD
2014-04-06 1
2014-04-07 2
2014-04-08 0
EOD
set timefmt '%Y-%m-%d'
set xdata time
set style data lines
set multiplot layout 3,1
plot $data using 1:2
plot $data using ($1):2
plot $data using (column(1)):2
unset multiplot
You are being misled by the special case that your time format contains no whitespace. In fact neither column(1) nor $1 can be used to read time data in general. That is why there is a separate function timecolumn(1,"format").
To better understand what is happening, try this variant:
Ok, I see, thanks. I was trying to understand the consequences of changing the signature of
timecolumnto require two arguments.It means, that any kind of operation with time data inside
usingcan only be done by giving explicitely the time format.Thanks