Using same figure properties (e.g. current axes) onto new ones

2 ビュー (過去 30 日間)
Vasileios Leivadas
Vasileios Leivadas 2019 年 10 月 19 日
コメント済み: Vasileios Leivadas 2019 年 10 月 20 日
I was wondering how am I able with a short script or few lines of code to copy some figure's properties and be able to use them on new ones. There are few similar questions around the Central but they seem either to be outdated or too complicated. Any suggestions would be much appreciated!

採用された回答

Sulaymon Eshkabilov
Sulaymon Eshkabilov 2019 年 10 月 19 日
hi,
An easy way is to create/generate (MATLAB automatically) a plot building file from your already created plot figure via File --> Generate a code --> after a few seconds you will get a file (untitled.m) that you'll rename and use it by its default axis settings.
Good luck.
  1 件のコメント
Vasileios Leivadas
Vasileios Leivadas 2019 年 10 月 20 日
Yes, this seems to work good enough! Thank you!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAnnotations についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by