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

Home » Public Forums » archive » Axis Labels
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: Axis Labels [message #87051 is a reply to message #87050] Mon, 30 December 2013 22:18 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Gompie writes:

> I am trying to plot using the command
>
> cgplot,scan,r_mean,yrange=[-0.7,0.3],xrange=[-50,50], title=TTITLE,BACKGROUND = 255, YTITLE=textlabel,XTITLE='IASI SCAN ANGLE (deg)',COLOR = 3,symsize=1.5, thick=2.3,min_value=-50,FONT =1,CHARSIZE=2.7,xstyle=0
>
> I want my xaxis labels to start with -50 with interval of 10 and end with 50.
>
> But using xstyle=1 does force my plot to -50,50 by the labels are only displayed -40 to 40 with plot extending beyong -40 and 40.
>
> When I use xstyle=0 the plot goes from -60 to 60.

Add XTICKS=10.

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
Previous Topic: Can't suppress 0 on AXIS call
Next Topic: Unexplained Object Graphics cursor offset on Windows7

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

Current Time: Sat Oct 11 00:03:31 PDT 2025

Total time taken to generate the page: 0.96181 seconds