Plotting circles horizontally through entire range of x values on a constant y value

조회 수: 1 (최근 30일)
How do i plot circles for the entire range of the x values for a constant y value instead of a horizontal line through the range of x values?

채택된 답변

Star Strider
Star Strider 2018년 5월 2일
I am not certain what you want.
Try this:
x = rand(10,1);
y = ones(size(x))*0.5;
figure
plot(x, y, 'o')
  댓글 수: 7

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

추가 답변 (0개)

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by