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

3 vues (au cours des 30 derniers jours)
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?

Réponse acceptée

Star Strider
Star Strider le 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 commentaires

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by