highlighting point in 3D-graph

5 Ansichten (letzte 30 Tage)
Weia Reinboud
Weia Reinboud am 18 Dez. 2017
Bearbeitet: Adam am 18 Dez. 2017
In a 3D-graph made with surf I like to highlight one point on the shown surface. I know (x,y,z) of that point, but that isn't a matrix, so surf does not accept it. Any tips how to do this?
  7 Kommentare
Weia Reinboud
Weia Reinboud am 18 Dez. 2017
Thanks!
Adam
Adam am 18 Dez. 2017
Bearbeitet: Adam am 18 Dez. 2017
Oh yeah, I always forget to explain that. hAxes is what I generally call an axes handle. You should get used to always giving an explicit axes handle to plotting instructions.
You can change the size of the marker and choose from different marker types too. The documentation gives you all the parameters you can change. I can't remember offhand - 'MarlerSize' maybe is the parameter name, but I can't remember what a sensible number is or what the default is.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by