matlab.graphics.chartcontainer.mixin.Colorbar Class
Namespace: matlab.graphics.chartcontainer.mixin
Add colorbar support to chart container subclass
Description
matlab.graphics.chartcontainer.mixin.Colorbar
is a class for adding
colorbar support charts that inherit from matlab.graphics.chartcontainer.ChartContainer
. By inheriting from this class, you
can display a colorbar in your chart. Your users can select options in the figure menu bar or
the figure toolbar to show or hide that colorbar.
Use this syntax to enable colorbar support for your chart:
classdef MyChart < matlab.graphics.chartcontainer.ChartContainer & ... matlab.graphics.chartcontainer.mixin.Colorbar ... end
The matlab.graphics.chartcontainer.mixin.Colorbar
class is a handle
class.
Class Attributes
Abstract | true |
HandleCompatible | true |
For information on class attributes, see Class Attributes.
Properties
Methods
Examples
Version History
Introduced in R2019b