Get script used by Matlab after using Plot tools
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
mashtine
am 21 Okt. 2014
Kommentiert: Paul Safier
am 3 Mär. 2021
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
0 Kommentare
Akzeptierte Antwort
Mischa Kim
am 21 Okt. 2014
Masao, yes there is. Once you are done editing the figure go to File > Generate Code... in the figure window.
2 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!