For drawing multiple line plots at once, you should have one column vector for each line. You just need to have x as a column vector. f_many will also be an array with four columns.
x = linspace (-5,5)';
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/364528/image.jpeg)
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!