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!

