How can I label the individual spokes in a Glyph plot?

1 回表示 (過去 30 日間)
Bridget Seegers
Bridget Seegers 2017 年 6 月 20 日
回答済み: Adam Danz 2020 年 6 月 22 日
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)

回答 (2 件)

Stephen Jue
Stephen Jue 2017 年 6 月 23 日
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):
Do your variable labels show up correctly when you select a glyph with the data cursor?

Adam Danz
Adam Danz 2020 年 6 月 22 日
Here's a demo showing how to label each line segment (perimeter or spokes or both) using an array of labels.

カテゴリ

Help Center および File ExchangeAxis Labels についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by