So I want to plot a Matplotlib plot x
versus y
, but now at certain x
points I want to add a dot or a small circle with another value z
written beside it.
Basically the curve depends on 3 variables and I want to plot it with 2 variables but at certain points I want to add a circle or a dot telling us about the z
at that point. Also, note there will be multiple plots, thus the z
circle or dot has to be of the same colour.
How can I do this?