Section 2.5 Additional Plotting Capabilities

The examples presented in our text highlight the use of the plot, semilogx, semilogy, and loglog plotting commands for the following data set.

x = 0:0.5:20

y = 5*x.^2

NOTE: you should use the arrow keys extensively to type in these commands.

subplot(2,2,1), plot(x,y),

title('Polynomial - linear/linear'),

ylabel('y'), grid,

subplot(2,2,2), semilogx(x,y),

title('Polynomial - log/linear'),

ylabel('y'), grid,

subplot(2,2,3), semilogy(x,y),

title('Polynomial - linear/log'),

ylabel('y'), grid,

subplot(2,2,4),loglog (x,y),

title('Polynomial - log/log'),

ylabel('y'), grid,

on to 3 D graphics