フィルターのクリア

Keyboard shortcut for a figure's Edit->Copy figure option

17 ビュー (過去 30 日間)
mahaju
mahaju 2023 年 9 月 14 日
回答済み: T.Nikhil kumar 2024 年 5 月 15 日
In a new figure, there is the Edit->Copy figure option which copies figure to clipboard, I am assuming in the format specified in the dialog box that opens up when going to Edit->copy options...
The default is "Preserve information (metafiule if possible)"
  1. Is there a keyboard shortcut for "Edit->Copy Figure" at all? Can I assign one?
  2. I mainly want to copy figure using the default setting, but sometimes I would like to copy figure as bitmap. Is thera a way to switch between the two settings from keyboard without having to go to "Edit->copy options..." everytime?
An ideal solution for me would look like this:
ctrl+C => copy figure (using default option)
clrt+shift+C => copy figure as bitmap
If there is a workaround I can do from matlab command line that is also acceptable, but I must be able to paste it using just ctrl+V without having to do anything more complicated.
I am using MATLAB Version: 9.11.0.1873467 (R2021b) Update 3

回答 (1 件)

T.Nikhil kumar
T.Nikhil kumar 2024 年 5 月 15 日
Hello Mahaju,
I get that you are looking for keyboard shortcuts for "Edit->Copy Figure" and "Edit->copy options..." options to copy a figure.
For "Edit->Copy Figure", you can use a combination of keys as a shortcut instead of opening the ‘Edit’ menu to directly copy the figure.
Alt+E, F, Enter – you can use these keys in this order to copy the figure via keyboard.
I do not think there are some keyboard shortcuts to switch the copy formats. But you can use a combination of keys to open the “copy options” preferences from the figure and then select the clipboard format interactively. This could decrease the complexity for this workflow.
The combination is Alt+E, O in that order to open the “copy options” preferences panel. You can then select “bitmap” or “Preserve Information” formats.
Hope this helps you!

カテゴリ

Help Center および File ExchangeEnvironment and Settings についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by