|
Re: Plotting versus two x axes [message #77633 is a reply to message #77632] |
Wed, 14 September 2011 14:34  |
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.")
|
|
|