How to change size of plot points
10 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Trying to make the points smaller so it is easier to read. I know about LineWidth, but is there a way to just make the circles smaller?
savtotal=1000; % initial amount
hold on
xlabel("Time (Months)") % graph labels
ylabel("Amount Saved ($)")
title("College Savings")
for i=1:216 % 216 months (18 years)
savtotal=(savtotal+100)*1.005; % $100+interest each month (0.05%)
plot(i,savtotal,"o",linewidth=0.1) % plot money each month
end
hold off
0 commentaires
Réponse acceptée
Matt J
le 2 Fév 2024
savtotal=1000; % initial amount
hold on
xlabel("Time (Months)") % graph labels
ylabel("Amount Saved ($)")
title("College Savings")
for i=1:216 % 216 months (18 years)
savtotal=(savtotal+100)*1.005; % $100+interest each month (0.05%)
plot(i,savtotal,".",linewidth=0.1) % plot money each month
end
hold off
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Polar Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

