|
From: | Brett Green |
Subject: | Re: categorical bar graph |
Date: | Tue, 29 Oct 2019 08:05:42 -0400 |
What do I do if I want to make subplots, with the same xticklabels, please? I tried this:y1= [5 2 3 1];
y2= [3 2 2 1];
subplot(2,2,1),bar(y1),subplot(2,2,2),bar(y2)
set(gca,"xticklabel",{'small', 'medium', 'large', 'extra large'});
PFA a screenshot of the output I got.
[Prev in Thread] | Current Thread | [Next in Thread] |