grid lines in 3D plot

113 views (last 30 days)
david edwards jr
david edwards jr on 27 Sep 2018
Answered: Rick Baartman on 13 Sep 2023
i have a 3D plot. I would like to see all the grid lines going thru the plot as happens in 2D plots. is this possible?
thank you david

Accepted Answer

david edwards jr
david edwards jr on 27 Sep 2018
grid on simply puts grid lines on the 3 planes and not through the points. I do not have a sense of a 3D plot. david

More Answers (2)

Hristo Zhivomirov
Hristo Zhivomirov on 20 Dec 2019
Hi, David!
You can try my code 3D Grid Lines with Matlab, in order to put grid lines through the data points, as you wish.
All best,
Hristo
  2 Comments
Giacomo Saccone
Giacomo Saccone on 28 Jan 2022
This code is only for scattered data, not for surfaces.
Rick Baartman
Rick Baartman on 13 Sep 2023
You must misunderstand it? It's nothing to do with scatter. It simply plots grid lines.

Sign in to comment.


Rick Baartman
Rick Baartman on 13 Sep 2023
Works fine. Thanks.

Community Treasure Hunt

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

Start Hunting!