How to set the thickness of edge for one marker in plot?

210 次查看(过去 30 天)
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');
I want to set the thickness of edge about color blue. Who can help me ?

采纳的回答

millercommamatt
millercommamatt 2021-7-26
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)

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Graphics 的更多信息

标签

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by