PythonQ 240-8XX Manuel d'utilisateur Page 27

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 37
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 26
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
Vue de la page 26
1 2 ... 22 23 24 25 26 27 28 29 30 31 32 ... 36 37

Commentaires sur ces manuels

Pas de commentaire