Q:

The number of faculty members in each department at a certain College of Engineering is:

0

ME 22

BM 45

CE 23

EE 33

Experiment with at least 3 different plot types to graphically depict this

information. Make sure that you have appropriate titles, labels, and 

legends on your plots. Which type(s) work best, and why?

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Ch12Ex4.m

%Graphically depict faculty sizes using different plots

ME = 22;

BM = 45;

CE = 23;

EE = 33;

data = [ME BM CE EE];

labels = {'ME','BM','EE','CE'};

% plot is not very good method

plot(data)

set(gca,'XTick',1:4,'XTickLabel',labels)

title('College Faculty')

% pie chart allows comparison but if two numbers are

% close, virtually impossible to see which is larger

figure

pie(data,labels);

title('College Faculty')

% bar chart also easy to compare and can easily

% compare any two with each other

figure

bar(data)

set(gca,'XTickLabel',labels)

title('College Faculty')

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now