Re: subregion plot

From: Julie Arblaster <jma_at_nyahnyahspammersnyahnyah>
Date: Mon, 28 Nov 2005 19:58:36 -0700 (MST)

Hi Chao,

To turn off the contour lines you need to set the resource

res_at_cnLinesOn = False

There are a number of color tables outlined at
http://www.ncl.ucar.edu/Document/Graphics/color_table_gallery.shtml
that use white for the center contours. See the "White in
the Middle Colormaps" towards the bottom of the page. For a
difference the "BlWhRe" colormap might be a good choice.

More information can be found at
http://www.ncl.ucar.edu/Applications/color.shtml which has
some good examples of using color tables.

Good luck!

Julie

On Mon, 28 Nov 2005, Chao Luo wrote:

> Hi,
>
> I want to make a plot for subregion (lat: 30N-40N, and lon: 80E-100E)
> with global T42 netcdf file.
> Now the plot contains contour will color fill . I just want to color,
> not with contour line, what should I do? Since the plot shows up
> difference, I want the white to appear the center of the bar. What color
> bar should I use?
>
> Thanks very much!
>
> Chao
>
>
> Following is part of script I used.
>
>
> res_at_gsnDraw = False
> res_at_gsnFrame = False
> res_at_cnInfoLabelOn = False
> res_at_lbLabelBarOn = False
> ;res_at_cnFillOn = True
> res_at_mpLimitMode = "LatLon"
> res_at_mpMinLonF = 80
> res_at_mpMaxLonF = 100
> res_at_mpMinLatF = 30
> res_at_mpMaxLatF = 40
> res_at_mpPerimOn = True
> res_at_mpCenterLonF =90
> res_at_mpCenterLatF = 35
> res_at_lbAutoManage = False
> res_at_lbLabelAngleF = 90.0
>
> res_at_gsnSpreadColors = True
> res_at_gsnSpreadColorStart = 2
> res_at_gsnSpreadColorEnd = -3
> res_at_lbLabelFontHeightF = 0.015
> res_at_tiMainFontHeightF = .018
>
> res_at_cnMinLevelValF = -0.2
> res_at_cnMaxLevelValF = 0.2
> res_at_cnLevelSpacingF = 0.02
>
> plot(0) = gsn_csm_contour_map(wks_id,diff,res)
>
>
>
>
>
>
>
> _______________________________________________
> 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 Mon Nov 28 2005 - 19:58:36 MST

This archive was generated by hypermail 2.2.0 : Tue Nov 29 2005 - 07:37:43 MST