We can use the following code to create three different curves with different line styles:
```matlab
t = 0:0.1:10; % time vector
y1 = sin(t); % data for curve 7
y2 = cos(t); % data for curve 8
y3 = tan(t); % data for curve 9
plot(t, y1, '--', t, y2, '-.', t, y3,
Show more…