i have a data-file like this:
datafile----
date time y1 y2 y3
22.02.2007 15:51:58 20.72 19.36 21.08 20.69 22.37 20 31.8 32.1 954.7
22.02.2007 15:52:02 20.71 19.36 21.08 20.69 22.36 20 31.8 32.1 954.7
22.02.2007 15:52:06 20.71 19.36 21.08 20.69 22.36 20 31.8 32.1 954.7
----/datafile
i now want to plot a graph with date/time as x-axis and one of the other
y-rows. It works so far so good if i set xrange to a date/time which is
included in the data-file. If i try to set a time, which isn't included i
don't get an empty graph as suggested i get only the message that a y-value
is needed in this timespan.
Can i somehow plot an empty graph with gnuplot where only the time-line as
x-axis is included?
Thanks for help, Christian
I am not sure of whether I have understood your question, but I think
you have to set both the x and y range, if you just want to have an
empty plot. This, e.g., would do that
set xrange [0:1]
set yrange [0:1]
plot 1/0
If you don't force a yrange, gnuplot tries to be smart, and not do the
work:)
Cheers,
Zoltán
I'll try this, thanks :)
Cya, Chrisitan