Please note that I do not want to get rid of all the grids, so 'grid off' is not my option. I only want to erase the dotted grids.
How to eliminate unwanted grids on the z-axis?
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I am trying to plot a 3D scatter plot. Although I have set the zticks to 10.^[-1, 3], I have still got a lot of unwanted grids on the z-axis, which looks like this:
![微信截图_20181123180423.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/196287/%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_20181123180423.png)
How can I eliminate the dotted grids and only keep the solid lines? Thanks!
Risposta accettata
Luna
il 23 Nov 2018
Hi Edward,
Maybe this can solve your problem:
set(gca,'XMinorGrid','off');
set(gca,'YMinorGrid','off');
set(gca,'ZMinorGrid','off');
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Annotations in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!