% A simple script that demonstrates the plot function
% Minas Spetsakis, Jan. 2018

nump=5; % Change the number of points in the plot
X=linspace(0,10,nump);
F=2*X.^2-10*X+10;
plot(X,F,'-r') % U can use different colors and line styles
