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

Home » Public Forums » archive » Re: Significant Update of cgImage
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: Significant Update of cgImage [message #78626 is a reply to message #78625] Mon, 05 December 2011 04:18 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Fabzou writes:

> It is cgColor that has a bug, not cgContour. I just replaced line 589:
>
> IF StrUpCase(theColor) EQ 'USERDEF'
>
> by
>
> IF (StrUpCase(theColor))[0] EQ 'USERDEF'
>
> and all my tests seem to work now.

Right. It probably should be changed to this:

IF N_Elements(usercolor) NE 0 THEN BEGIN

Fixed now. Thanks.

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.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: faster convol on local subsets?
Next Topic: Re: Removing Graphics from IDL 8.1 Window

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

Current Time: Sun Oct 12 03:37:53 PDT 2025

Total time taken to generate the page: 0.47855 seconds