does any one know how to generate this kind of graph and what it is called...??

조회 수: 2 (최근 30일)
What varialbles will i be needing to generate such a graph...??

채택된 답변

Walter Roberson
Walter Roberson 2017년 11월 13일
image() or imshow() can potentially generate the left part. The right part is colorbar()
You would need a matrix of temperature data, with the matrix having roughly 3 times as many rows as columns.
I do not think the output is symmetric -- the green band towards the upper left corner is wider than the green band towards the lower right. It will not be enough to have a radius and a drop-off function as just a function of the radius.
  댓글 수: 4
Walter Roberson
Walter Roberson 2017년 11월 18일
With that resolution of data, about the most you can justify is
imagesc(t);
set(gca, 'ydir', 'normal')
But you could
[r, c] = size(t);
newx = linspace(1,c);
newy = linspace(1,r);
G = griddata(1:c, 1:r, t, newx, newy.');
imagesc([1,c],[1,r],G)
set(gca, 'ydir', 'normal')

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

추가 답변 (1개)

ali ahmed
ali ahmed 2017년 11월 18일

카테고리

Help CenterFile Exchange에서 Lighting, Transparency, and Shading에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by