How can i increase the size of * or star in this case ?
18 views (last 30 days)
Show older comments
sufian ahmed
on 10 Jul 2017
Commented: Walter Roberson
on 10 Jul 2017
plot(P(1),P(2),'*r');
i want to increase the size of star(*). how can i ?
0 Comments
Accepted Answer
Geoff Hayes
on 10 Jul 2017
sufian - just increase the MarkerSize as
plot(P(1), P(2), 'r*', 'MarkerSize', 20)
or replace 20 by whatever value makes sense for your plot.
2 Comments
Walter Roberson
on 10 Jul 2017
Yes, you can use any of the valid markers; https://www.mathworks.com/help/matlab/creating_plots/create-line-plot-with-markers.html#bvcbmlz-1
More Answers (0)
See Also
Categories
Find more on Line 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!