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

1 view (last 30 days)
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?

Accepted Answer

Star Strider
Star Strider on 2 May 2018
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 Comments

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!