Clear Filters
Clear Filters

How can I put x-labels in vertical rather horizontal in a bar graph?

1 view (last 30 days)
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)

Community Treasure Hunt

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

Start Hunting!