__nexus_ide_figure_event__
plot · scripts/plot/util/__nexus_ide_figure_event__.m
Apply one figure event sent back by the IDE (nexus#1491, nexus#2356).
TEXT is a JSON object; see the help of the apply helper for zoom, pan,
datacursor, format, figure_resize and close. The picture itself is
streamed on the next drawnow (or on __nexus_ide_figure_publish__), which
is when MATLAB repaints a docked figure after a tool change or resize.
A direct call reports the same errors as the MATLAB tool it drives
(zoom's FACTOR message, an invalid figure handle). The background poller
swallows a bad line so one event cannot abort drawnow.