Re: new graphics error message [_IDLITCONTAINER::SETPROPERTY] [message #79365] |
Thu, 23 February 2012 21:22  |
bjkuk
Messages: 16 Registered: July 2010
|
Junior Member |
|
|
On 2월24일, 오후2시12분, David Fanning <n...@idlcoyote.com> wrote:
> 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.")
Thanks for your clear answer.
it is very usefull for me. Thanks again
Regards
|
|
|