Re: color bar

From: H.Dang <danghy_at_nyahnyahspammersnyahnyah>
Date: Thu Aug 18 2011 - 08:20:46 MDT

sorry, i missed a sentence. I mean the 237th color should be red, but I got
dark purple.

Thanks.

On Thu, Aug 18, 2011 at 10:13 AM, H.Dang <danghy@gmail.com> wrote:

> Good Morning!
>
> I got some new questions about color bar, please see my plot in the
> attachment. I used the following setting:
>
> gsn_define_colormap(wks,"rainbow+white+gray")
> ...
> colors(7:) = ispan(165,237,4)
>
> res@lbBoxLineColor = "white"
> res@lbFillLineThicknessF = "0.8"
> res@lbLabelStride = 5
> res@cnLevels = levels
> res@cnFillColors = colors
>
> My question is: based on the color I choose, the 237th for
> "rainbow+white+gray", but I got deep purple for label >19.5, I've tried 238
> too, the same result.
>
> And how should I do to make the white interval between different colors not
> so wide?
>
> Thank you.
>
> --
> Cordially,
> Hongyan(ΊθΡγ)
> Tel: 1-519-8884567ext36667
>
>
>

-- 
Cordially,
Hongyan(ΊθΡγ)
Tel: 1-519-8884567ext36667

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Aug 18 08:21:14 2011

This archive was generated by hypermail 2.1.8 : Mon Aug 22 2011 - 08:13:37 MDT