comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: label x axis
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: label x axis [message #56103 is a reply to message #56101] Wed, 03 October 2007 07:33 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
queiny writes:

> I have an hourly dataset for one year. The time is recorded as
> 2004.xxxxx, where 'xxxxx' goes from 0 - 1, represent the portion of
> that hour in the year. For example, 0.5 will be July 2, 00:00am (since
> it is a leap year). But when this time is used as x axis, it is not
> very clear when it is: 2004.2, 2004.4, etc. Is there a way to label
> the x axis with Jan. 2004, April 2004, etc. And if I only plot the
> data for one month, it can lable, July 1st, 11th, 21th, etc.
>
> Do I have to calculate them using 'xtickv', 'xtickn'? Or there are
> some existing pro.

Why don't you write one and call it with XTICKFORMAT:

http://www.dfanning.com/tips/exponents.html

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: edit a large dataset
Next Topic: Re: edit a large dataset

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Mon Dec 01 16:23:07 PST 2025

Total time taken to generate the page: 3.92912 seconds