Matplotlib: Difference between revisions

imported>Jesstess
No edit summary
imported>Jesstess
== Project setup ==
 
==== Mac1. OSInstall Xthe usersproject onlydependencies ====
 
Please follow the official matplotlib installation instructions at http://matplotlib.sourceforge.net/users/installing.html
If you do not already have a C compiler installed, you'll need one to install matplotlib. You have several options depending on your situation:
 
The dependencies vary across operating systems. http://matplotlib.sourceforge.net/users/installing.html#build-requirements summarizes what you'll need for your operating system. We also give specific recommendations for each platform below.
 
Installing matplotlib and its dependencies is somewhat involved; please ask for help if you get stuck or don't know where to start!
 
==== Mac OS X users only ====
<!--
If you do not already have a C compiler installed, you'll need to install one tobefore you install matplotlib. You have several options depending on your situation:
# Download and install Xcode (1.5 GB) from https://developer.apple.com/xcode/
# Download and install Command Line Tools for Xcode (175 MB) from https://developer.apple.com/downloads/index.action. This requires an Apple Developer account (free, but you have to sign up).
 
Please wave over a staff member and we'll help you pick which option is best for you computer.
-->
 
# Download and install numpy from http://sourceforge.net/projects/numpy/
=== 1. Install the project dependencies ===
# Read http://matplotlib.sourceforge.net/faq/installing_faq.html#install-osx-binaries and then download and install matplotlib from http://sourceforge.net/projects/matplotlib/files/matplotlib/
 
==== Windows users only ====
Please follow the official matplotlib installation instructions at http://matplotlib.sourceforge.net/users/installing.html
 
# Download and install numpy from http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy
The dependencies vary across operating systems. http://matplotlib.sourceforge.net/users/installing.html#build-requirements summarizes what you'll need for your operating system.
# Download and install matplotlib from http://www.lfd.uci.edu/~gohlke/pythonlibs/#matplotlib
 
==== Linux users only ====
A universal dependency is the NumPy scientific computing library. NumPy has download and installation instructions at http://numpy.scipy.org/
 
# Install the <code>python-numpy</code> package through your package manager
Installing matplotlib and its dependencies is somewhat involved; please ask for help if you get stuck or don't know where to start!
# Install the <code>python-matplotlib</code> package through your package manager
 
=== 2. Download and un-archive the Matplotlib project skeleton code ===
 
Run the <code>basic_plot.py</code> script in your <code>Matplotlib</code> directory. A window with a graph should pop up.
 
 
== Project steps ==