How to plot a contour plot of 2-dimensional array within specified limits of array size?

조회 수: 1 (최근 30일)
I want to plot contour plots of temperature which is the output of my program. It is a 2D plot so. I am plotting with the following command [cout hand] = contour(theta). In the program I get values of theta(i,j) for i in the range of 2 to 17 and j from 2 to 29. However the plot of theta shows it from i and j starting from zero. How should I plot such that I get it from point (2,2).

답변 (1개)

Walter Roberson
Walter Roberson 2013년 11월 13일
axis([2 17], [2 29])
  댓글 수: 2
Ashutosh
Ashutosh 2013년 11월 14일
Can you please explain how to put it exactly? I have used this command [cout hand]= contour(theta)
How to incorporate axis limits in this?

댓글을 달려면 로그인하십시오.

카테고리

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