diff options
author | Shantanu Choudhary | 2010-03-30 17:15:22 +0530 |
---|---|---|
committer | Shantanu Choudhary | 2010-03-30 17:15:22 +0530 |
commit | 83ca3165a3101ab9024b43a7f4ab227f83b5dd59 (patch) | |
tree | 7b8736e9f8342e158ca74ddff5d60cf29679616c /basic-plot.txt | |
parent | f1effc2e45bf1270e390f0e4da79db6fa3b43699 (diff) | |
download | st-scripts-83ca3165a3101ab9024b43a7f4ab227f83b5dd59.tar.gz st-scripts-83ca3165a3101ab9024b43a7f4ab227f83b5dd59.tar.bz2 st-scripts-83ca3165a3101ab9024b43a7f4ab227f83b5dd59.zip |
Added changes to array.org file and basic plotting.
Diffstat (limited to 'basic-plot.txt')
-rw-r--r-- | basic-plot.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/basic-plot.txt b/basic-plot.txt index 3d12949..cd55931 100644 --- a/basic-plot.txt +++ b/basic-plot.txt @@ -1,14 +1,17 @@ * Script -In this tutorial, we will cover the basics of Plotting features available in Python. We shall use Ipython and pylab. Ipython is An Enhanced Interactive Python interpreter. It provides additional features like tab completion, help etc. pylab is python library which provides plotting functionality. +Hello, in this tutorial, we will cover the basics of Plotting features available in Python. We shall use Ipython and pylab. Ipython is An Enhanced Interactive Python interpreter. It provides additional features like tab completion, help etc. pylab is python library which provides plotting functionality. + +I am assuming that you have them installed on your system. Lets start ipython. Open up your terminal and type the following. $ ipython -pylab +press RETURN This will give us a prompt where we can get started. -First, we create an array with equally spaced points from 0 to 2*pi +First, we create a sequence of equally spaced points from 0 to 2*pi In []: x = linspace(0, 2*pi, 100) We have passed three arguments to linspace function - the first point, the last point and the total number of points. |