Where do I start from to create a spatial 2D contour plot?

1 次查看(过去 30 天)
Hello, I want to create a 2d contour plot where it will show the temperature in the specific locations of 6 sensors. x is length,y is width and z being values of (length,width)
Probably the worst way, I did the following: Created a matrix, namely
yo=
[0 0 0 0 0 0 0;
0 7 0 5 0 3 0;
0 0 0 0 0 0 0;
0 0 0 0 0 0 0;
0 0 0 0 0 0 0 ;
0 5 0 8 0 6 0;
0 0 0 0 0 0 0]
so that each value is placed where a sensor is
and then typed contour(yo). Any hint to get me started on a proper way of doing it?

采纳的回答

Walter Roberson
Walter Roberson 2012-8-26
编辑:Walter Roberson 2013-1-12

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Contour Plots 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by