Re: black window on fsc_surface & fsc_surface_log? [message #40470] |
Tue, 10 August 2004 13:28  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
BG writes:
> I would like to view the above surface plot using fsc_surface or
> fsc_surface_log instead of just using "surface", but all I get is a
> black screen when I try either of the following commands:
>
> fsc_surface, griddedData, xvector, yvector
> fsc_surface_log, griddedData, xvector, yvector
>
> So... in the above commands, is it correct to use the "griddedData"
> array as the 2d data array called by fsc_surface and fsc_surface_log??
Oh, probably. But FSC_SURFACE is trying to do something
clever (oh, I don't know why!) and may be having some
problems with "weird" data. Before I ruin the rest of
my day by asking for your data, try this:
fsc_surface, griddedData, xvector, yvector, $
position=[0,1,0,1,0,1]
Does anything show up now?
> btw, The 2D array, "griddedData" has lots of negative numbers? why is
> that, since none of my data are negative??? Is there a connection
> between black screen as output of fsc_surface and negative numbers?
I hope not. But sometimes this method of gridding can
be a bit of a disappointment. Have you tried GridData
as an alternative?
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|