Rohmad Hidayat's Blog

Icon

My Notes on Mobile Technology, Python GUI, Python Web Framework, Software Development, Database, Server, Embedded System, Mini Computer

[request] Plot grafik sinus dengan Python

modul yang dibutuhkan:

pylab

######## script

from pylab import *

t=arange(0.0,3.0,0.05)

plot(t,sin(2*pi*t))

show()

#####################  eof

mudah bukan

untuk mempermudah komputasi numerik silahkan install scipy (python for science),pylab (plotting)

Advertisements

Filed under: Product

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: