From: Rudra on
Dear Matlab user,
I would like to make a contour plot of my observation data. I have hourly rainfall data from 4 stations. I would like to produce a 2D rainfall plot to compare with my model. Can anybody give me hint how to make a contour map.

Any help would be highly appreciated.

Thanks
Ambar
From: Wayne King on
"Rudra " <rudrastha(a)hotmail.com> wrote in message <i14svi$npv$1(a)fred.mathworks.com>...
> Dear Matlab user,
> I would like to make a contour plot of my observation data. I have hourly rainfall data from 4 stations. I would like to produce a 2D rainfall plot to compare with my model. Can anybody give me hint how to make a contour map.
>
> Any help would be highly appreciated.
>
> Thanks
> Ambar

Hi Ambar, are you planning on producing a contour map for each hour, or do you plan to average the data over the hours to produce one map? In any event, I'm guessing that you have the (x,y) coordinates of the 4 stations. Not exactly sure what the specifics are, but one thing that occurs to me is:

1.) create a grid using meshgrid that includes the four (x,y) locations.
2.) interpolate your data on the created grid using interp2
3.) use contour to make your contour map.

Wayne