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

Home » Public Forums » archive » Re: 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 #40470] Tue, 10 August 2004 13:28 Go to previous message
David Fanning is currently offline  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/
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Free_lun ALL
Next Topic: Re: Passing Structures with Pointers with Call_External

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

Current Time: Wed Oct 08 16:04:40 PDT 2025

Total time taken to generate the page: 0.00430 seconds