c
! www.simula.no/˜hpl
Decorating the plot
plot(t, y)
xlabel(’t’)
ylabel(’y’)
legend(’t^2
*
exp(-t^2)’)
axis([0, 3, -0.05, 0.6]) # [tmin, tmax, ymin, ymax]
title(’My First Easyviz Demo’)
#or
plot(t, y, xlabel=’t’, ylabel=’y’,
legend=’t^2
*
exp(-t^2)’,
axis=[0, 3, -0.05, 0.6],
title=’My First Easyviz Demo’,
hardcopy=’tmp1.eps’,
show=True) # display on the screen (default)
Numerical Python – p. 261/728
Comentarios a estos manuales