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

Home » Public Forums » archive » Time AXIS Monthly Ticks
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Time AXIS Monthly Ticks [message #93184] Mon, 09 May 2016 19:40 Go to previous message
Gompie is currently offline  Gompie
Messages: 76
Registered: August 2012
Member
Hi,
Can anyone help me know why i am getting only 10 tick marks in a year instead of 12 (one for each month) in my plot. I get the position of year right.

I am trying to plot a time series of 39 months starting 1 Jan 2008 ending 1 Mar 2011.
I am using

tstart = JULDAY(1,1,2008,0,0,0)
tend = JULDAY(3,1,2011,0,0,0)
mytime = TIMEGEN(START=tstart, FINAL=tend, UNITS='months')

I then give
p1=ERRORPLOT(mytime, mm, geom,yrange=[-0.1,0.2],XTICKINTERVAL=1,xstyle=1,COLOR = 'red',thick=2.3,xtitle='Years',XTICKFORMAT='(C(CYI4))' ,ytitle='XTSR - XSI (K)',title='11 Micron [XTSR - XSI] K', ERRORBAR_COLOR='red',NAME='XTSR-XSI bias after offset',overplot=0)

However I get 10 tick marks between years instead of the normal 12.
Thanks in advance.
Glan
[Message index]
 
Read Message
Read Message
Previous Topic: appending contents in to a file
Next Topic: What's the meaning of negative fluxes in source photometry?

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

Current Time: Wed Oct 08 09:18:36 PDT 2025

Total time taken to generate the page: 0.00419 seconds