Tagged Questions
1
vote
1answer
17 views
Python 2.5 (with Elipse) Matplotlib
I would like to ask you for help with my school-homework.
I must plotting gas release´s contours.
First point in my program is load data from file.
The file´s Data is: X=distance, C=concentration in ...
0
votes
1answer
6 views
Matplotlib 3D Scatter - Equal Aspect Ratio
I'm trying to make a 3D scatter plot using matplotlib. The issue I'm running into is that the plot isn't using a 1:1 aspect ratio between all pairs of the axes. Would anyone know how to fix this?
My ...
2
votes
1answer
12 views
Matplotlib ColorbarBase: delete color separators
I'd like to delete the back line-separators (dividers?) in the drawn colormap, using ColorbarBase:
cm = get_cmap('RdBu')
Ncol = 501
cccol = cm(1.*arange(Ncol)/Ncol)
cax = ...
0
votes
1answer
16 views
Matplotlib: remove warning about matplotlib.use()
In a Python module where I use matplotlib, I want to make sure it works also when I run the script on a remote machine via ssh. So I do:
import matplotlib
matplotlib.use('Agg')
from ...
-5
votes
2answers
40 views
Reading the data from the text file and plotting the scatter diagram in python
I have to read all the data from the text file and i have to plot the data in the scattered graph in such a way that all the cluster points should appear into a single graph.....
Cluster 0 includes:
...
1
vote
1answer
29 views
matplotlib, draw multiple graphs / points in figure
I am trying to develop a telemetry system which sends sensor data from an Arduino, plotted in realtime. For this I'm using Python and the matplotlib-library. My problem is that every time a new data ...
1
vote
0answers
32 views
pyplot.show() reopens old tkinter dialog
EDIT: This seems to be a problem restricted to Tcl/Tk on Mac OS systems. So if you have no experience with that, this topic might be moot...
I want to have a Python script that does two things:
Ask ...
-1
votes
1answer
39 views
How to create a bar chart from .txt file data using matplotlib in python
We have a text file data as follows:
Positive : 20
Negative : 10
Neutral : 30
Positive, Negative, Neutral are the labels and 20, 10, 30 are the count. my requirement is to draw a bar chart for the ...
1
vote
0answers
21 views
Matplotlib pcolor memory leak
I'm trying to plot a matrix assign to each element a color based on its value. I used pcolor() from Matplotlib.pyplot library (coding in Python):
plt.figure()
plt.pcolor(matrix,cmap=my_cmap)
...
0
votes
1answer
40 views
How to create five different figures with the same format in one script from a single DataFrame based on a single Excel file?
I am still very new to Python so this is likely an easy question but I have yet to locate a satisfactory answer. I have data from five different sources which I am trying to plot in one script after ...
1
vote
1answer
40 views
Matplotlib python change single color in colormap
I use the colormap in python to plot and analyse values in a matrix. I need to associate the white color to each element equal to 0.0 while for others I'd like to have a "traditional" color map. ...
1
vote
2answers
28 views
Common xlabel/ylabel for matplotlib subplots
I have the following plot:
fig,ax = plt.subplots(5,2,sharex=True,sharey=True,figsize=fig_size)
and now I would like to give this plot common x-axis labels and y-axis labels. With "common", I mean ...
2
votes
1answer
23 views
Histogram with base 2 logarithmic y-scale in matplotlib?
Is there any way of doing this? The hist command doesn't seem to recognise it when I try and specify base or basey.
2
votes
1answer
31 views
Faulty display of plot after set_xlim,set_ylim,set_zlim commands with tkinter and matplotlib
I'm building a GUI with Tkinter and ttk and using matplotlib in order to creat interactive plots - again, like millions other people do.
Even though most problems I encountered so far are well ...
0
votes
1answer
21 views
Last graph marker in matplotlib not showing fully
I'm new to matplotlib. My graph in matplotlib doesn't show the last marker fully. I've tried increasing the figure size and nothing changes. I need to extend the figure so that it shows the last ...