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?
댓글 수: 0
채택된 답변
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개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!