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

1 Ansicht (letzte 30 Tage)
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?

Akzeptierte Antwort

Star Strider
Star Strider am 2 Mai 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 Kommentare

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Line Plots finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by