How to remove the horizontal line at 0
Afficher commentaires plus anciens
Hi All,
- How do I get rid of the horizontal line at the zero (0) mark on the y-axis in a line plot? Please see attached image below as an example. I want the horizontal line hidden.

2. How do I superimpose a barchart on a line plot?
Thank you all.
3 commentaires
Matt J
le 4 Fév 2021
How do I get rid of the horizontal line at the zero (0) mark on the y-axis in a line plot?
You would have to show us the code that put it there.
Curious Mind
le 5 Fév 2021
Walter Roberson
le 5 Fév 2021
Please save x and y to a mat file and attach the file here for us to test.
You can get that kind of output if your x values are not in strict monotonic order.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Mathematics dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!