Hello,
I have a question regarding map plotting. I am using coyote library to plot it. I can plot a global contour map but there are some things that I would like to change in the plot.
1) It plots a nice map but there is a white line along zero degree longitude. How can I fill this in?
2) It puts labels on all of the 4 axes and all I need is label on only two axes.
The plotting statement I use is as follows:
cgLoadCT, 33, NColors=nlevels, Bottom=1,Clip=[0, 255]
;cgLoadCT, 33, /Brewer, NColors=10, Bottom=1, /Reverse
position = [0.1, 0.30, 0.8, 0.95]; [0.125, 0.125, 0.9, 0.800]
cbposition = [0.1, 0.25, 0.8, 0.26];[0.125, 0.865, 0.9, 0.895]
; Set up the map projection and overlay the contour plot.
cgMap_Set, POSITION=position
cgContour, anomaly, lon, lat, /overplot, /Cell_Fill, $
C_Colors=Indgen(nlevels)+1, Levels=levels,charsize=0.6,$
title='Precipitation Trend'
Cgtext,0.45,0.99,ALIGNMENT=0.5,/NORMAL,'Precipitation Trend (1996-2009)',$
charsize=0.8
cgMap_Grid, Map=map, /Box,lonlabel=3,latlabel=3,charsize=0.6
cgMap_Continents, Map=map, Color='black'
cgColorbar, Range=[(Min(levels)), (Max(levels))], OOB_High=nlevels, $
NColors=nlevels-1, Bottom=1, /Discrete, $
Title='Trend (mm/day/decade)' , $
POSITION=cbposition,charsize=0.8;[0.88,0.9,0.90,0.8];[x0,y0, x1,y1]
Thanks,
Mahesh
|