Undo/Ctrl+Z bug in 2015b, Windows 10?

1 view (last 30 days)
Wayne Hill
Wayne Hill on 29 Oct 2015
Answered: Will Jackson on 4 Aug 2016
When I create a Matlab figure plot (from the command line, script, or function) and zoom using a mouse, hitting Ctrl+Z or Undo no longer resets the axes limits to the previous values. The axes limits usually change, but to seemingly arbitrary values (in some cases, dead space on the graph). This is new to me, as of 2015b, possibly coinciding with migrating from Windows 7 to Windows 10.
  1 Comment
Josh .
Josh . on 1 Aug 2016
Hi Wayne,
Did you ever resolve this issue?
I'm having the same problem, having recently shifted from 2012b to 2015b.

Sign in to comment.

Answers (1)

Will Jackson
Will Jackson on 4 Aug 2016
Hi Wayne and Josh,
Unfortunately, this is a bug in MATLAB's bounding box zoom operation in which limits are not added to the undo/redo stack. This was fixed in MATLAB R2016a. Click and scroll zoom should work as expected and undo/redo appropriately.
Will Jackson

Categories

Find more on Data Exploration in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!