![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/177143/image.png)
How can I label the individual spokes in a Glyph plot?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I'm trying with 'varlabels', but they do not appear. I'm not getting an error, but the spoke labels are not on the plot. Each glyph is labeled.
My code
glyphplot(output,'varlabels',varlabels,'obslabels',X)
0 comentarios
Respuestas (2)
Stephen Jue
el 23 de Jun. de 2017
Note that the 'varlabels' property uses the text in the cell array as variables when displaying data cursors. This does not effect the plot when no data cursors are shown. This illustrates the difference between a glyphplot without varlabels (left) and with varlabels (right):
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/177143/image.png)
Do your variable labels show up correctly when you select a glyph with the data cursor?
0 comentarios
Adam Danz
el 22 de Jun. de 2020
Here's a demo showing how to label each line segment (perimeter or spokes or both) using an array of labels.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/320506/image.png)
0 comentarios
Ver también
Categorías
Más información sobre Axis Labels en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!