How can I put x-labels in vertical rather horizontal in a bar graph?
Show older comments
Hi everyone, I would like to know if there is a way to put the names in vertical rather tan horizontal.
I used this:
set(gca,'XtickLabel',{'Fever','Cough','Short of breath','Myalgia','Runny nose','Sore Throat','Headache','Nausea/Vomiting','Abdominal Pain','Diarrhea','Loss of smell or taste '})
Thank you so much
Answers (0)
Categories
Find more on Bar Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!