필터 지우기
필터 지우기

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

조회 수: 1 (최근 30일)
Ioannis
Ioannis 2012년 8월 25일
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