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

Home » Public Forums » archive » Re: Plotting versus two x axes
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: Plotting versus two x axes [message #77632] Wed, 14 September 2011 14:39
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

> Here is an example (that badly needs to be updated to
> Coyote Graphics!):
>
> http://www.idlcoyote.com/graphics_tips/wavenumber.html

I should mention, because you want to plot (oplot, actually)
on the second axis, that will also require a SAVE keyword
on the AXIS command to make that the axis used for the
second data set.

Here is another article that is relevant:

http://www.idlcoyote.com/tips/another_yaxis.html

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: Plotting versus two x axes [message #77633 is a reply to message #77632] Wed, 14 September 2011 14:34 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
DAVIDE LENA writes:

> I think I am stuck with a classical problem, but I can't find a
> solution: I have a set of values that I wish to plot versus two
> different independent variables, so that I wish to have a bottom and
> top x-axis showing the two independent variables. I tried using
> "AXIS, XAXIS=1, ..." but I can't get it working.
>
> In gnuplot words I'am trying to do something like:
> plot 'file.dat' u 3:xtic(1), 'file.dat' u 3:x2tic(2).

Here is an example (that badly needs to be updated to
Coyote Graphics!):

http://www.idlcoyote.com/graphics_tips/wavenumber.html

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Plotting versus two x axes
Next Topic: Re: TICKNAME Crash Problem Solved!

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

Current Time: Wed Oct 08 15:31:54 PDT 2025

Total time taken to generate the page: 0.00450 seconds