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

Home » Public Forums » archive » Plotting time
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: Plotting time [message #46560 is a reply to message #46515] Tue, 29 November 2005 10:37 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
clivecook59@gmail.com writes:

> Here's the code for the x-axis,
>
> dummy = LABEL_DATE(DATE_FORMAT=['%H:%I'])
> xrange1 = [julday(10,1,2005,5,0,0),julday(10,1,2005,10,0,0)]
>
> xAxis1a = Obj_New("IDLgrAxis",0,Color=[0,0,0],Ticklen=0.025,$
> Range=xrange1,title=xtitle1,Location=[position2(0),position2 (1)],$
> /Exact,tickunits='time',TICKFORMAT ='LABEL_DATE')
>
> xAxis1a->GetProperty, Ticktext=xAxisText
> xAxisText->SetProperty, Font=helvetica10pt
>
> I would assue that this should give me an axis from 5:00 to 10:00
> however i get nothing

Humm. Well, I get *something*, but it is clearly not right.
In my example, using your axis range, tickunits, and tickformat,
I can see just a portion of the axis. The rest is off to the
left of my view somewhere. So, it appears that it cannot be
positioned and scaled like other axes. I would guess bug
at this point. Maybe we could get someone at RSI to respond.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Utilizing Identifiers in iTools
Next Topic: IDL T-Shirt Makes You Feel Like a Rock Star

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

Current Time: Wed Oct 08 20:04:48 PDT 2025

Total time taken to generate the page: 0.02335 seconds