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

Home » Public Forums » archive » Errorbar plot with max-min boundaries and bar plot with !P.Multi
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: Errorbar plot with max-min boundaries and bar plot with !P.Multi [message #86770 is a reply to message #86760] Mon, 02 December 2013 04:38 Go to previous messageGo to previous message
atmospheric physics is currently offline  atmospheric physics
Messages: 121
Registered: June 2010
Senior Member
Thanks. I figured out the legend placing by using 'al_legend'.

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.


On Sunday, December 1, 2013 9:17:38 PM UTC+1, David Fanning wrote:
> Madhavan Bomidi writes:
>
>
>
>> As per the suggestion by David, I applied the following command from his example:
>
>>
>
>> al_Legend, ['VAR_STDEV', 'VAR_MEAN', 'VAR_MIN', 'VAR_MAX'], PSym=[0,0,0,0], $
>
>> LineStyle=[0,0,2,2], Color=['sky blue','black','blue','blue'], $
>
>> Position=[5,115], /Window
>
>>
>
>> I can't see any legend appearing in my top-panel plot or any where in the display window.
>
>>
>
>> Now can anyone tell me what I am wrong? Am I defining the position wrong?
>
>
>
> Well, I'm thinking you probably want to read the documentation in the
>
> file for what these keywords mean. You certainly don't need the Window
>
> keyword, because you are using a resizeable graphics window. And, it is
>
> exceedingly doubtful that the data coordinates [5, 115] apply to your
>
> particular plot. Since we don't have the data, we can't tell you what
>
> these numbers should be. You will have to look at your plot. :-)
>
>
>
> 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
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: shapefile not in lat/lon
Next Topic: VERT_COLORS Problem

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

Current Time: Wed Oct 08 19:32:49 PDT 2025

Total time taken to generate the page: 0.00253 seconds