필터 지우기
필터 지우기

How to plot a continuous graph from distinct points.

조회 수: 3 (최근 30일)
sourav  malla
sourav malla 2019년 6월 27일
댓글: Steven Lord 2019년 10월 29일
How to plot a continuous graph by joining the distinct points created by two array of unqual length.
Suppose:-
x=[1 3 5 6]
y=10
plot(x,y,'o')
here you will get some distinct point graph but i want a continuous one.
Help me that.
thanks

채택된 답변

Torsten
Torsten 2019년 6월 27일
x=[1 3 5 6];
y=10*ones(size(x));
plot(x,y,'o')
  댓글 수: 1
sourav  malla
sourav malla 2019년 6월 27일
Thanks it worked out but you need to remove the marker..
Thanks

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

추가 답변 (1개)

Menatallah Ayman
Menatallah Ayman 2019년 10월 29일
s(x) = Im{e(−x+i2πx)}.
  댓글 수: 1
Steven Lord
Steven Lord 2019년 10월 29일
This doesn't seem related to the original question. Please ask it as a separate question and include more details about what you're trying to do and/or the problem you're experiencing.

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

카테고리

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

태그

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by