connecting points with the same value
Mostrar comentarios más antiguos
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.
3 comentarios
KSSV
el 20 de Sept. de 2022
Show us your data.
Sohini Bhattacharjee
el 20 de Sept. de 2022
Respuestas (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
Categorías
Más información sobre Scatter Plots en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

