cfit object as Data on line

4 views (last 30 days)
Dave Novotny
Dave Novotny on 11 Apr 2016
Edited: Dave Novotny on 11 Apr 2016
Hello,
i am solving problem. I am using graphs in GUIDE like this:
handles.lines.firstLine_bezmod = line('Parent',handles.axes_realbezmod,'XData',handles.glob_xdata_bezmod,'YData',handles.glob_ydata_bezmod,'Color','b','LineStyle','o');
handles.lines.secondLine_bezmod = line('Parent',handles.axes_realbezmod,'XData',handles.glob_xdata_bezmod,'YData',handles.glob_z,'Color','r','LineStyle','-');
I have also handles.lines.thirdLine_bezmod and I need to put there a cfit object called fitresult (from curvefittingtoolbox) as a data (something like this ->
handles.lines.thirdLine_bezmod = line(fitresult ... )
How can I handle this problem?
Thanks.

Answers (0)

Categories

Find more on Fit Postprocessing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!