to update plot automatically when object changes. This works by setting e.g. the XDataSource on 'lineseries' and 'surfaceplot' plots. see example: - https://fr.mathworks.com/matlabcentral/answers/463553-how-to-update-plot-data-manually. - https://fr.mathworks.com/help/matlab/ref/refreshdata.html It works with the variable name, on many plot types, but not all.
to update plot automatically when object changes.
This works by setting e.g. the XDataSource on 'lineseries' and 'surfaceplot' plots.
see example:
It works with the variable name, on many plot types, but not all.