From: Faraz Afzal on
Hi,
I have a plot from cfit with the extension *.cfit..

Actually this is the only file I have and nothing else..

I can view the plot in curve fitting tool box.. I saw the axes are linearly set and I wanted to change both axes x and y into LOG LOG..

I used the fitting button and save to workspace function where I have got output,fittedmodel,and goodness stuff in my workspace now..

I am unable to recover plot data for the fittedmodel1 and plot them on log log scale..

any ideas?
From: Steven Lord on

"Faraz Afzal" <farazafzal(a)gmail.com> wrote in message
news:i1etss$h40$1(a)fred.mathworks.com...
> Hi, I have a plot from cfit with the extension *.cfit..
>
> Actually this is the only file I have and nothing else..
>
> I can view the plot in curve fitting tool box.. I saw the axes are
> linearly set and I wanted to change both axes x and y into LOG LOG..
>
> I used the fitting button and save to workspace function where I have got
> output,fittedmodel,and goodness stuff in my workspace now..
>
> I am unable to recover plot data for the fittedmodel1 and plot them on log
> log scale..
> any ideas?

Import the session into the Curve Fitting Toolbox GUI CFTOOL then save the
information you want to the workspace using File -> Open Session (I believe
that's the menu item; if not look for an item whose name is "Open" or "Load"
or "Import" followed by Session.

--
Steve Lord
slord(a)mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
To contact Technical Support use the Contact Us link on
http://www.mathworks.com


From: Faraz Afzal on
"Steven Lord" <slord(a)mathworks.com> wrote in message <i1f596$dgc$1(a)fred.mathworks.com>...
>
> "Faraz Afzal" <farazafzal(a)gmail.com> wrote in message
> news:i1etss$h40$1(a)fred.mathworks.com...
> > Hi, I have a plot from cfit with the extension *.cfit..
> >
> > Actually this is the only file I have and nothing else..
> >
> > I can view the plot in curve fitting tool box.. I saw the axes are
> > linearly set and I wanted to change both axes x and y into LOG LOG..
> >
> > I used the fitting button and save to workspace function where I have got
> > output,fittedmodel,and goodness stuff in my workspace now..
> >
> > I am unable to recover plot data for the fittedmodel1 and plot them on log
> > log scale..
> > any ideas?
>
> Import the session into the Curve Fitting Toolbox GUI CFTOOL then save the
> information you want to the workspace using File -> Open Session (I believe
> that's the menu item; if not look for an item whose name is "Open" or "Load"
> or "Import" followed by Session.
>
> --
> Steve Lord
> slord(a)mathworks.com
> comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
> To contact Technical Support use the Contact Us link on
> http://www.mathworks.com
>


Thanks Steve,

Actually I figured it out already. From your suggestion it seems I must have put on the wrong question. Actually the session came in front of me already in *.cfit file and I did that loading session stuff. After that I wanted to put that linear scale to log scale which i did by this way..

clicking 'fitting' would let me save the data in workspace. Then i can plot using plot(fittedmodel1)..
Lastly I would tweak the X and Yscale using
set(gca,'XScale','log') and same for Y..
Thats all I wanted..

Thanks for your help.

Regards,
Muhammad Faraz
 | 
Pages: 1
Prev: finding dy/dx
Next: Extract Data from File