- The added line is THIS COLOR.
- The deleted line is THIS COLOR.
#contents
*Prerequisite [#y1a06bda]
-Ubuntu Server installation (You can refer [[HowToUse/UbuntuServer/14.04]])
-Pip installation (You can refer [[HowToUse/Python/2.7/pip/8.1]]
*Install&Setup [#i0176d28]
:Step.1|
xxx
If you have Ubuntu server, you should have python by default. But in case you wish to switch version of your python, you can refer [[HowToUse/Virtualenv/15.0]] as needed.
*HowToUse [#ia4f2220]
**Create graph with matplotlib [#g8edc66a]
:Step.1|
xxx
Install necessary modules.
$ pip install numpy
$ pip install matplotlib
:Step.2|
Prepare source code like [[this:https://github.com/osssv/osssv-helloworld/blob/master/python/2.7/sample_matplotlib.py]]
:Step.3|
Execute the program.
$ python <source file>
#ref(HowToUse_fig1.png,,500x375,)
**Show image with matplotlib [#bfb6cdd7]
:Step.1|
Install Tkinter.
$ sudo apt-get install python-tk
:Step.2|
Install necessary modules.
$ pip install matplotlib
:Step.3|
Prepare source code like [[this:https://github.com/osssv/osssv-helloworld/blob/master/python/2.7/sample_image.py]]
:Step.4|
Execute the program.
$ python <source file>
#ref(HowToUse_fig2.png,,500x375,)
*Author [#p1f36c53]
S.Yatsuzuka