Plotting contour on surface created with trisurf

조회 수: 1 (최근 30일)
Saurabh Singh
Saurabh Singh 2012년 6월 1일
I have scattered data in form of (x,y,z) that are points on a sphere. I have plotted the sphere using trisurf command and have used colormap on the basis of a vector Pindex.
code: tri=delaunay(x,y); trisurf(tri,x,y,z,Pindex); shading ineterp
I wish to draw contour lines on the sphere such that all points that have same value of Pindex are joined together through a single line. I tried with tricontour but was not successful.
Does anyone have an idea to proceed?

답변 (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