Plotting circles horizontally through entire range of x values on a constant y value
1 view (last 30 days)
Show older comments
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 Comments
Accepted Answer
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
More Answers (0)
See Also
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!