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

4 visualizaciones (últimos 30 días)
I'm using this command:

Respuesta aceptada

Shubham Khatri
Shubham Khatri el 6 de Jul. de 2021
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

Más respuestas (0)

Categorías

Más información sobre Surface and Mesh Plots en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by