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

Home » Public Forums » archive » shading in contour plots
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: shading in contour plots [message #44702 is a reply to message #44648] Wed, 13 July 2005 00:34 Go to previous messageGo to previous message
c.hoyle is currently offline  c.hoyle
Messages: 3
Registered: July 2005
Junior Member
> Offhand, you can try some other approaches, such as something like:
> IDL> shade_surf,sf,shade=bytscl(sf),az=0,ax=90,ztickname=strarr(2 0)+' '
>
> where you may want to fiddle with the byte scaling. If you data is 0 and 1,
> you could just do a "shade = sf*250" or something like that.
> Also, one could use tvimage or tv to plot the image (again with appropriate
> bytscling)
>
> However, if you want to accurately shade every rectangle, you may want to
> polyshade each region by itself (easy for rectangles, more difficult for
> arbitrary
> shapes).
>
> Cheers,
> bob



Good idea, I hadnt thought of that. I think TV will be the best bet.
thanks,
Chris.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: validating user input
Next Topic: Re: BAR_PLOT restricted to 60 element ARRAY??

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

Current Time: Sun Oct 12 16:32:33 PDT 2025

Total time taken to generate the page: 0.01303 seconds