Re: where is the color "transparent"?

From: David Brown <dbrown_at_nyahnyahspammersnyahnyah>
Date: Fri Oct 16 2009 - 04:14:06 MDT

Hi Xuguang,

It looks like you are trying to use "transparent" as part of a color
table definition. "transparent" does not have an rgb value so it
cannot be part of a color table. It is a special color index that is a
assigned the value -1 and is available no matter which color table you
use. You can set any color *index* resource to the value "transparent"
and it should work.
-dave

On Oct 15, 2009, at 10:59 PM, Xuguang Sun wrote:

> Dear everyone,
>
> I tried to use the named color "transparent" listed in the following
> website,
> http://www.ncl.ucar.edu/Document/Graphics/named_colors.shtml
>
> However, there was a warning message,
>
> warning:CvtStringGenArrayToCmap:Unable to find rgb of "transparent",
> using white
>
> It seems that the color "transparent" doesn't exist, why?
>
> Thanks a lot.
>
> Xuguang SUN
>
>
> ___________________________________________________________
> 好玩贺卡等你发,邮箱贺卡全新上线!
> http://card.mail.cn.yahoo.com/
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri, 16 Oct 2009 04:14:06 -0600

This archive was generated by hypermail 2.1.8 : Thu Oct 22 2009 - 12:22:52 MDT