How to set the thickness of edge for one marker in plot?
195 views (last 30 days)
Show older comments
Hello, I want to set the thickness of edge for one point use plot. How to plot this?
plot(data(:,1),data(:,2),'o','MarkerSize',5, 'MarkerFaceColor','y','MarkerEdgeColor','b')
;
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/695484/image.jpeg)
I want to set the thickness of edge about color blue. Who can help me ?
0 Comments
Accepted Answer
millercommamatt
on 26 Jul 2021
The 'LineWidth' Property controls the thickness of the marker edge.
e.g.
plot(data(:,1),data(:,2),'o','MarkerSize',5, 'MarkerFaceColor','y','MarkerEdgeColor','b','LineWidth',2)
More Answers (0)
See Also
Categories
Find more on 2-D and 3-D Plots 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!