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

3 次查看(过去 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