Sei sulla pagina 1di 2

How to plot a graph using matplotlib in Eclipse - Kittipat's Homepage https://sites.google.com/site/kittipat/programming-with-python/howtoplo...

Kittipat's Homepage

Academics Programming with Python >


Announcements
Home
How to plot a graph using matplotlib
Bot in a nutshell in Eclipse
Resume (Short CV) posted Aug 29, 2012, 7:05 PM by Kittipat Kampa [ updated Aug 29, 2012,
7:52 PM ]
CV
Personal Medical Assistant
MVPA and Machine Learning for
Just make sure that you
Brain fMRI
1. import the matplotlib package. The package contains lots of
fMRI preprocess MATLAB plotting tools.
toolbox version 1.0 2. import pylab package and use pylab.show() to show the
Convert data between plotted figure.
MATLAB and Nifti format
Mutual Information-based Here is the code snippet that works in both Eclipse and Python
Feature Ranking for MVPA of IDLE:
fMRI brain data
Brain Functional import numpy as np
Distinguishability Measure import matplotlib.pyplot as plt
simple classification on fMRI import pylab
data # Come up with x and y
Simulated Annealing (SA) for x = np.arange(0, 5, 0.1)
Voxels Selection y = np.sin(x)
Class-specific measures: CMI # Just print x and y for fun
and CD print x
functional brain clustering print y
biclustering algorithm on # plot the x and y and you are supposed to see a
category-sensitive descriptor sine curve
3D supervoxel for brain image plt.plot(x, y)
sparse regularization on lexical # without the line below, the figure won't show
data pylab.show()
Classification with Sparse
Regularization
The code above should give you something like this
Relevant projects showroom
EM algorithm for Gaussian
mixture model on gridded
space
logistic regression for feature
selection
static hand posture recognition
Image Segmentation using
GMM-BIC
3D LiDAR point-cloud
segmentation
Irregular Tree-Structured
Bayesian Networks

1 of 2 2018-03-04, 5:52 PM
How to plot a graph using matplotlib in Eclipse - Kittipat's Homepage https://sites.google.com/site/kittipat/programming-with-python/howtoplo...

Classes
Useful stuff
Tools for data science
libsvm for MATLAB
Hierarchical biclustering
toolbox
Spectral CoClustering
(Biclustering) algorithm
information-theoretic learning
(ITL) MATLAB toolbox
Often-used LaTeX techniques
Often-used MATLAB
Techniques
Often-used R techniques
terminal command techniques
Programming with Python
data science
Download available codes and Another code you might want to try is this:
toolboxes
Trading from numpy import *
a = arange(15).reshape(3, 5)
Sitemap print "The matrix a is \n"+str(a)
Recent site activity print "a[1,2] = " +str(a[1,2])
print "the matrix dimension is " + str(a.shape)
Boring items
from matplotlib.pyplot import *
Bot's BibTex from pylab import *
Reading list matshow(a)
show()
Research Writing
Bot's Silly Tools and you are going to see this image:
White-Border Removal
Toolbox

Favorite websites
Machine learning websites
Aiqus
AI-Social (BrenOCon)
ML Theory/News (Langford)
NLPers
Darren
ClassCentral
Udacity
Coursera
ProjectEuler
Kaggle
ChaLearn Academy
Kittipat's Blog
Google Research Blog
Recent site activity

Sign in | Recent Site Activity | Report Abuse | Print Page | Powered By Google Sites

2 of 2 2018-03-04, 5:52 PM

Potrebbero piacerti anche