How to automatically add values to stem

I create a stem plot with several values. Is there a way to automatically add the value of each point to the plot? It would be better if I can show only the y-axis value. Thanks.

 Accepted Answer

Sorry, No. You will need to text() the labels into place.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!