Filter löschen
Filter löschen

Surface fitting toolbox

9 Ansichten (letzte 30 Tage)
KKR
KKR am 18 Feb. 2011
I have created a plot using surface fitting toolbox and everything is fine as far as what I was looking for. Now, the problem I am facing is, that I would like to use this plot as part of my presentation, but I dont see any way to save this graphic as jpg or bmp or pdf or any other format. Also, I would like to get rid of those data points (blue round data points) and would like to only keep my polynomial surface as a graph.
Does anyone have any idea? I can send the file and code if needed.
Thanks Kaushal

Akzeptierte Antwort

Jiro Doke
Jiro Doke am 18 Feb. 2011
There are a couple of ways you can do this.
1. From the "Fit" menu, select "Save to Workspace...". This will allow you to save the fitted model as a variable in the MATLAB workspace. Then you can plot by typing
plot(fittedmodel)
2. From "File" menu, select "Generate Code". This will create a MATLAB function, which you can call programmatically to generate the model. The first output of that function is the model. Then you can plot it as in #1 above.

Weitere Antworten (1)

KKR
KKR am 24 Feb. 2011
Sorry for late response. This worked!!
Thanks, Jiro. I appreciate it.

Kategorien

Mehr zu Get Started with Curve Fitting Toolbox 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!

Translated by