help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

plotting data from netcdf file


From: nuncio m
Subject: plotting data from netcdf file
Date: Tue, 15 May 2012 13:06:04 +0530

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
error: called from:
error:   /usr/share/octave/3.6.1/m/plot/private/__contour__.m at line 92, column 5
error:   /usr/share/octave/3.6.1/m/plot/contour.m at line 61, column 19

Any pointers
THanks and regards
nuncio
--
Nuncio.M
Research Scientist
National Center for Antarctic and Ocean research
Head land Sada
Vasco da Gamma
Goa-403804

reply via email to

[Prev in Thread] Current Thread [Next in Thread]