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

Home » Public Forums » archive » Re: Surface/shade_surf problem on IDL 7.1 / Lion OS ??
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: Surface/shade_surf problem on IDL 7.1 / Lion OS ?? [message #81712 is a reply to message #81710] Mon, 15 October 2012 15:29 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Steve writes:

> I have a 2 D array (map) that I want to plot via "surface". All was going smooth till as a
sudden, the plot became grey. It just plots in Grey regardless of what I do. The color table
was loaded (confirmed via colorbar & xpalette), but the "surface" or "shade_surf" or
"fsc_surface" gives grey fill output. Its driving me nuts. Does anyone know of a way to reset
IDL cash or something (used to delete the .idl in Windows systems).
>
> Even this simple code comes out in grey...
>
> loadct, 3
> Z = shift(dist(40), 20, 20)
> Z = exp(-(Z/10)^2)
> surface, z

Don't know. These commands result in a red-temperature
surface for me:

loadct, 3
Z = shift(dist(40), 20, 20)
Z = exp(-(Z/10)^2)
cgshade_surf, z

Let's see what the result of a Help, /Device command is.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thue. ("Perhaps thos speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: cd to nonexistent directory and up again
Next Topic: Mean preserving interpolation (conservative interpolation)

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

Current Time: Sun Nov 30 11:36:59 PST 2025

Total time taken to generate the page: 0.56159 seconds