Azzera filtri
Azzera filtri

Surface fitting toolbox

1 visualizzazione (ultimi 30 giorni)
KKR
KKR il 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

Risposta accettata

Jiro Doke
Jiro Doke il 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.

Più risposte (1)

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

Categorie

Scopri di più su Get Started with Curve Fitting Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by