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

Home » Public Forums » archive » Alternate plot scales
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Alternate plot scales [message #13888] Wed, 06 January 1999 00:00 Go to previous message
Brad Gom is currently offline  Brad Gom
Messages: 49
Registered: August 1997
Member
I'm looking for a way to draw a secondary plot scale. The problem is
that I want the second axis scale to be a function of the first.

For example, the lower x-axis is a standard linear scale, and the upper
x-axis is the square of the lower axis. Now the tricky part: I want the
tickmarks for the second axis to occur at regular -numeric- (not
graphical) intervals.

eg. if the lower scale had ticks at [4,5,6,7,8], then it would be
trivial to have the upper axis with the corresponding ticks labeled
[16,25,36,49,64]. What I want is for the ticks on the upper axis to
occur at some interval like [20,25,30,35,40,45,50,55,60] so that their
spacing on the plot gets tighter but the numeric interval is constant.

Thanks
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Special Functions
Next Topic: Re: Layered draw widget?

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

Current Time: Fri Oct 10 10:20:30 PDT 2025

Total time taken to generate the page: 1.12197 seconds