Get script used by Matlab after using Plot tools

3 ビュー (過去 30 日間)
mashtine
mashtine 2014 年 10 月 21 日
コメント済み: Paul Safier 2021 年 3 月 3 日
Hello,
I have manually edited a figure in matlab using the plot tools and I would like to download the script matlab uses to add/customize the graphy from the user interface. For instance if I have
plot(x,y)
but then I go onto the figure and customize it, is there a way to download the script matlab applies?
eg:
plot(x,y) set(gca, ....]) legend(...])
Would like to learn all the intricacies of figure plotting so I can do this solely from the command line

採用された回答

Mischa Kim
Mischa Kim 2014 年 10 月 21 日
Masao, yes there is. Once you are done editing the figure go to File > Generate Code... in the figure window.
  2 件のコメント
mashtine
mashtine 2014 年 10 月 21 日
Ahhh! I knew it was something as simple as this but I could not find the right keywords to google it. Many thanks!
Paul Safier
Paul Safier 2021 年 3 月 3 日
What a fantastic feature of Matlab!!

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

その他の回答 (0 件)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by