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

Home » Public Forums » archive » Re: Teaching an Elephant to Dance
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: Teaching an Elephant to Dance [message #77578 is a reply to message #77574] Mon, 12 September 2011 12:59 Go to previous messageGo to previous message
lecacheux.alain is currently offline  lecacheux.alain
Messages: 325
Registered: January 2008
Senior Member
On 12 sep, 20:43, David Fanning <n...@dfanning.com> wrote:
> David Fanning writes:
>> Run this program with data defined like this, and you
>> will see what I mean:
>
>>    data = 0.125 > Randomu(-3L,9,9) < 0.875
>
> As I was taking a shower I thought, "I don't know,
> maybe I'm blowin' smoke...". Can someone who CAN
> use the TICKNAME keyword send me a picture of what
> the plot looks like with the data defined like this
> in Mark's latest program?
>
> Please send it to "david" at the usual place.
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.idlcoyote.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

Well, the clever solution given by Mark Piper inspires me two
comments:
1) do not necessarily use /OVERPLOT for overplotting: indeed, here in
NG, the two contour plots will show up correctly by only drawing them
in the current (/CURRENT) window at the same position.
2) the COLORBAR labelling is just a trick since ticknames 0, 0.25, 0.5
etc... are forced at the computed positions 0.0134, 0.2563, etc... A
colorbar routine based on the input of an arbitrary color scale and
without any reference to an underlying image, would be simpler!
alain.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: More Function Graphics Confusion
Next Topic: Re: Trouble exporting vector .eps file from ivolume

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

Current Time: Wed Oct 08 18:03:33 PDT 2025

Total time taken to generate the page: 0.00419 seconds