how i remove blue portion from graph
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Risposta accettata
Walter Roberson
il 24 Apr 2023
It appears that you have created a surface from a 2D array that has a row of 0 on the top and left edges.
Depending exactly how you are plotting, you might be able to trim that row and column before doing the plotting. Or you might be able to replace the 0's with NaN before doing the plotting. These possibilities might not work as hoped if you are using surf(), as surf() interpolates face color based upon adjacent values and NaN in particular could potentially end up "poisoning" the edges that you do want.
Another approach, depending on how you did the plotting, might be to adjust the color of those particular faces to be 'none' or NaN to make those faces transparent. You might be able to adjust the graphic object CData or AlphaData
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Surface and Mesh Plots 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!