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

Home » Public Forums » archive » Re: 3D Scatterplot code
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: 3D Scatterplot code [message #46] Sun, 20 January 1991 16:34
churchill is currently offline  churchill
Messages: 5
Registered: January 1991
Junior Member
BSD@psuvm.psu.edu (Scott Dickson) writes:
> Yesterday I posted looking for an X based code to do 3D scatter plots,
> but I want to extend my search somewhat. I am thinking that someone
> must have done this with PV-Wave or with apE, both of which I have.
>
> So, if you have or know of a code or method to do 3D scatter plots under
> X or apE or PV-Wave that can do interactive rotation, translation,
> etc. of the plot, *please* let me know.

Please let me know too. I was about to start to write PV-Wave code to
do interactive rotation of 3D scatter plots. If it has been done
already then I won't re-invent wheels.

--
Jack N. Churchill | jack@syd.deg.csiro.au
CSIRO Division of Exploration Geoscience | churchill@decus.com.au
Remote Sensing Group | Phone: +61 2 887 8884
PO Box 136 North Ryde NSW 2113 | Fax: +61 2 887 8909
Australia | Telex: AA25817
Re: 3D Scatterplot code [message #47 is a reply to message #46] Sat, 19 January 1991 12:59 Go to previous message
plonski is currently offline  plonski
Messages: 7
Registered: February 1991
Junior Member
3D Scatter plots in IDL are easy. I typically use a "surface /nodata ..."
call to set up the t3d matrix based on user specified rotations, scales
etc. Then one can use the "plots /t3d PSYM= ..." command with the x,y,z
values. A simple version of the above would only take two lines of code.
I typically assign different colors to each data set being plotted.
I don't have a way to interactively rotate. For the data set I use,
I wrote a short routine which does the above and then I
call it repeatedly until I get the perspective that looks best.
The code assumes a lot about the data which is passed in structures
so it would not be useful to others.

If anyone has a better way I'd like to know about it as the above method
was my quick & dirty approach to the problem.

------------------------------------------------------------ -------------------
. . .__. The opinions expressed herein are soley
|\./| !__! Michael Plonski those of the author and do not represent
| | | "plonski@aero.org" those of The Aerospace Corporation.
____________________________________________________________ ___________________
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Bug in legend.pro (PV-Wave User's Library)
Next Topic: Fixes for LN03 procedure under VMS

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

Current Time: Sat Oct 11 11:02:18 PDT 2025

Total time taken to generate the page: 0.16145 seconds