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

Home » Public Forums » archive » EYE property in plot3d
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
EYE property in plot3d [message #85066] Sat, 29 June 2013 04:53 Go to next message
Myles Allen is currently offline  Myles Allen
Messages: 1
Registered: June 2013
Junior Member
Dear IDL experts (which I definitely am not),

I am having trouble adjusting the distance to viewer in the plot3d command. The sequence

t = FINDGEN(4001)/100
x = COS(t)*(1 + t/10)
y = SIN(t)*(1 + t/10)
z = SIN(2*t)

p = PLOT3D(x, y, z, /perspective)

p.eye=10

generates the error message:

% PLOT3D: Unknown property: EYE

Yet on the Excelis web site (http://www.exelisvis.com/docs/PLOT3D.html) I'm told

EYE
A floating-point value that specifies the distance from the eyepoint to the viewplane (Z=0). The default is 4.0. The eyepoint is always centered within the viewplane rectangle. IDL converts, maintains, and returns this data as double-precision floating-point.

I'm running 8.0.1 on a Mac, but there is no version of EYE in the Version History.

Has anyone else come across this problem? Is is just that I need to upgrade to 8.2?

Thanks very much for any help,

Myles
Re: EYE property in plot3d [message #85067 is a reply to message #85066] Sun, 30 June 2013 12:29 Go to previous messageGo to next message
Phillip Bitzer is currently offline  Phillip Bitzer
Messages: 223
Registered: June 2006
Senior Member
Works for me in 8.2.2:

IDL> print, !version
{ x86_64 darwin unix Mac OS X 8.2.2 Jan 23 2013 64 64}
Re: EYE property in plot3d [message #85071 is a reply to message #85066] Mon, 01 July 2013 08:14 Go to previous message
Mark Piper is currently offline  Mark Piper
Messages: 198
Registered: December 2009
Senior Member
On Saturday, June 29, 2013 5:53:56 AM UTC-6, Myles Allen wrote:
>
> I'm running 8.0.1 on a Mac, but there is no version of EYE in the Version History.
>

Hi Myles,

We added the EYE property in 8.2.2. I see that it isn't listed in the version history, though; I'll make sure this gets fixed.

mp
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: pass parameters to a function when calling BROYDEN or NEWTON routines
Next Topic: Creating machine-specific, licensed IDL software

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

Current Time: Wed Oct 08 09:18:05 PDT 2025

Total time taken to generate the page: 0.00315 seconds