bubblelegend
Add a bubble size legend.
📝Syntax
bubblelegend(title)
bubblelegend(ax, title)
bubblelegend(..., propertyName, propertyValue)
bl = bubblelegend(...)
📥Input Arguments
Parameter Description
title Legend title text.
propertyName, propertyValue Name-value pairs for the bubble legend object.
📤Output Arguments
Parameter Description
bl Bubble legend graphics object.
📄Description

bubblelegend creates a bubblelegend graphics object.

See bubblelegend properties for the complete property list.

💡Examples
Add a legend for bubble sizes.
figure();
bubblechart(1:3, [2 4 6], [10 100 1000]);
bubblesize([5 30]);
bubblelegend('Population', 'Location', 'eastoutside');
Example illustration
🔗See Also
bubblelegend propertiesbubblechartbubblesize
Edit this page on GitHub