Scatter Plot : Connect equal z - Values

8 views (last 30 days)
Hello everyone,
currently I am working on a scatter plot and need to plot lines between points with constant z - values.
To give you an idea of my data, you see the image below with points colored according to the value of z. My goal is basically just lines of constant increments (every 10°, as indicated) and no color.
Any advice ?
Advanced question : In case there are no equal z values, how do I proceed ? Some sort of interpolation, curvefitting or rounding ?

Answers (2)

Walter Roberson
Walter Roberson on 16 Dec 2018
typically you would use contour() for something like that.

Christian H. Voßschulte
Christian H. Voßschulte on 17 Dec 2018
Edited: Christian H. Voßschulte on 17 Dec 2018

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!