The following piece of code is from the great book "An Introduction to Programming and Numerical Methods in MATLAB" by S.R. Otto and J.P. Denier
x = 0:pi/20:pi;
n = length(x);
r = 1:n/7:n;
y = x.ˆ2+3;
Code continues from here specifying x axis and y axis labels and so on. When I start to write the code in command window, as soon as I put the last round bracket for plot command, Matlab returns figure window with the plot, without me having a chance to insert x and y axis labels and so on. How do I get the plot with everything complete?