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

Home » Public Forums » archive » Tri_Surf Help
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
Tri_Surf Help [message #66203] Tue, 21 April 2009 15:55
plim.dreaming is currently offline  plim.dreaming
Messages: 22
Registered: February 2008
Junior Member
Greetings Avid IDL'ers,
I'm having a very frustrating issue with Tri_Surf, the program used to
fit a smooth surface to a set of regularly or irregularly points.

I obtain the surface:
smoothN = 100
surface = tri_surf(rho,x,y,nx=smoothN,ny=smoothN,/linear)

then i set some coordinates for the output:
smoothx - findgen(smoothN)*(ABS(max(x) - min(x)) / (smoothN-1)
likewise for smoothy

then I contour plot these:
contour, surface, smoothx, smoothy

The difficulty I am having is in being able to overplot the same
points used to create the surface, because these no longer match up
with the location of the contour levels.
I actually compare the contour of the surface to a contour plot made
simply using
contour, rho, x, y, triangulation=tri

and I can see that the smoothed surface is not to the same scale and
doesn't line up, the plots don't match up. It looks like the smoothed
surface has been stretched in x and y relative to where the original
points show up.

I'm floundering here, any ideas would be sooo helpful!
P
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: DEM Volume (voxel_proj)
Next Topic: correlation images please help!

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

Current Time: Fri Oct 10 12:06:23 PDT 2025

Total time taken to generate the page: 0.51407 seconds