Re: contour problem

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Mon May 07 2012 - 09:16:45 MDT

Hi,

You are using "gsn_contour", which is a generic contouring routine that doesn't look for coordinate arrays attached to your data.

You either need to use gsn_csm_contour instead, which will look for coordinate arrays, or, you need to add the following two lines:

plot_res@sfYArray = z1
plot_res@sfXArray = temp

--Mary

On May 6, 2012, at 7:14 AM, ahmed lasheen wrote:

> Hello
> I have a problem in plotting temperature field on scale certain x and y axis that differ from the index scale
> of the temperature field itself. .
> when I plot it , i found that the x and y axis change automatically to the index , how can i solve that?
> I have attached output image without plotting temperature and other with plotting the temperature.
> I have also attached the code
> thanks in advance
>
> --
> ===============
> Ahmed Lasheen
> Junior researcher at Cairo Numerical Weather Prediction Center (CNWPC)
> Egyptian Meteorological Authority(EMA)
> Cairo,Egypt
> ===============
>
> <without_temp.png><with_temp.png><exp1.ncl>_______________________________________________
> 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 Mon May 7 09:16:53 2012

This archive was generated by hypermail 2.1.8 : Thu May 10 2012 - 16:57:50 MDT