How do i move a plot from the curve fitting tool to the plot tool?
5 次查看(过去 30 天)
显示 更早的评论
I used the curve fitting to generate a plot so am trying to move the plot to the plot tool because i'm used to editing with the plot tool. How do i do it? Thanks
0 个评论
回答(2 个)
Birdman
2017-10-20
From Curve Fitting Tool, go to Fit->Save To Workspace. When you click on it, a tab opens where you can enter the names of three different structs to be saved. After you saved them, the first variable comes with a fittedmodel default name. Save it to workspace and write the code:
plot(fittedmodel)
With that, you can plot your equation in the plot tool. Hope this helps.
2 个评论
Birdman
2017-10-20
The output variable contains the x y variables as struct and you can reach them with the notation of Output.x and Output.y, try this.
PIYUSH MOHANTY
2019-9-26
You can also use the option of File-> Print to figure in Curve Fitting Tool window. It opens the graph in plot mode, where you can edit, the way you can do in a Matlab Plot.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interpolation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!