Re: Errorbar plot with max-min boundaries and bar plot with !P.Multi [message #86771 is a reply to message #86770] |
Mon, 02 December 2013 04:52  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Madhavan Bomidi writes:
> I am seeing another issue in terms of XTICKS. While I am using my XRange=[242.1, 242.5], I see the ticks starting from 242.2 till 242.5. Is there a way I can indicate my XTICK values that I am interested on my X-axis? Or am I forgetting some keyword?
>
> date_label = LABEL_DATE(DATE_FORMAT = ['%H:%I'])
>
> cgPlot, xtime, rhum_mean, Title=title, XTitle=xtitle, YTitle=ytitle1, $
> XStyle=1, Position=position1,/NoData, YStyle=1, $
> YRange=[0,100], XRange=[242.1, 242.5],linestyle=0, thick=2, $
> XTICKFORMAT = 'LABEL_DATE'
>
> Thanks.
The cgPlot command is a wrapper for the Plot procedure in IDL. Any
keywords available for the Plot procedure can be used. To directly
specify where you want tick marks placed, for example, you can use the
XTICKV keyword.
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.")
|
|
|