Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

There could be multiple reasons for this, but one possible reason could be that the plot is being overwritten by the annotation. This can happen if the annotation is added to the same plot window without clearing the previous plot. To avoid this, one can clear the plot using the clf() function before adding new annotations or create a new plot window for each plot.