Recursive Limit Exceeded error when adding multiple data cursors to saved figure.

I created a figure with three lines each consisting of 1,348 data points, with datetime x-axis. When I attempt to add multiple data cursors to the figure it freezes up. The first data cursor shows up fine. When shift+clicking on another of the lines it freezes up and shows this warning repeatedly:
In matlab.graphics.shape.internal.PointDataCursor/getDataDescriptors
In createStandardStringStrategy
In createStandardStringStrategy
In createStandardStringStrategy
In matlab.graphics.axis.decorator.DatetimeRuler/get.TickLabelFormat
In matlab.graphics.axis.decorator.DatetimeRuler/format
In matlab.graphics.internal.makeNonNumeric
In matlab.graphics.internal.makeNonNumeric
In matlab.graphics.chart.interaction.dataannotatable.internal.createPositionDescriptors (line 20)
In matlab.graphics.chart.interaction.dataannotatable.LineHelper.getDataDescriptors (line 56)
In matlab.graphics.shape.internal.PointDataCursor/getDataDescriptors
In createStandardStringStrategy
In createStandardStringStrategy
In createStandardStringStrategy
After a while it will stop and the new data cursor will show up, the previous data cursor changes to "Recursive Limit 500 Exceeded". Trying to add a third data cursor crashes MATLAB.

Answers (0)

Products

Release

R2017b

Asked:

on 2 Oct 2019

Community Treasure Hunt

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

Start Hunting!