NCL graphics are based on are GKS standard.
Each workstation has one color map associated with it.
The default color map does not have any of the colors
you specified. Hence, you do not get the reqiested colors.
http://www.ncl.ucar.edu/Applications/color.shtml
See Example 4
Good luck
lxf wrote:
> Hi,
> Today, I can't get "DarkGreen" "SeaGreen" and "SpringGreen4" when I draw color pictures.
> To simplify my question, I use the following scripts and can't see the color as in http://www.ncl.ucar.edu/Document/Graphics/named_colors.shtml :
>
> ;========================================================
> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"
> load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"
>
> begin
> x = ispan(1,100,1)*1.
> y = 50*cos(x*2*3.1415926/30.)
>
> wks = gsn_open_wks("x11","xy") ; Open an ps workstation.
> res = True
> res_at_gsnYRefLine = 20
>
> ;res_at_gsnAboveYRefLineColor = "SeaGreen"
> res_at_gsnAboveYRefLineColor = "DarkGreen"
> ;res_at_gsnAboveYRefLineColor = "SpringGreen4"
>
> plot = gsn_csm_xy(wks,x,y,res)
> end
> ;========================================================
>
> Can someone hlep me?
>
> Best regards,
> Li
> 2007-11-22
>
>
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Nov 22 2007 - 08:49:09 MST
This archive was generated by hypermail 2.2.0 : Sun Nov 25 2007 - 07:21:25 MST