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

Home » Public Forums » archive » Re: From tvscale to cgImage, puzzling feature in the plot
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: From tvscale to cgImage, puzzling feature in the plot [message #83428] Thu, 07 March 2013 07:44 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Gurdulu' writes:

> David, it turns out that you were right on multiple levels: there was some code that I didn't show and actually created the problem, right after the plot:
>
> XYOUTS, p[0]+0.13, p[3]-0.08, vel, charthick=1.,charsize=2, Font = -1, /normal, color = cgColor('white')
>
> I suppose that the way I chose the color messes up something. There is a solution specific to this problem? I mean, other than doing what you already suggested above - which works - can I just chose the color in another way that doesn't create the problem?

Sure.

cgText, p[0]+0.13, p[3]-0.08, vel, charthick=1.,charsize=2, $
Font = -1, /normal, color = 'white'

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: CALL_EXTERNAL
Next Topic: From tvscale to cgImage, puzzling feature in the plot

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

Current Time: Wed Oct 08 14:32:50 PDT 2025

Total time taken to generate the page: 0.00395 seconds