Received: by 10.66.73.226 with SMTP id o2mr796403pav.12.1354863093748; Thu, 06 Dec 2012 22:51:33 -0800 (PST) Received: by 10.50.220.231 with SMTP id pz7mr1419723igc.8.1354863093669; Thu, 06 Dec 2012 22:51:33 -0800 (PST) Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!kt20no15420970pbb.1!news-out.google.com!s9ni29953pbb.0!nntp.google.com!kr7no14519387pbb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.graphics.apps.gnuplot Date: Thu, 6 Dec 2012 22:51:33 -0800 (PST) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=98.234.174.214; posting-account=KXGM2goAAABCRD2Ngk6bmv3Db6IAfCLl NNTP-Posting-Host: 98.234.174.214 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <3dae2403-f9f2-42cf-beb0-68d8fb2baffe@googlegroups.com> Subject: Trying to plot temperature & humidity From: Erik Zweigle Injection-Date: Fri, 07 Dec 2012 06:51:33 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: csiph.com comp.graphics.apps.gnuplot:1527 Hello, I am trying to plot temperature and humidity on the same graph using multip= le axes. My data is formatted as so: Date Time Temp =B0C 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,"cha= mber.csv" u 1:4 axes x1y2 t "Humidity" w p Any hints?