MATLAB Answers

how to plot contours of a function defined on a 3d mesh. Plotting has to be done on the mesh not under the mesh as shown in following figure

1 view (last 30 days)
MB on 9 Aug 2019
Commented: MB on 13 Aug 2019


Sign in to comment.

Answers (1)

SaiDileep Kola
SaiDileep Kola on 12 Aug 2019
You may use contour3 function to plot contours at different heights, look in to this doc for further information.

  1 Comment

MB on 13 Aug 2019
I tried that's not working...Actually i have values at vertices based on which contour has to be plotted...

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by