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


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

Re: Newbie queries

From dolphin <yc282004@yahoo.com.sg>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Newbie queries
Date 2011-09-06 16:09 -0700
Organization http://groups.google.com
Message-ID <35cb014a-dc62-4ba6-9331-b82921b77830@a13g2000yqd.googlegroups.com> (permalink)
References <91cc13d0-3484-46ef-baab-18f7323ff28c@x11g2000prb.googlegroups.com> <9cmc0jFss1U1@mid.dfncis.de>

Show all headers | View raw


On Sep 6, 6:46 pm, Hans-Bernhard Bröker <HBBroe...@t-online.de> wrote:
> On 06.09.2011 11:59, dolphin wrote:
>
> > Time data
> > 00:00:00 123456
> > 00:00:30   7890123
> > :
> > 23:59:59  234567
>
> > Currently, I inserted a new column from 0 with increment of 30 to the
> > end and I plotted the graph with 1:3.
>
> You could have avoided the modification by using pseudo-column 0 instead...
>
> > If I want to use HH:MM:SS to display for x-axis, how to go about it to
> > plot the graph?
>
> See "help time/date"

I tried using the following text file:

01:00:00  310
01:00:30  185
01:01:00  239
01:01:30  132
01:02:00   85
01:02:30   57
01:03:00    8


set xdata time
set timefmt "%H%M%S"
set xrange ["01:00:00":"03:00"00"]
plot "file" using 1:2 with boxes

The result does not show the graph, were did I done wrongly?

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


Thread

Newbie queries dolphin <yc282004@yahoo.com.sg> - 2011-09-06 02:59 -0700
  Re: Newbie queries Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2011-09-06 12:46 +0200
    Re: Newbie queries dolphin <yc282004@yahoo.com.sg> - 2011-09-06 16:09 -0700
      Re: Newbie queries brendan.halpin@ul.ie (Brendan Halpin) - 2011-09-07 00:30 +0100
        Re: Newbie queries dolphin <yc282004@yahoo.com.sg> - 2011-09-06 20:08 -0700

csiph-web