How to mark certain points in my surface or pcolor plot?
    조회 수: 4 (최근 30일)
  
       이전 댓글 표시
    
I had the following plot which I need to mark points with specific values in Z=1: 
pcolor(xx,yy,Z) and surf(xx,yy,Z). 
But when I use the command :
shading interp
hold on 
xx = get(lambda1,'xxdata') ;
yy = get(lambda1,'yydata') ;
Z = get(lambda1,'Zdata') ;
ind = Z==1;
plot3(xx(ind),yy(ind),1,'yp')
text(xx(ind),yy(ind),'Z = 1','fontweight','bold','color','b')
contour(xx,yy,Z,[1 1],'magenta','linewidth',4)
hold off
It doesn't work in marking the points which Z=1. It's there anyone can help me with that problem?
댓글 수: 4
답변 (0개)
참고 항목
카테고리
				Help Center 및 File Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!