Introducing Tim Sheerman-Chase This work is licensed under a Creative Commons Attribution 3.0 Unported License 28 th Sept 2011.

Slides:



Advertisements
Similar presentations
Guy Griffiths. General purpose interpreted programming language Widely used by scientists and programmers of all stripes Supported by many 3 rd -party.
Advertisements

Network Design and Optimization Python Introduction
KNOWING WHICH TYPE OF GRAPH TO USE IN RESEARCH A foolproof guide to selecting the right image to convey your important message!
MATLAB’s extensive, device-independent plotting capabilities are one of its most powerful features. They make it very easy to plot any data at any time.
REVITALISE Visualization Tools Overview: gnuplot Garrett Love Shodor Education Foundation Durham, NC.
Script Languages in Science CCOM Student Seminar Series Kurt Schwehr 12-Nov-2008.
Script Languages in Science CCOM Student Seminar Series Kurt Schwehr 12-Nov-2008.
IS&T Scientific Visualization Tutorial – Spring 2010 Robert Putnam Plotting packages overview.
Python plotting for lab folk Only the stuff you need to know to make publishable figures of your data. For all else: ask Sourish.
An introduction to Plotting in MATLAB Rikard Johansson Department of Biomedical Engineering (IMT) Linköping University
PYTHON PLOTTING CURVES CHAPTER 10_5 FROM THINK PYTHON HOW TO THINK LIKE A COMPUTER SCIENTIST.
 1 Basic Data Visualization. IPython An interactive shell to execute Python script. Run from a shell; ipython 2.
