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

Home » Public Forums » archive » 3d polygon mesh for 3 indpendent variables, x,y,z
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 polygon mesh for 3 indpendent variables, x,y,z [message #90636 is a reply to message #90631] Thu, 19 March 2015 11:35 Go to previous messageGo to previous message
Jeremy Bailin is currently offline  Jeremy Bailin
Messages: 618
Registered: April 2008
Senior Member
On Thursday, March 19, 2015 at 6:23:54 AM UTC-4, guni wrote:
> Hi,
> I am a new in IDL. And I need some help.
> I have 3 independent variables. I plotted 3d polygon in MATLAB using 'convhull' and then 'trimesh' precedures. But I have to do in IDL. I already plotted a 3d scatter plot using 'plot3d' and then I go for 'qhull' for the delaunay triangulation. However, I am not able to plot the (bound) polygon mesh in my 3d plot. Or, is this triangulation not the way I should look for?
> If anyone can help how to plot such a 3d-polygon, that will be a nice pleasure.
>
> ---------
> ;3 indpendent variables
> x=randomu(seed,100)
> y=randomu(seed,100)
> z=randomu(seed,100)
> ;3d scatter plot
> p = PLOT3D(x, y, z, 'o' ,/SYM_FILLED,AXIS_STYLE=2,/PERSPECTIVE)
> ;construct 3d triangulation
> qhull,x,y,z,triangle,/delaunay,VDIAGRAM=vdiagram,$ VVERTICES=vvertices,connectivity=connectivity
> ;how to plot the polygon using the returned variables from qhull procedure
> ?
> ----------
>
> Thanks in advance,
> Guni

Maybe you want to use SURFACE instead?

-Jeremy.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Help with data gaps and interpolation
Next Topic: Widget_windows, scrolling and refreshing

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

Current Time: Wed Oct 08 14:07:14 PDT 2025

Total time taken to generate the page: 0.00243 seconds