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

Home » Public Forums » archive » Re: custom 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: custom x axis [message #83939 is a reply to message #83907] Wed, 17 April 2013 16:06 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
TB writes:

>
> I am trying to create a customized axis that goes 9,10,11,12,1,2 (in accordance with September through February the next calendar year). Any suggestions?

IDL> t = timegen(6, start=Julday(9, 15, 2012), units='months')
IDL> void = label_date(date_format='%N')
IDL> cgplot, t, randomu(seed, 6), xtickformat='label_date', $
xstyle=1, xticks=5

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: plot and contour inconsistency
Next Topic: Subscripts with greek symbols

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

Current Time: Fri Oct 10 16:49:50 PDT 2025

Total time taken to generate the page: 1.04088 seconds