필터 지우기
필터 지우기

surface chart

조회 수: 2 (최근 30일)
Pankaj
Pankaj 2012년 2월 5일
i have a 200X200 matrix R filled with structure having 4 fields (a,b,c,d). i want to plot one of these attributes on a 3 D chart so I am using
surf((1:200),(1:200), R(:,:).d) or mesh((1:200),(1:200),R(:,:).d),
this doesn't seem to work - any suggestions on how to go about this?

답변 (1개)

Amit Davidi
Amit Davidi 2012년 2월 5일
Try using:
surf(1:200, 1:200, reshape([R.d], size(R))

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by