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

Home » Public Forums » archive » black window on fsc_surface & fsc_surface_log?
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: black window on fsc_surface & fsc_surface_log? [message #40542 is a reply to message #40472] Thu, 12 August 2004 05:58 Go to previous messageGo to previous message
btt is currently offline  btt
Messages: 345
Registered: December 2000
Senior Member
David Fanning wrote:

>
> Yeah, I've never been able to figure out GRIDDATA either.
> Maybe Mr. Tupper can fill us both in. I do notice that
> the examples RSI provides don't bother with such extravagances
> as the X and Y vectors either. Wonder if there is a reason
> for that. :-)
>
> I guess you could try something like this. Whether
> this is *accurate* or not, I just don't know.
>
> s = Size(griddedData, /Dimensions)
> xx = Scale_Vector(Findgen(s[0]), Min(x), Max(x))
> yy = Scale_Vector(Findgen(s[1]), Min(y), Max(y))
> FSC_Surface, griddedData, xx, yy, Position=[0,1,0,1,0,1]
>
> You might have a look at the DELTA keyword to GRIDDATA, too.
> I thought you were using the equivalent in an earlier try
> with TRIGRID.
>

As I recall, START, DELTA (same as BG's gridSpace) and DIMENSION are all input
keywords to GRIDDATA.

The only thing I would add is to calculate xx and yy with the following...

xx = FINDGEN(dimension[0]) * delta[0] + start[0]
yy = FINDGEN(dimension[1]) * delta[1] + start[1]


As far as the unexpected negatives on the triangulated surface are concerned,
hmmm. I dunno.

Ben
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: It seems that there is *a bit* polymorphism in IDL.
Next Topic: Distance transform / 3d nearest neighbor

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

Current Time: Sun Oct 12 08:02:36 PDT 2025

Total time taken to generate the page: 0.80165 seconds