I am attempting to plot wind speed along the y1 axis and
temperature along the y2 axis. The x axis is time/date.
My code is the following:
set output 'chwx.gif'
set terminal gif
set ytics nomirror
set rmargin 5
set xdata time
set timefmt "%m/%d/%y %H:%M"
set size 1,.8
set autoscale y
set format x "%H\n%m/%d"
set xrange ["11/25/99 00:00":"11/27/99 23:59"]
plot 'data.txt' using 1:4 axes x1y1 with lines
set y2tics nomirror
set title "Wind and Temperature"
plot 'knight_data.txt' using 1:3 axes x1y2 with lines lt 2
Each batch of data seems to be plotted against the y-scale
that is requested (wind goes from 0-18 and temperature from
50-70. However, the problem is that the second plot is not
placed correctly. It is a bit down and to the left of the
first plot. I want the ploting area overlayed perfectly.
Any idea of what I am doing wrong.
* Sent from AltaVista http://www.altavista.com Where you can also find related Web Pages, Images, Audios, Videos, News, and Shopping. Smart is Beautiful