how can one assign specific colors to bars in scatterbar3?
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Stephen
am 27 Nov. 2024
Kommentiert: Star Strider
am 2 Dez. 2024
I have created a 3D scatter bar plot using scatterbar3(X,Y,Z,width). The data for this plot is grouped into 5 categories. I'd like to color the bars in the plot according to the group from which that bar came.
0 Kommentare
Akzeptierte Antwort
Star Strider
am 27 Nov. 2024
Edit the function to return the ‘h’ vector (of patch handles) and then experiment with setting the 'FaceColor' (and perhaps 'EdgeColor') of each one. That is a minor tweak to the function, and should allow you to change the relevant characteristics.
9 Kommentare
Star Strider
am 2 Dez. 2024
As always, my pleasure!
Sometimes ‘kludgy’ is the best option (in my experience as well).
.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Orange finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!