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

Home » Public Forums » archive » Plot with X-Axis ticks as string
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: Plot with X-Axis ticks as string [message #92642 is a reply to message #92622] Sun, 31 January 2016 01:44 Go to previous messageGo to previous message
Kai Heckel is currently offline  Kai Heckel
Messages: 51
Registered: April 2015
Member
Am Dienstag, 26. Januar 2016 13:58:30 UTC+1 schrieb Kai:
> Hello everyone!
>
> I'd like to plot monthly values of a parameter. The months go from Arpil to November. How can I implement ticks at the x-axis which are simple strings, e.g. 'Apr', 'May' .....
>
> So I plotted something and I tried to add a fitted x-axis to the plot as follows:
>
> myplot_c1 = PLOT(parameters, NAME='Cluster',COLOR='red',XTEXT_COLOR='white', YSTYLE=2, XSTYLE=3, YTITLE='Parameter',MIN_VALUE=-1, MAX_VALUE=1, XTICKINTERVAL=1,YRANGE=[0.15,0.5])
>
> xax = AXIS('X',LOCATION=[0,0.15],TICKVALUES=['Mar','Apr','May','Ju n','Jul','Aug','Sep','Oct'], MINOR=1, MAJOR=-1, TICKLEN=0.015,TICKFONT_SIZE=11,TICKINTERVAL=1)
>
> Somehow the monthly ticks just won't appear.
>
> Any suggestions?
>
> Cheers,
> Kai

Does no one have any suggestions?

Regards,
Kai
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: assigning integer and string value to same variable one by one
Next Topic: Nice bridges

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

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

Total time taken to generate the page: 0.00403 seconds