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

Home » Public Forums » archive » Turning Axis Labelling Off
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: Turning Axis Labelling Off [message #89788 is a reply to message #89779] Wed, 03 December 2014 10:57 Go to previous messageGo to previous message
Phillip Bitzer is currently offline  Phillip Bitzer
Messages: 223
Registered: June 2006
Senior Member
On Wednesday, December 3, 2014 10:11:08 AM UTC-6, g.na...@gmail.com wrote:
> Hi
>
> I am using the cgimage function to display my images. I draw the axis on top of my images, but I don't want the axis to be labelled. I used the following code
>
> cgimage, Im1, /AXES, AXKeywords={XTicklen:1.0, YTickLen:1.0, axiscolor:'blue', xminor:1, yminor:1, xtickinterval:30, ytickinterval:30}, /SAVE,Position=pos[*,0]
>
> I tried the XTICKFORMAT keyword but is not allowed to the cgimage function.
>
> How can I turn axis labelling off? Can anyone please help with this?

You can do it via the tickname keyword (like Valibhav said) or tickformat.

cgimage, Im1, /AXES, AXKeywords={XTickFormat:'(A1)'}

https://www.idlcoyote.com/tips/axis_label_off.html
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: idl equivalent of Iraf
Next Topic: Filling the frame of a NG plot

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

Current Time: Mon Apr 13 17:59:41 PDT 2026

Total time taken to generate the page: 0.02534 seconds