update
Class: matlab.graphics.chartcontainer.ChartContainer
Namespace: matlab.graphics.chartcontainer
Update instance of chart container subclass after setting properties
Syntax
update(obj)
Description
update( updates the contents of the chart
after one or more property values change. Define this method to update the underlying graphics
objects in the chart using the new property values. This method executes during the next
obj)drawnow execution, after the user changes one or more property values
on the chart.
Input Arguments
Examples
Tips
Avoid calling drawnow within the setup and
update methods of your chart class. Calling drawnow in
the setup and update methods can cause extraneous updates
within your chart, leading to visual flickering and extraneous updates to objects outside your
chart, which will negatively impact performance.
Version History
Introduced in R2019b

