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

Home » Public Forums » archive » secondary Y axis
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
secondary Y axis [message #93397] Mon, 04 July 2016 06:18 Go to next message
markb77 is currently offline  markb77
Messages: 217
Registered: July 2006
Senior Member
I am doing some basic plotting using function graphics. After reading the IDL help and various posts in this newsgroup, I still cannot figure out how to overplot data on an existing plot, using a secondary Y axis with a different range and label than the primary Y axis.

Bottom line, I may eventually figure this out, but it shouldn't be this hard. It is WAY too complicated, for something that should be so simple. One previous post in this group is somewhat helpful..:

http://groups.google.com/forum/#!topic/comp.lang.idl-pvwave/ jto3eWjPGCI

but it is only getting me part-way to a solution (the labels are not showing on the second axis, etc).

Mark
Re: secondary Y axis [message #93399 is a reply to message #93397] Mon, 04 July 2016 14:42 Go to previous messageGo to next message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
The seventh plot in the Coyote gallery titled "Additional Axes Plot" shows how to do this for both Function graphics and Coyote Graphics.

http://www.idlcoyote.com/gallery/

Is this what you want? --Wayne

On Monday, July 4, 2016 at 9:18:52 AM UTC-4, superchromix wrote:
> I am doing some basic plotting using function graphics. After reading the IDL help and various posts in this newsgroup, I still cannot figure out how to overplot data on an existing plot, using a secondary Y axis with a different range and label than the primary Y axis.
>
> Bottom line, I may eventually figure this out, but it shouldn't be this hard. It is WAY too complicated, for something that should be so simple. One previous post in this group is somewhat helpful..:
>
> http://groups.google.com/forum/#!topic/comp.lang.idl-pvwave/ jto3eWjPGCI
>
> but it is only getting me part-way to a solution (the labels are not showing on the second axis, etc).
>
> Mark
Re: secondary Y axis [message #93402 is a reply to message #93399] Tue, 05 July 2016 00:18 Go to previous message
markb77 is currently offline  markb77
Messages: 217
Registered: July 2006
Senior Member
Thanks - that's helpful.
Mark
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: dominant wavelength from an XYZ colour stimulus
Next Topic: Extracting a sub-cube from a cube

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

Current Time: Wed Oct 08 09:15:35 PDT 2025

Total time taken to generate the page: 0.00614 seconds