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

3 次查看(过去 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