It turns out it was because I defined a new color.
light_gray = NhlNewColor(wks,0.85,0.85,0.85)
So this new color seems to be added in the color table automatically.
After I comment out the above line, the problem is fixed.
Best,
Xiaoming
From: yuanfangcan@hotmail.com
To: ncl-talk@ucar.edu
Date: Tue, 8 Oct 2013 17:06:43 +0000
Subject: blank box at the end of the color bar
I try to draw a contour plot shown below.
You may notice there is an weird box (gray) at the end of the colour bar on the right.
I am using gsn_define_colormap(wks, "BlGrYeOrReVi200") and did not try to modify the color map.
I wonder how the weird box show up. I don't think I met this problem before.
Thanks a lot
Xiaoming
_______________________________________________
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 Tue Oct 8 14:42:04 2013
This archive was generated by hypermail 2.1.8 : Tue Oct 22 2013 - 10:35:27 MDT