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

Home » Public Forums » archive » Re: 4D visualization
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: 4D visualization [message #50414] Mon, 02 October 2006 14:36
greg michael is currently offline  greg michael
Messages: 163
Registered: January 2006
Senior Member
oh yes - or with projection lines, as David shows...
Re: 4D visualization [message #50418 is a reply to message #50414] Mon, 02 October 2006 13:44 Go to previous message
greg michael is currently offline  greg michael
Messages: 163
Registered: January 2006
Senior Member
So do you have a+b+c=const? I think you need that for a ternary plot.
If so, I've got some old (and probably ugly - it was one of the first
things I did with IDL) code I could dig out for you which does this.
Actually, I want to use it again soon, so it might even get renewed.

The problem with a 3D scatter is that you have to animate it to get any
idea what it's showing. Unless you can put some depth effect into it -
maybe fog, or perspective, or a stereo anaglyph (Mike Galloy published
some nice code for that).

Greg
Re: 4D visualization [message #50431 is a reply to message #50418] Mon, 02 October 2006 10:23 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Leslie Welser writes:

> I need to visualize a parameter space that has 4 variables. Example: I
> have vectors a, b, c, d all of the same size. For a given triplicate
> (a[0], b[0], c[0]), the matching value is d[0]. I thought about using
> a modified ternary style plot (a triangle with a,b,and c on the axes)
> and then plotting the 'd' values in different colors, but this appears
> to be difficult with IDL. I was wondering if anyone else has an easier
> way to do this.

A 3D scatterplot would seem to be one easy way to do this:

http://www.dfanning.com/tips/scatter3d.html

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: SKIP_LUN on internet sockets?
Next Topic: Re: 3D triangulation of x,y,z vertices

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

Current Time: Wed Oct 08 15:17:06 PDT 2025

Total time taken to generate the page: 0.04808 seconds