Plotting data with 5 dimensions
Mostrar comentarios más antiguos
Hi folks,
I have a dataset that has data points each with a name and 4 elements. However, of these elements are percentages that add up to a hundred, so a stacked graph will do the trick. The problem is that I need to include the 4th element, which is a number, as well as the names of the points.
For example, I could have:
A B C D
point1 = 64% 26% 10% 23
point2 = 83% 10% 7% 18
Is there a way to adequately display all this information in a single plot without clutter? I was thinking of representing each data point as a mini pie chart, with the diameter of the circle highlighting column D, and columns A, B and C in the graph as normal, but I'm unsure how to go about this!
6 comentarios
Teshan Rezel
el 8 de Jul. de 2021
Rik
el 8 de Jul. de 2021
You suggested something similar yourself: use differently sized circles as markers to show the D value.
Alternatively, you can set the Z-value of each marker to the value of D. I don't know how readable the plot will be.
Teshan Rezel
el 8 de Jul. de 2021
Steven Lord
el 8 de Jul. de 2021
Since these seem to have different units (one percentages, one a number of items?) does it make sense to have them on the same plot? Or would a pair of plots, one a stacked plot and one a line plot, with the plots themselves on axes stacked vertically make more sense?
Teshan Rezel
el 9 de Jul. de 2021
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Annotations en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


