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

1 次查看(过去 30 天)
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

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Bar Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by