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

Home » Public Forums » archive » Re: x-axis label in plot procedure
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: x-axis label in plot procedure [message #82210] Sun, 02 December 2012 03:41
lecacheux.alain is currently offline  lecacheux.alain
Messages: 325
Registered: January 2008
Senior Member
Le dimanche 2 décembre 2012 01:17:51 UTC+1, justinclouds a écrit :
> This is probably simple for experienced users but not for me!
>
>
>
> I am plotting plots on top of each other. They are all time series and I just want the time x-axis labels displayed in the bottom plot. In the 'plot' procedure, how do I remove the x-axis label (while keeping the x-axis i.e. just removing the time).
>
>
>
> The code looks like this:
>
>
>
> pp1 = PLOT(x, y, 'r', $
>
> xrange=[70000,85000], $
>
> yrange=[1,10000], $
>
> font_size=10, $
>
> POSITION=[.12,.75,.9,.95], $
>
> LINESTYLE = 'solid_line', $
>
> /ylog, $
>
> title = datefninput, $
>
> ;XTITLE = 'Time (UTC)', $
>
> YTITLE = 'Conc (npmg)')

You can access all the properties of your X-axis by using the corresponding 'AXES' children object. For instance:

IDL> (pp1.AXES)[0].TEXT_COLOR='red'

will change the color of the X tick labels to red.
alain.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: fsc_Inputfield feature request
Next Topic: Crashing ROI's

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

Current Time: Wed Oct 08 13:38:48 PDT 2025

Total time taken to generate the page: 0.00465 seconds