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

Home » Public Forums » archive » Using POLYGON to plot unstructred mesh
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: Using POLYGON to plot unstructred mesh [message #86287 is a reply to message #86249] Wed, 23 October 2013 04:54 Go to previous messageGo to previous message
Laurent Testut is currently offline  Laurent Testut
Messages: 7
Registered: May 2011
Junior Member
Hi Dick,
Thanks for your reply, specially because the POLYGON is obviously not a sexy subject in this newsgroup :). You clearly understood my needs.

My mesh is a 2D mesh from ADCIRC model (which I was able to visualize )
> oModel = OBJ_NEW('IDLgrModel')
> oPolygon = OBJ_NEW('IDLgrPolygon', vertices, POLYGONS = connectivity, STYLE = 1)
> oPolygon->SetProperty, STYLE=1, thick=1
> oModel->Add, oPolygon
> XOBJVIEW, oModel, /BLOCK, TITLE = 'Original Mesh'

I want now to be able to plot some properties of my model (bathymetry, rugosity, velocity, etc) at each grid node or some properties associate with each triangle (surface, ...). I also want to be able to simply visualize the boundaries with a different color and to plot the polygon segments with a size (km) dependant color scale (each segments has color with depend on his length (in km). As you can see I want to do a lot of things. I was wondering if there is a simple way to associate to my polygon (x,y) and connectivity some additional 'properties/data' (bathy, velocity, ...) which can be easily added to my polygon objects and then plotted.

Thanks for your help,
Laurent
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: (Beginner) issue setting variables using ENVI_FILE_QUERY
Next Topic: Using Y_SCROLL_SIZE and COLUMN=8 on Mac widgets

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

Current Time: Sat Oct 11 14:34:52 PDT 2025

Total time taken to generate the page: 1.04023 seconds