connecting points with the same value
이전 댓글 표시
I have a very dense scatter plot with a coloured bar and the points are colour coded according to the value shown in the colour bar. I want to connect the points which bear the same z value. Please help.
답변 (1개)
REad about contour
Z = peaks(100) ;
pcolor(Z) ;
shading interp
hold on
contour(Z,[1 1],'k') % show/join the value 1 with black line
카테고리
도움말 센터 및 File Exchange에서 Scatter Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

