cfit object as Data on line
Show older comments
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
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!