Plotting circles horizontally through entire range of x values on a constant y value
2 次查看(过去 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')
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Line Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!