when plotting something the plot becomes messy

2 Ansichten (letzte 30 Tage)
Eranja Noopehewa
Eranja Noopehewa am 24 Mär. 2020
Kommentiert: Eranja Noopehewa am 25 Mär. 2020
x = 0:pi/100:2*pi;
y = sin(x);
plot(x,y)
when i try to plot someting on matlab i always get messy plots. For an example i have used a very basic equation given above and my plot looks something like this,
  3 Kommentare
darova
darova am 24 Mär. 2020
See this answer
Eranja Noopehewa
Eranja Noopehewa am 25 Mär. 2020
Thanks, this method works.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

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

Community Treasure Hunt

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

Start Hunting!

Translated by