Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #1527
| Newsgroups | comp.graphics.apps.gnuplot |
|---|---|
| Date | 2012-12-06 22:51 -0800 |
| Message-ID | <3dae2403-f9f2-42cf-beb0-68d8fb2baffe@googlegroups.com> (permalink) |
| Subject | Trying to plot temperature & humidity |
| From | Erik Zweigle <erikzweigle@gmail.com> |
Hello, I am trying to plot temperature and humidity on the same graph using multiple axes. My data is formatted as so: Date Time Temp °C Relative humidity 2012/12/01 12:42:00 64.5 90 2012/12/01 12:43:00 64.7 91 2012/12/01 12:44:00 64.6 92 My commands are below. But all I get are vertically stacked points. set datafile separator ',' set timefmt "%Y/%m/%d %H:%M:%S" set format x "%T" set xdata time set ytics nomirror set y2tics set ylabel "Temperature (Celsius)" set y2label "Relative Humidity (%)" set key autotitle columnhead plot ["2012/12/01":] "chamber.csv" u 1:3 t "Temperature" axes x1y1 w p,"chamber.csv" u 1:4 axes x1y2 t "Humidity" w p Any hints?
Back to comp.graphics.apps.gnuplot | Previous | Next — Next in thread | Find similar
Trying to plot temperature & humidity Erik Zweigle <erikzweigle@gmail.com> - 2012-12-06 22:51 -0800 Re: Trying to plot temperature & humidity Erik Zweigle <erikzweigle@gmail.com> - 2012-12-07 00:01 -0800 Re: Trying to plot temperature & humidity Karl <mail.kfr@gmx.net> - 2012-12-07 12:52 +0100
csiph-web