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

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

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)

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

Products

Asked:

on 29 Oct 2015

Answered:

on 4 Aug 2016

Community Treasure Hunt

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

Start Hunting!