From: Z A on 3 Oct 2009 12:46 Hello I am having trouble with contour maps. Can anyone provide me with a concrete answer as to how it works. I did look at the example and help in matlab but I still don't get it. Let us say I have the following problem: Column X, Column Y so when i plot that i get a figure, lets say a circle and a triangle inside the circle. But I also have a third column, column Z which contains displacements and so I would like to see those displacements represented by the colormap. So when I write the command contourfm(lat,lon,Z), -where I am guessing lat=columnX and lon=columnY (but not sure ???) I get the contour map that is the XY plot and the color map with the color legend telling me where the greatest or least dynamics is happening. Am I on the right track? I would appreciate any help... Thank you all
From: TideMan on 3 Oct 2009 15:47 On Oct 4, 5:46 am, "Z A" <nospam-rekabi...(a)yahoo.ca> wrote: > Hello > > I am having trouble with contour maps. Can anyone provide me with a concrete answer as to how it works. I did look at the example and help in matlab but I still don't get it. > Let us say I have the following problem: > Column X, Column Y > so when i plot that i get a figure, lets say a circle and a triangle inside the circle. But I also have a third column, column Z which contains displacements and so I would like to see those displacements represented by the colormap. So when I write the command contourfm(lat,lon,Z), -where I am guessing lat=columnX and lon=columnY (but not sure ???) I get the contour map that is the XY plot and the color map with the color legend telling me where the greatest or least dynamics is happening. > Am I on the right track? > I would appreciate any help... > Thank you all Yes, if Column X and Column Y represent a grid. No, if Column X and Column Y are not in a grid, in which case: help griddata
|
Pages: 1 Prev: Matlab 2009a Student Version install problems Next: inverse matrix inv pinv linfactor ginv |