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)';
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!