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

Home » Public Forums » archive » PLOYY plot
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: PLOYY plot [message #61119 is a reply to message #60976] Wed, 02 July 2008 08:08 Go to previous message
d.poreh is currently offline  d.poreh
Messages: 406
Registered: October 2007
Senior Member
On Jul 2, 4:44 pm, Spon <christoph.b...@gmail.com> wrote:
> On Jul 2, 2:23 pm, d.po...@gmail.com wrote:
>
>
>
>> On Jul 2, 2:15 pm, Brian Larsen <balar...@gmail.com> wrote:
>
>>> Does this work?
>
>>> http://www.dfanning.com/tips/another_yaxis.html
>
>>> Try using that site for all you IDL needs, it is a great first (and
>>> last) stop.
>
>>> Cheers,
>
>>> Brian
>
>>> ------------------------------------------------------------ --------------
>>> Brian Larsen
>>> Boston University
>>> Center for Space Physicshttp://people.bu.edu/balarsen/Home/IDL
>
>> Hi Brian
>> I saw that before no it is not what I need. In that image x is same
>> for both y. I want to inter another x (in the top of box) that y=f(x)
>> is for right and top.
>> Cheers
>
> You have to call AXIS twice, once for each new axis you require.
> To extend David's example:
>
>    x = FINDGEN(100)
>    theta = x/5
>    curve = SIN(x/5) / EXP(x/50)
>    PLOT, curve, YSTYLE=8
>    AXIS, YAXIS=1, YLOG=1, YRANGE=[0.1, 100], /SAVE
>    AXIS, XAXIS=1, XRANGE =[0, 200], /SAVE
>    OPLOT, [theta, REVERSE(theta)]
>
> If you have the same problem as I do with overlayed axes disappearing
> you could get around it by setting YTHICK = 2 & XTHICK = 2 in your
> respective AXIS calls; but this might be a platform-dependent problem
> that doesn't affect you.
>
> Regards,
> Chris

no

what you had done is just put y1=f(x)&y2=f(x) in a same figure in need
somthing like this:
https://www.rsg.tu-freiberg.de/twiki/pub/Main/DavodPoreh/as. pdf
that means plotting y1=f(x1) & y2=f(x2) in diffrent axis format as you
can see.
cheers
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Two new IDL 7.0 updates are now available
Next Topic: Re: Itools export data

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

Current Time: Thu Oct 09 16:50:38 PDT 2025

Total time taken to generate the page: 0.96165 seconds