How to change size of plot points
10 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
Matt J
2024 年 2 月 2 日
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 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Polar Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

