Configure Up Arrow to switch to command window when in figure window
2 views (last 30 days)
Show older comments
A number of versions back, when a plot would be generated in a figure window and the figure window was the active window, pressing the up arrow would return the cursor to the command prompt. In recent versions, it seems pressing up arrow while in a figure window activates the zoom-in function. How can the up arrow be configured to swich to the command window instead of zoom-in on a figure window?
1 Comment
Walter Roberson
on 8 Aug 2023
When there are no Key Press callbacks for a figure, then typing into the figure triggers a refocus to the command window and sending the pressed keys to the command window. The up-arrow was not special: it was just less obvious. A space, for example, would have done the same thing.
Answers (1)
Sai Teja G
on 22 Aug 2023
Hi Jeremy,
I understand that you want to go to command window on click of up_arrow from figure window.
If you press any key that does not have any associated key callbacks, it will take you from the figure window to the command window, not just the up arrow key.
Hope this helps!
0 Comments
See Also
Categories
Find more on Interactive Control and Callbacks in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!