How can I plot 3 variable function with f(x,y,z) being represented by the color, using colorbar?

조회 수: 4 (최근 30일)
I'm using this command:

채택된 답변

Shubham Khatri
Shubham Khatri 2021년 7월 6일
Hi,
The error is because meshgrid function in the above code is giving 3D arrays as output and these cannot be used as inputs to mesh function.
Also, refer to the documentation link for mesh and meshgrid for more information.
Hope it helps

추가 답변 (0개)

카테고리

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