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

Home » Public Forums » archive » SCALE3.pro isn't doing it's job
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
SCALE3.pro isn't doing it's job [message #67492] Thu, 30 July 2009 13:53
Brian Daniel is currently offline  Brian Daniel
Messages: 80
Registered: July 2009
Member
I'm using the SCALE3 procedure to initialize the !P.T variable for a
3D scatter plot with the following commands:

xRange = [min(rot_image[0,*]),max(rot_image[0,*])]
yRange = [min(rot_image[1,*]),max(rot_image[1,*])]
zRange = [min(rot_image[2,*]),max(rot_image[2,*])]
print,'X Range:',xRange
print,'Y Range:',yRange
print,'Z Range:',zRange
Scale3,XRange=xRange,$
YRange=yRange,$
ZRange=zRange,$
Ax=45, Az=80

The problem is when I plot the axes using the "AXIS" command, they
plot as if their range is zero (little stubby nubs of an axis). In
fact, the ![XYZ].CRANGE variable is zero, shown here:

X Range: 3.5301928 27.507573
Y Range: -17.029453 11.361599
Z Range: -242.93368 205.39383
!X.CRANGE 0.0000000 0.0000000
!Y.CRANGE 0.0000000 0.0000000
!Z.CRANGE 0.0000000 0.0000000

Where the top set of numbers are my desired ranges and the bottom set
is what Scale3 is giving me. I even tried setting ![XYZ].RANGE, but I
still get the same result. I understand why the axes are nubs, I just
don't know how to fix it. HELP!
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Noerase on Shade_Surf
Next Topic: Re: Noerase on Shade_Surf

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

Current Time: Wed Oct 08 17:34:21 PDT 2025

Total time taken to generate the page: 0.00520 seconds