Hello,
How is it possible to paint this kind graph
http://pcp.oxfordjournals.org/content/52/2/274 with Matplotlib?
Thank you in advance.
Cheers,
Michal
--
Using storage to extend the benefits of virtualization and
Sorry, this is the correct link
http://pcp.oxfordjournals.org/content/52/2/274/F2.expansion.html (Fig2).
Thank you in advance,
On 09/11/2011 04:33 PM, Eric Firing wrote:
On 09/10/2011 07:57 PM, xyz wrote:
Hello,
How is it possible to paint this kind graph
http://pcp.oxfordjournals.org
Hello,
I do not know how to extract coordinates from a dict in order to paint
all three graphs:
from pprint import pprint
import matplotlib.pyplot as plt
fig = plt.figure()
data = {}# dict could contains more date, depends from the user input
#d1, d2, d3, are labels
data['d1'] =
Hello,
I have found
http://matplotlib.sourceforge.net/plot_directive/mpl_examples/pylab_examples/histogram_demo_extended_05.hires.png
http://matplotlib.sourceforge.net/plot_directive/mpl_examples/pylab_examples/histogram_demo_extended.py
How is it possible to the following draw stacked bar charts
On 03/30/2011 05:01 AM, Paul Ivanov wrote:
Michael Droettboom, on 2011-03-29 10:12, wrote:
On 03/29/2011 09:08 AM, xyz wrote:
Hi,
X and Y values are stored in a dict whereas X is the key and Y is the
value in the following code:
import matplotlib.pyplot as plt
data = {4: 3, 5: 4, 6: 5, 7
Hi,
X and Y values are stored in a dict whereas X is the key and Y is the
value in the following code:
import matplotlib.pyplot as plt
data = {4: 3, 5: 4, 6: 5, 7: 4, 8: 5}
print data
for i in sorted(data.keys()):
print i
How is possible to use plot with a dict in order to get a similar
On 30/08/10 23:34, Ryan May wrote:
On Mon, Aug 30, 2010 at 4:44 AM, xyzmit...@op.pl wrote:
On 30/08/10 03:51, Benjamin Root wrote:
maxy = max(max(y1), max(y2))
maxx = max(x)
ax.set_xlim((0.0, maxx))
ax.set_ylim((0.0, maxy))
Thank you, but unfortunately I have still the same problems:
*
On 30/08/10 03:51, Benjamin Root wrote:
maxy = max(max(y1), max(y2))
maxx = max(x)
ax.set_xlim((0.0, maxx))
ax.set_ylim((0.0, maxy))
Thank you, but unfortunately I have still the same problems:
* plt.text appears outside x and y coordinates
* and the coordinates starts not from 0
with the
On 29/08/10 17:28, Eric Firing wrote:
On 08/28/2010 06:40 PM, xyz wrote:
Hello,
If I use autoscale_view than:
* plt.text appears outside x and y coordinates
* and the coordinates starts do not from 0 whereas I use ax.set_xlim(0)
and ax.set_ylim(0)
What did I wrong?
The call
On 29/08/10 17:28, Eric Firing wrote:
On 08/28/2010 06:40 PM, xyz wrote:
Hello,
If I use autoscale_view than:
* plt.text appears outside x and y coordinates
* and the coordinates starts do not from 0 whereas I use ax.set_xlim(0)
and ax.set_ylim(0)
What did I wrong?
The call
Hello,
If I use autoscale_view than:
* plt.text appears outside x and y coordinates
* and the coordinates starts do not from 0 whereas I use ax.set_xlim(0)
and ax.set_ylim(0)
What did I wrong?
from pylab import *
import matplotlib.pyplot as plt
x = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13,
Hello,
I would like to draw the following triangle:
A
/ \
5 / \ 5
/ \
/ \
BC
4
How is it possible to draw the above triangle with Matplotlib and are
there any examples?
Than you in advance.
On 26/08/10 01:15, Benjamin Root wrote:
I believe you are asking why the x axis starts at 2? This is because
matplotlib will automatically set the limits of your plot to show all
of your data. If you can control the axes yourself by calling
set_xlim() and/or set_ylim().
ax.set_xlim(0.0,
Hello,
What is the best way to create an automatically optimal size for picture
with figsize?
from pylab import *
import matplotlib.pyplot as plt
x = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
20, 21, 22, 23, 24, 25, 26, 27, 28, 29]
y1 = [20, 24, 8, 4, 12, 22, 31, 25,
:
plt.legend(('Model length', 'Data length', 'Something else'),
'best', shadow=True, fancybox=True)
Mike
On 08/24/2010 06:33 AM, xyz wrote:
Hello,
the following script creates a legend for only two instead of three
datasets.
---
from pylab import *
import
Hello,
the following script creates a legend for only two instead of three
datasets.
---
from pylab import *
import matplotlib.pyplot as plt
fig = plt.figure()
ax = fig.add_subplot(111)
for i in [[2,2], [2,3], [4.2,3.5]]:
print i[0],i[1]
plt.plot(i[0],i[1],'o')
ax.grid(True)
Hello,
I have the following code:
---
from pylab import *
import matplotlib.pyplot as plt
x = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
20, 21, 22, 23, 24, 25, 26, 27, 28, 29]
y = [20, 24, 8, 4, 12, 22, 31,
On 21/08/10 21:14, Jose Gómez-Dans wrote:
Use plt.text (x, y, point_labels ) or something along those lines.
Jose
With plt.text() the plot line is sometimes covered by the point labels.
Is there any option which recognise a collusion between the line and label?
from pylab import *
18 matches
Mail list logo