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

Home » Public Forums » archive » Re: 3D plot with correct aspect ratio
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: 3D plot with correct aspect ratio [message #32296 is a reply to message #32289] Thu, 26 September 2002 08:49 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Kristian =?iso-8859-1?Q?Kj=E6r?= (Kristian.Kjaer@Risoe.DK) writes:

> I set up a 3D coordinate system and a projection with
>
>
> range=3D[-7.,7] & az=3D40 & ax=3D35 ;, say
> surface,dist(4),/nodata,/save,xran=3Drange,yran=3Drange,zran =3Drange,$
> ax=3Dax, az=3Daz, $
> xstyle=3D1+4,ystyle=3D1+4,zstyle=3D1+4
>
>
> and then I plot in it with plotS.
> The x, y and z axes are equivalent and in the same units, =
>
> (say, meters) so I want the resulting postscript to be a =
>
> true projection (with a known scale factor) of this 3D field.
> How do I achieve that?

I don't know the answer to this, exactly, without doing
some research, but I *do* know the answer is NOT to
pursue this any further with direct graphics. Direct
graphics uses as 2.5D graphic representation (you notice
the Z axis is always vertical no matter what rotations you
do). I think the only way to make this happen is to use
a true 3D graphics system, which in IDL exists only in
the object graphics system.

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: volume rendering in IDLgrVolume
Next Topic: Namespaces (redux)

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

Current Time: Fri Oct 10 23:23:00 PDT 2025

Total time taken to generate the page: 0.47937 seconds