필터 지우기
필터 지우기

How to modify the markers of a figure of the decaying function are squares instead of circle and set the line width of the other sinusoid to 2 instead of 4?

조회 수: 1 (최근 30일)
This is my code:
x = 0:pi/20:4*pi;
plot(x, sin(x))
hold on
plot(x, exp(-0.1*x).*sin(x),'o')
hold off

채택된 답변

Sudhakar Shinde
Sudhakar Shinde 2020년 10월 12일
편집: Sudhakar Shinde 2020년 10월 12일
x = 0:pi/20:4*pi;
plot(x, sin(x),'LineWidth',2)
hold on
plot(x, exp(-0.1*x).*sin(x),'s')
hold off
  댓글 수: 3

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by