필터 지우기
필터 지우기

Surface fitting toolbox

조회 수: 9 (최근 30일)
KKR
KKR 2011년 2월 18일
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

채택된 답변

Jiro Doke
Jiro Doke 2011년 2월 18일
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.

추가 답변 (1개)

KKR
KKR 2011년 2월 24일
Sorry for late response. This worked!!
Thanks, Jiro. I appreciate it.

카테고리

Help CenterFile Exchange에서 Get Started with Curve Fitting Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by