[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: plotting data from netcdf file
From: |
Jordi Gutiérrez Hermoso |
Subject: |
Re: plotting data from netcdf file |
Date: |
Tue, 15 May 2012 09:41:12 -0400 |
On 15 May 2012 03:36, nuncio m <address@hidden> wrote:
> HI all,
> I have a netcdf file of 4 dimensions. latitude, longitude, time and
> height. How can i make a contour plot of my variable on any one of the
> height.
> I could read all the dimension variables properly. but when contour command
> returns the following error
>
> contour(lon(1:end),lat(1:end),hgt1(:,:,1,17))
>
> error: __contour__: z argument must be a matrix
What is hgt? Show me `typeinfo(hgt)' and `size(hgt)'. Same for lon and lat.
Thanks,
- Jordi G. H.