Error when trying to remove object from plot

1 visualización (últimos 30 días)
David K
David K el 24 de Oct. de 2018
Editada: David K el 29 de Oct. de 2018
I have an axis containing multiple plotted objects, created both from the `scatter` and `plot` commands. If I want to remove one of the lines or scatter groups, I usually select it and then either hit the Delete button on the keyboard, or right click and select "Delete" on the menu. However, whenever I try this I get an error and the object is not removed from the axis. This happens regardless of which method I try. The common error message for the two methods is as follows:
Error using scribeccp (line 24)
Error during serialization
The indicated line in `scribecpp` is
fig = get(groot,'CurrentFigure');
Some other information that may or may not be relevant:
  • Some of the plots use vectors of datetimes for the x-axis, and others simply use datenums. When on the same plot, datenums are automatically aligned with the datetime values on the x-axis.
  • The plots are being created through custom class methods which assign some custom callback functions, though none that I believe should impact deleting the plot.
Why am I unable to remove these plots from the axis?

Respuestas (0)

Categorías

Más información sobre Scatter Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by