RE: [ploticus] Problem trying to plot datetime data
- Hello Kevin,
I tried it with mode=line and removed the xrange argument, and my gif result is attached.
It looks like online time is very short intervals, while offline time is quite a bit more, so the result seems reasonable to me.
Feel free to follow up if you wish,
From: email@example.com [firstname.lastname@example.org] On Behalf Of kevin.atwork@... [kevin.atwork@...]
Sent: Tuesday, October 28, 2008 7:19 AM
Subject: [ploticus] Problem trying to plot datetime data
Hi, it has been quite a few years since I last used ploticus, but now
I am back and in full effect!
I am trying to plot downtime information, and this could either be on
a chron chart or just on a line chart.
trying with chron
ploticus -prefab chron data=pdata6 delim='comma' unittype=datetime
datefmt='yyyy-mm-dd.mm:ss' x=1 y='2' stubfmt='MMMdd'
title='availability' color='red' xrange='2008-10-01 2008-10-02'
field 1 = datetime
field 2 = 1 (offline, 0 online)
I want to show on the chart the duration of the time offline as a bar,
the width of which indicates the time offline.
The chart I get back does not match what expect.
I have tried the same thing with a lines chart and that too does not
come out right.
Any suggestions where I am going wrong?
- Hi Steve,
Yes this does seem to do what I need, many thanks.
--- In email@example.com, Stephen Grubb <Stephen.Grubb@...> wrote:
> Hello Kevin,
> I tried it with mode=line and removed the xrange argument, and my
gif result is attached.
> It looks like online time is very short intervals, while offline
time is quite a bit more, so the result seems reasonable to me.
> Feel free to follow up if you wish,