Hello World from OSS Silicon Valley
HowToUse/Python/2.7
_ Prerequisite
- Ubuntu Server installation (You can refer HowToUse/UbuntuServer/14.04)
- Pip installation (You can refer HowToUse/Python/2.7/pip/8.1
_ Install&Setup
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
_ Create graph with matplotlib
- Step.1
- Install necessary modules.
$ pip install numpy $ pip install matplotlib
- Step.2
- Prepare source code like this
- Step.3
- Execute the program.
$ python <source file>
_ Show image with matplotlib
- 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
- Step.4
- Execute the program.
$ python <source file>
_ Author
S.Yatsuzuka
Attach file:
HowToUse_fig2.png 211 download
[Information]
HowToUse_fig1.png 225 download
[Information]


Last-modified: 2016-11-13 (Sun) 02:24:13 (3022d)