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

Home » Public Forums » archive » Re: Secondary axis in NG
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: Secondary axis in NG [message #74420] Mon, 17 January 2011 07:50 Go to previous message
Wout De Nolf is currently offline  Wout De Nolf
Messages: 194
Registered: October 2008
Senior Member
On Mon, 17 Jan 2011 07:44:03 -0800 (PST), alx
<lecacheux.alain@wanadoo.fr> wrote:

> x = FINDGEN(100)
> theta = x/5
> curve = SIN(x/5) / EXP(x/50)
> p1=plot(x,curve, AXIS_STYLE=1)
> p2=plot(x,theta,/
> current,COLOR='ff00'xl,YCOLOR='ff00'xl,YTEXTPOS=1,YLOG=1,
> AXIS_STYLE=0)
> px = axis(TARGET=p2,'Y', LOCATION=[x[-1],theta[0]], /DATA, TEXTPOS=1)

Thanks! For some reason I missed the axis function of NG.
[Message index]
 
Read Message
Read Message
Previous Topic: changing matrix size using interpolation
Next Topic: Re: changing matrix size using interpolation

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

Current Time: Fri Oct 10 06:57:19 PDT 2025

Total time taken to generate the page: 0.56071 seconds