Change plot properties generated from a curve fitting
Show older comments
Hello,
I am trying to remove the markers and change the line properties from a plot made by rational fit. I tried different options such as Marker, none and Linestyle but it did not work. I have event tried h.Marker='none' and no success. Any idea how to solve this?
[fitresult, gof] = fit( xData, yData, ft, opts );
% h = plot( fitresult, xData, yData, 'Linestyle', 'none','Color','k', 'Marker',marker_style{i} );
h = plot( fitresult, xData, yData);
h.Marker = 'none';
Thanks
3 Comments
Very Determined
on 15 Nov 2019
Joe Vinciguerra
on 16 Nov 2019
I’m not at my computer right now, but can you access the properties you want from the property inspector dialog? Or are they within a "child" of h?
Very Determined
on 18 Nov 2019
Accepted Answer
More Answers (0)
Categories
Find more on Legend 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!