Matplotlib is a plotting library for Python, built on NumPy and often used interactively with IPython. Its compact "pylab" interface is similar to the plotting functions of MATLAB®.

learn more… | top users | synonyms (2)

0
votes
1answer
11 views

Getting an object in Python Matplotlib

To make a plot, I have written my code in the following fashion: from pylab import * x = [1,2,3] y = [1,2,3] matplotlib.pyplot.scatter(x,y,label='Blah') matplotlib.pyplot.legend(title='Title') ...
0
votes
0answers
18 views

In Matplotlib what is the Polar equivalent of get_xdata?

I found the following example of selecting data with the mouse but when I use the onpick function with a polar plot I get the following error: xdata = thisline.get_xdata() AttributeError: ...
0
votes
1answer
32 views

Change the axes label orientation and legend position of plot

I am plotting a bar graph by reading data from a CSV using pandas in Python. I read a CSV into a DataFrame and plot them using matplotlib. Here is how my CSV looks like: SegmentName Sample1 ...
0
votes
0answers
21 views

Mac OS Snow Leopard, IPython Notebook matplotlib backend mismatch with libpng

The other day I was trying to delve deeper into this question and provide some insights. Maybe with the additional insights it can finally be solved. Things to note: Installing a different Python ...
2
votes
2answers
53 views

Plotting a polynomial in Python

I am new to Python plotting apart from some basic knowledge of matplotlib.pyplot. My question is how to plot some higher degree polynomials? One method I saw was expressing y in terms of x and then ...
2
votes
2answers
72 views

MatPlotLib coulored triangulars

I have no idea how to plot the following. My data file contains the corner points of many triangulars in the following structure: 1 0 0 1 1 1 0.1 1 0.2 2 0.3 3 I want to draw them in one image and ...
0
votes
0answers
16 views

Python and HTML image maps

I'm developing program which will generate scatterplots (about 10, usually) of a potentially large amount of points (can range from a hundred to a thousand, or more). What I would like to do is to ...
1
vote
2answers
70 views

Combining two Gaussians into another Guassian [on hold]

In the code below I have two Gaussian one red and the other in a purple curve. I am wondering if there is a way in python to combining both Gaussian unto a third curve which is suppose to look like ...
0
votes
0answers
12 views

remotely running the “show()” command on matplotlib.pyplot

I'm currently trying to run a python script whose end goal is to show a figure. It skeletally looks like: import matplotlib.pyplot as p p.figure() [build figure, create plots] p.show() I'm ...
0
votes
0answers
15 views

Does matplotlib autoscale have a default minimum tick size? Can this be changed?

I am using pyplot.scatter(x_coords, y_coords) to plot some points. When the points have very small granularity, the tick size is not scaled below 0.0002 like it should be. I have tried using ...
1
vote
3answers
96 views

Create gantt Plot with python matplotlib

How is ist possible with matplotlib to plot a graph with that data. The problem is to visualize the distance from column 2 to column 3. At the End it should look like a gant time graph. 0 0 ...
0
votes
1answer
16 views

matplotlib invisible bar if height is zero

I'm plotting a bar graph without axes. I'd like to only show bars with non-zero values. If it is zero, I want no bar at all. Currently it will show a tiny line at the zero axis, I want that to ...
2
votes
1answer
18 views

Python Matplotlib FuncAnimation

Hello Dear StackOverfloooow Members, I am having trouble understanding the FuncAnimation module of matplotlib. Would you mind helping me out a bit? I have two questions: Why does both die init and ...
2
votes
2answers
49 views

Plotting two different sized grids. Smaller grid centred on the centre of the bigger

I am trying to get something like this (image the image is fully populated with the red squares (I only drew a few)): ![enter image description here][1]. Expanding on what I want: I want the RED ...
0
votes
0answers
7 views

Apache hangs with Django Application and Matplotlib

Very stuck here and I don't have a whole lot to go on. I had a django application up and running and I started playing around with graphing using NetworkX and Matplotlib to visualize some of the data ...

1 2 3 4 5 311
15 30 50 per page