Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #3227

X-axis display!

X-Received by 10.13.219.80 with SMTP id d77mr22709649ywe.39.1455258206682; Thu, 11 Feb 2016 22:23:26 -0800 (PST)
X-Received by 10.182.230.164 with SMTP id sz4mr408737obc.3.1455258206593; Thu, 11 Feb 2016 22:23:26 -0800 (PST)
Path csiph.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!w104no514299qge.1!news-out.google.com!l1ni10727igd.0!nntp.google.com!ok5no936199igc.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.graphics.apps.gnuplot
Date Thu, 11 Feb 2016 22:23:26 -0800 (PST)
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=1.22.234.98; posting-account=2OlxewoAAADMrOnYpEnVaVsmulHIwM1I
NNTP-Posting-Host 1.22.234.98
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <1e9ccb7d-a448-43e0-9afe-85b435c77042@googlegroups.com> (permalink)
Subject X-axis display!
From kunrooney@gmail.com
Injection-Date Fri, 12 Feb 2016 06:23:26 +0000
Content-Type text/plain; charset=ISO-8859-1
Lines 32
Xref csiph.com comp.graphics.apps.gnuplot:3227

Show key headers only | View raw


My two files are:
0.4 95.1 
0.8 94.9 
1.2 92.2 
1.6 91.6 
2.0 89.7 

0.4 111.8 
0.8 110.9 
1.2 108.2 
1.6 105.6 
2.0 104.7 

My gnuplot code is 
set terminal png
set output 'test.png'
set timefmt "%S"
set key top left
set xdata time
set format x "%f"
set autoscale
set format y "%.f"
set xr [0.4:2.0]
set yr [85:115]
set grid
set style data linespoints

plot  "1.txt" using 1:2 lw 1.5 pt 3 title 'Sample1',\
                "2.txt" using 1:2 lw 1.5 pt 4 title 'Sample2',\


The y-axis is fine but on x-axis i am getting display like this:
00:00 00:00 00:01 instead of 0.4, 0.8, 1.2 etc.

Back to comp.graphics.apps.gnuplot | Previous | NextNext in thread | Find similar


Thread

X-axis display! kunrooney@gmail.com - 2016-02-11 22:23 -0800
  Re: X-axis display! Jörg Buchholz <bookwood4new@freenet.de> - 2016-02-12 08:33 +0100
    Re: X-axis display! Kaustubh Nabar <kunrooney@gmail.com> - 2016-02-11 23:43 -0800
      Re: X-axis display! Kaustubh Nabar <kunrooney@gmail.com> - 2016-02-11 23:54 -0800
  Re: X-axis display! Karl Ratzsch <mail.kfr@gmx.net> - 2016-02-12 08:38 +0100

csiph-web