bubblecloud
Display labeled bubbles packed in a cloud layout.
📝Syntax
bubblecloud(sizes)
bubblecloud(sizes, labels)
bubblecloud(sizes, labels, groups)
bubblecloud(tbl, sizeVariable)
bubblecloud(tbl, sizeVariable, labelVariable, groupVariable)
bubblecloud(..., propertyName, propertyValue)
h = bubblecloud(...)
📄Description

bubblecloud creates a bubblecloud chart object from numeric bubble sizes. Labels and groups can be supplied as vectors with the same number of elements as the size data.

Table input can be used by naming the size, label, and group variables.

The returned object exposes the chart data through SizeData, LabelData, and GroupData. Supported appearance properties include Title, LegendTitle, FaceColor, and EdgeColor.

The bubblecloud properties page lists the supported object properties.

💡Examples
Display labeled bubbles.
bubblecloud([10 20 30], {'A','B','C'}, {'G1','G1','G2'}, 'Title', 'Cloud');
Example illustration
Create a bubble cloud from table variables.
t = table([5; 10; 20], {'A'; 'B'; 'C'}, {'G1'; 'G1'; 'G2'}, ...
  'VariableNames', {'Size', 'Label', 'Group'});
bubblecloud(t, 'Size', 'Label', 'Group');
Example illustration
🔗See Also
bubblechartbubblecloud propertieswordcloud
Edit this page on GitHub