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

Home » Public Forums » archive » Re: new graphics error message [_IDLITCONTAINER::SETPROPERTY]
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: new graphics error message [_IDLITCONTAINER::SETPROPERTY] [message #79366 is a reply to message #79365] Thu, 23 February 2012 21:12 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
bjkuk writes:

> I have deleted IDL81 and lib directory and then re-install IDL81 from
> a DVD.
> Then I can use new graphics without any problem.
> However I have problem when I use fsc_color.pro in new direct graphics
> Do you have any idea to resolve this problem?

Well, I would say don't use FSC_Color. For two reasons.
First, it's very old and has been replaced by cgColor.
Second, it's not really doing you any good. The
Function graphics commands are pretty good when it comes
to dealing with color. You should use the methods
they provide for specifying colors. If you want to
use cgColor, set the Triple and Row keywords when you specify
the color:

p = plot(x, y, color=cgcolor('olive', /Triple, /Row))

But, as I say, it is MUCH easier to just do this:

p = plot(x, y, color='olive')

If you grow tired of waiting for Function Graphics commands (it's
possible!), you can do the same thing with Coyote Graphics
commands, if you update your Coyote Library:

cgPlot, x, y, color='olive', /Window

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
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Name of arrays
Next Topic: Re: Map_set - reg

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

Current Time: Fri Oct 10 00:04:33 PDT 2025

Total time taken to generate the page: 2.00421 seconds