PythonQ 240-8XX Manuale Utente Pagina 27

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 37
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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
Vedere la pagina 26
1 2 ... 22 23 24 25 26 27 28 29 30 31 32 ... 36 37

Commenti su questo manuale

Nessun commento