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

Home » Public Forums » archive » Re: Axis range changes.
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: Axis range changes. [message #5378] Wed, 29 November 1995 00:00
surinder is currently offline  surinder
Messages: 4
Registered: July 1995
Junior Member
>
> You need to make sure you give the same scaling bits to the axis call as
> to the plot call (i.e. requests for exact range and extended range)
> otherwise it will get scrambled--I would describe this as an infelicity.
>

How do i give the same scaling bits ?
Also what is a scaling bit ?
How do i ger exact ranges ?
Thanks








> --
> +------------------------+---------------------------------- --+---------+
> | James Tappin, | School of Physics & Space Research | O__ |
> | sjt@star.sr.bham.ac.uk | University of Birmingham | -- \/` |
> | Ph: 0121-414-6462. Fax: 0121-414-3722 | |
> +----------------------------------------------------------- --+---------+
>
>
Re: Axis range changes. [message #5380 is a reply to message #5378] Wed, 29 November 1995 00:00 Go to previous message
sjt is currently offline  sjt
Messages: 72
Registered: November 1993
Member
Surinder P. Singh (surinder@eng.umd.edu) wrote:


: Here is the Problem description:

: I am trying to plot two plots with two
: separate yaxis on the same xaxis.
: I use the following code.

: plot, x, y, ystyle=4, /noerase

: axis,yaxis=0, ytitle=' Electric field (kV/cm) ', chars=1.5

: Now the axis command does not plot the same axis scale.
: Hence the plot and the axis do not match.
: It doesn't always happen, but some times.
: Hard to say when.
: Now why is this happening ? I mean I had always assumed that
: axis will save the axis range and plot it exactly.
: (BTW,I am using other options in plot like xmargin, chars, xtitle, yrange etc.)

: Any help is much appreciated.

: Surinder

You need to make sure you give the same scaling bits to the axis call as
to the plot call (i.e. requests for exact range and extended range)
otherwise it will get scrambled--I would describe this as an infelicity.

--
+------------------------+---------------------------------- --+---------+
| James Tappin, | School of Physics & Space Research | O__ |
| sjt@star.sr.bham.ac.uk | University of Birmingham | -- \/` |
| Ph: 0121-414-6462. Fax: 0121-414-3722 | |
+----------------------------------------------------------- --+---------+
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: mbar in Widget Builder
Next Topic: CALL_EXTERNAL and C global variables

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

Current Time: Wed Oct 08 15:10:07 PDT 2025

Total time taken to generate the page: 0.00535 seconds