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

Home » Public Forums » archive » Bug in PV Wave plot_oo?
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
Bug in PV Wave plot_oo? [message #3772] Fri, 10 March 1995 09:37
jeyadev is currently offline  jeyadev
Messages: 78
Registered: February 1995
Member
I believe that I have come across what seems to be a bug in the
PLOT_OO routine of PV Wave. I wish to plot the data set

0.49289D+01 0.90121D-01
0.47028D+01 0.93729D-01
0.44767D+01 0.96606D-01
0.42505D+01 0.98834D-01
0.40244D+01 0.10047D+00
0.37983D+01 0.10155D+00
0.35722D+01 0.10209D+00
0.33460D+01 0.10212D+00
0.31199D+01 0.10162D+00
0.28938D+01 0.10059D+00
0.26677D+01 0.99012D-01
0.24416D+01 0.96842D-01
0.22154D+01 0.94028D-01
0.19893D+01 0.90493D-01
0.17632D+01 0.86121D-01
0.15371D+01 0.80738D-01
0.13109D+01 0.74068D-01
0.10848D+01 0.65625D-01
0.85868D+00 0.54413D-01
0.63256D+00 0.37578D-01
0.40644D+00 0.69207D-04

with 'x' being the first column and the 'y' the second. The catch is
that I would like the y axis to be restricted to the range [0.03, 0.3].
So I issue the command

plot_oo, x, y, xrange = [1,100], yrange = [0.03, 0.3]

and what I get is a plot with the y axis ticks being completely messed
up, but for the tick at 0.1. Messing around, I discovered that Wave
seems to have a problem in locating the tick marks correctly if one
complete decade starting or ending at a power of 10 is not used for
the range. I would guess that this is a well known problem. Does anyone
know of a workaround?

An associated problem is the following. When yrange is set to [0.1,0.3]
for the *same* data, there is, as expected, one tick along the y axis
at 0.2. But the label at the upper end of the y axis is messed up. It
reads 1.0 instead of 0.3. Again, I would guess that this is a well
known effect. Any simple workarounds?
--

Surendar Jeyadev jeyadev@wrc.xerox.com
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: ROUTINE_NAMES
Next Topic: diagrami: Simple Diagrammer for IDL & PV-Wave Language Programs--bug fix

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

Current Time: Mon Dec 01 06:20:41 PST 2025

Total time taken to generate the page: 1.35520 seconds