Plotting surface returns error
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi, I do have 2 vectors:
pbp_ss that has dimesions of 1x80 and is a double type
pbp_st that has dimesions of 1x50 and is a double type
And matrix:
stosunek_delta3_delta2 that is 50x80 double
When I try to plot a surface with code
surface(pbp_st,pbp_ss,stosunek_delta3_delta2);
Matlab returns an error of:
Warning: Error creating or updating Surface
Error in value of property ZData
Array is wrong shape or size
How can I solve this?
댓글 수: 0
채택된 답변
millercommamatt
2022년 11월 28일
편집: millercommamatt
2022년 11월 28일
Your first two inputs need to be reversed. That is, the order in which they are provided to the function need to be switched.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!