Plot the following data in MATLAB in the same pane, plot both columns as separat
ID: 3818813 • Letter: P
Question
Plot the following data in MATLAB in the same pane, plot both columns as separate data using different colors:
LEVEL PUMP SPEED
100 250
110 225
120 200
130 175
140 150
150 125
165 87.5
180 50
175 62.5
170 75
172 70
172 70
Explanation / Answer
col1 = [100 110 120 130 140 150 165 180 175 170 172 172];
col2 = [250 225 200 175 150 125 87.5 60 62.5 75 70 70];
figure
plot(col1,'g--o')
hold on
plot(col2,'b--*')