MLOSS: Whistler 2008 scientific visualisation for python John Hunter Tradelink Chicago
Communication of Scientific Results in Advanced Labs at San Francisco State University ALTC – July 2009 James Lockhart Physics & Astronomy Dept. San Francisco.
„  1999 BG Mobasseri1 9/18/2015 June 2 GRAPHICS IN MATLAB- PART I BASIC PLOTTING.
Company Overview for GDF Suez December 29, Enthought’s Business Enthought provides products and consulting services for scientific software solutions.
Introduction to Python By Neil Cook Twitter: njcuk Slides/Notes:
Internet of Things with Intel Edison Compiling and running Pierre Collet Intel Software.
Title Center for Coastal and Ocean Mapping NOAA/UNH Joint Hydrographic Center 31-Oct-2006 A Python Tutorial Kurt Schwehr 31 Oct 2006.
Scientific Computing Beyond Matlab Nov 19, 2012 Jason Su.
Introduction to Python By Neil Cook Twitter: njcuk Slides/Notes:
An Internet of Things: People, Processes, and Products in the Spotfire Cloud Library Dr. Brand Niemann Director and Senior Data Scientist/Data Journalist.
WRITING REPORTS Introduction Section 0 Lecture 1 Slide 1 Lecture 6 Slide 1 INTRODUCTION TO Modern Physics PHYX 2710 Fall 2004 Intermediate 3870 Fall 2015.
Matlab Basics FIN250f: Lecture 3 Spring 2010 Grifths Web Notes.
HDF5.
On the Take with Free and Low-Cost GIS Part 2: AccuGlobe 2007 FREE GIS Viewing Software Features & Functions Presented by: Phil Worrall, GIS Director Pinnacle.
EGR 115 Introduction to Computing for Engineers MATLAB Basics 4: Intro to Plotting Wednesday 10 Sept 2014 EGR 115 Introduction to Computing for Engineers.
Matplotlib A python 2D plotting library  Publication quality figures in several hardcopy formats and interactive environments.
Tools for Visualizing Networks Dr. Frank McCown Intro to Web Science Harding University This work is licensed under a Creative Commons Attribution-NonCommercial-
Python Crash Course Numpy & MatplotLib Sterrenkundig Practicum 2 V1.0 dd Hour 3.
1 Lecture 5 Post-Graduate Students Advanced Programming (Introduction to MATLAB) Code: ENG 505 Dr. Basheer M. Nasef Computers & Systems Dept.
By: Melissa Schmidt Melissa Schmidt 1. Purpose  Software tools that provides small businesses with a system to improve workflow and management  Manages.
Practical Kinetics Exercise 0: Getting Started Objectives: 1.Install Python and IPython Notebook 2.print “Hello World!”
Matplotlib SANTHOSH Boggarapu.
Python & NetworkX Youn-Hee Han
Python Lab Matplotlib - I Proteomics Informatics, Spring 2014 Week 9 25 th Mar, 2014
NET 222: COMMUNICATIONS AND NETWORKS FUNDAMENTALS ( NET 222: COMMUNICATIONS AND NETWORKS FUNDAMENTALS (PRACTICAL PART) Lab 2 : potting to Matlab Networks.
Starting with BMEGUI Prahlad Jat (1) and Marc Serre (1) (1) University of North Carolina at Chapel Hill.
Graphics & Plots: matplotlib & pylab BCHB Lecture 24 11/30/2015BCHB Edwards.
7/8/2016 OAF Jean-Jacques Gras Stephen Jackson Blazej Kolad 1.
Plotting ELEC 206 Computer Applications for Electrical Engineers Dr. Ron Hayne.
Python: powerful interpreted language
How To Draw Well in Paper
PH2150 Scientific Computing Skills
Python for data analysis Prakhar Amlathe Utah State University
Graphics & Plots: matplotlib & pylab
Module 5 Working with Data
PH2150 Scientific Computing Skills
IPYTHON AND MATPLOTLIB Python for computational science
Visualizing Social Networks
Visualizing Social Networks
Lecture 25: Exploring data
Probablity Density Functions
Python for Quant Finance
Prepared by Kimberly Sayre and Jinbo Bi
Network Visualization
Visualizing Social Networks
Python Visualization Tools: Pandas, Seaborn, ggplot
Python for Scientific Computing
INTRODUCTION TO SGPLOT Zahir Raihan OVERVIEW  ODS Graphics  SGPLOT overview  Plot Content  High value plot statements  High value plot options 
MatLab – 2D Plots 2 MATLAB has many built-in functions and commands to create various types of plots. Instructor notes: We start with an example of some.
Introduction to MATLAB Programming
Option One Install Python via installing Anaconda:
Graphics & Plots: matplotlib & pylab
Introduction to Matlab
Graphics & Plots: matplotlib & pylab
Python for Data Analysis
Matplotlib and Pandas
Collecting, Analyzing, and Visualizing Data with Python Part I
Continuous distribution curve.
Presentation transcript:

Introducing Tim Sheerman-Chase This work is licensed under a Creative Commons Attribution 3.0 Unported License 28 th Sept 2011

Overview matplotlib is a high quality plotting tool Depends on: Can be used via command line, by a script or by a GUI program Alternatives: gnuplot or matlab Easy to use, free software, customisable Project web page:

How To Use matplotlib pylab is a quick way to start python with: numpy (low level maths) scipy (high level maths) matplotlib (figure plotting) Everything in one namespace (yikes!) Quick start, plot 100 histogram of samples of a normal distribution ipython -pylab x = randn(10000) hist(x,100) Start pylab from linux shell Use numpy to get samples Plot histogram

Histogram Result matplotlib can save vector formatted graphs to SVG or PDF

Simple Line Plot with Latex Labels plot([1,3,2,4]) title('Time dependency of Foo') xlabel('Time (sec)') ylabel(r'Observed Value $Z^{a}_{b}$') grid(True)

Scatter Plot with Legend x = arange(0.,2.*math.pi,0.2) print "Shape of x",x.shape plot(x, sin(x), 'o', label="sin(x)") plot(x, cos(x), 'x', label="cos(x)") legend() savefig("plot.svg")

Annotations annotate('Intercept', xy=(math.pi,0), xytext=(3.5,0.5), arrowprops=dict(facecolor='black'))

Final Word View the matplotlib gallery for inspiration Any questions?