how to save a function or vector defined by a given plot

4 次查看(过去 30 天)
i ve plotted a graph using plot function, now i want this plot to be saved in a vector so that i can use it later on by combining it.

回答(1 个)

Star Strider
Star Strider 2020-5-11
Use the savefig (or saveas) functions to save it as a .fig file. Everything about it, including the data used to create it, will be saved in the file. Gertting the information back from the file is not always straightforward, however it can be done with a few lines of code.

类别

Help CenterFile Exchange 中查找有关 2-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