How do I get rid of the horizontal line on the y-axis in a line plot? Please see attached image below as an example. I want the horizontal line hidden.
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Mangesh KAle
le 6 Jan 2023
Réponse apportée : Star Strider
le 6 Jan 2023

5 commentaires
Dyuman Joshi
le 6 Jan 2023
There might be a repetition in the data that causes this line.
Are the first and the last values same? If yes, remove the last data.
Otherwise, refer to Star Strider's answer
Réponse acceptée
Star Strider
le 6 Jan 2023
Since:
[x1,fs1]=audioread('Aniruddha heart beat.wav');
and
x1 = 962560*2
the red line is likely the second channel in ‘x1’ so:
y = x1(:,1);
plot(t1,y)
might be the solution.
.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
