Re: Increase longitude extent for Hovmoeller plot

From: Adam Phillips <asphilli_at_nyahnyahspammersnyahnyah>
Date: Mon, 10 Jul 2006 16:45:52 -0600

Hi Dave,

Try this:
dat(:,{:lon1}) = dat@_FillValue
dat(:,{lon2:}) = dat@_FillValue
plot = gsn_csm_hov (wks, dat(:, {lon1-10:lon2+10}), res)

If that doesn't work or if I am misunderstanding your question let me

Dave Allured wrote:
> Hello. I am using gsm_csm_hov to make Hovmoeller diagrams. When I want
> to plot only a portion of the longitude range in the data, I simply use
> coordinate subscripting, and the subset is correctly plotted in the full
> width of the diagram:
> plot = gsn_csm_hov (wks, dat(:, {lon1:lon2}), res)
> However, I would like to to the opposite, in a sense. I want the
> longitude range of my diagram to be *greater* than the available data,
> so that there are blank "all missing" areas to the right and left of the
> range of data. The purpose is matching scales between plots of diverse
> data sets.
> What is the best way to do this? Resources mpMinLonF and mpMaxLonF do
> not seem to be available for gsn_csm_hov.
> Thank you for any advice.
> --Dave A.
> CIRES Climate Diagnostics Center
> NOAA Earth System Research Laboratory, Physical Sciences Division
> _______________________________________________
> ncl-talk mailing list

Adam Phillips			   
National Center for Atmospheric Research   tel: (303) 497-1726
ESSL/CGD/CAS                               fax: (303) 497-1333
P.O. Box 3000				
Boulder, CO 80307-3000
ncl-talk mailing list
Received on Mon Jul 10 2006 - 16:45:52 MDT

This archive was generated by hypermail 2.2.0 : Tue Jul 11 2006 - 08:13:14 MDT