On Mon, Sep 24, 2012 at 12:21 AM, Paul Tremblay paulhtremb...@gmail.com
wrote:
Here is my example of a Pareto chart.
For an explanation of a Pareto chart:
http://en.wikipedia.org/wiki/Pareto_chart
Could I get this chart added to the matplolib gallery?
Thanks
Paul
On 9/24/12 4:40
Hello,
When I use something along the lines of
legend( (r'$0.5^x/x!$', r'$1^x/x!$') )
for some reason omegas are drawn instead of the ! sign. I can't find an
alternative here http://matplotlib.org/users/mathtext.html nor
elsewhere. Any ideas?
Many thanks,
Andreas
On Tue, Sep 25, 2012 at 11:10 AM, andreasl andre...@lavabit.com wrote:
Hello,
When I use something along the lines of
legend( (r'$0.5^x/x!$', r'$1^x/x!$') )
for some reason omegas are drawn instead of the ! sign. I can't find an
alternative here nor elsewhere. Any ideas?
Looks fine to
Hi,
For all those using newer macs [and I assume other newer computers] the
resolution on the plt.show popup window is a little rough (not sure of the
technical name). Is there a way to double up the resolution? I tried
changing a few things but none of them seemed to make much difference. Does
On Tue, Sep 25, 2012 at 8:14 AM, mdekauwe mdeka...@gmail.com wrote:
Hi,
For all those using newer macs [and I assume other newer computers] the
resolution on the plt.show popup window is a little rough (not sure of the
technical name). Is there a way to double up the resolution? I tried
On 25/09/12 11:44, Damon McDougall wrote:
On Tue, Sep 25, 2012 at 11:10 AM, andreasl andre...@lavabit.com wrote:
Hello,
When I use something along the lines of
legend( (r'$0.5^x/x!$', r'$1^x/x!$') )
for some reason omegas are drawn instead of the ! sign. I can't find an
alternative here
I tried your suggestions...the first one (Qt4Agg) resulted in an error
(below) so it looks like I am missing some packages and the second option
(TkAgg) pretty much gave the same quality as the macosx backend.
thanks.
File
This is working for me, even with text.usetex set to False. What
version of matplotlib are you using? Do you have anything set in your
matplotlibrc file?
Mike
On 09/25/2012 06:10 AM, andreasl wrote:
Hello,
When I use something along the lines of
legend( (r'$0.5^x/x!$', r'$1^x/x!$') )
List,
I am trying, with little success, to change the fonts on my plots. It
seems like a simple thing to do, but I can't seem to make it work.
First, here is the relevant section of my Matplotlibrc file:
backend : GTKAgg
font.family : sans-serif
font.style : normal
Do you have a font installed called Helvetica? That's pretty rare these
days... most systems have one of the many Helvetica clones instead.
Does fc-match Helvetica (at the commandline) return anything?
Mike
On 09/25/2012 10:05 AM, Steven Boada wrote:
List,
I am trying, with little
Hey Mike
$ fc-match Helvetica
n019003l.pfb: Nimbus Sans L Regular
Perhaps I don't have the fonts installed...
In my matplotlib/mpl-data/fonts/ I have the following fonts installed...
in ttf/
cmb10.ttf RELEASENOTES.TXT STIXSizFourSymBol.ttf VeraIt.ttf
cmex10.ttf
I think pareto charts are supposed to be percentages, not totals.
data = [83, 38, 7, 5, 5, 4, 4, 2, 1]
labels = [Vertical, Horizontal, Upper, Lower, Left, Right,
Behind, Front, Down]
colors = [#001499, #ff7f00, #9440ed, #edc240, #238c3f,
#a60085, #00cca3, #464f8c, #005947, #4d,
Those *.afm fonts are only available in the postscript backend when
ps.usecorefonts is set to True. Otherwise, you have to use
TrueType/OpenType fonts.
Mike
On 09/25/2012 12:11 PM, Steven Boada wrote:
Hey Mike
$ fc-match Helvetica
n019003l.pfb: Nimbus Sans L Regular
Perhaps I don't have
There are two problems with this chart:
1. The scale is wrong. Imagine that you can stack all the bars on top of
each other. When stacked, all the bars should fill in the graph exactly. In
other words: ax1.set_ylim = sum(defects). See my original, or the wiki page.
2. The line starts in the
On Tue, Sep 25, 2012 at 8:53 AM, mdekauwe mdeka...@gmail.com wrote:
I tried your suggestions...the first one (Qt4Agg) resulted in an error
(below) so it looks like I am missing some packages and the second option
(TkAgg) pretty much gave the same quality as the macosx backend.
thanks.
I am
On 09/25/2012 03:27 PM, andreasl wrote:
Thanks Mike. Interesting that it works for you with mathtext only.
I am in some confusion about the matplotlib version I'm using. Synaptic
(package manager) says that for matplotlib I have
0.99.1.2-3ubuntu1installed. Asking for help(matplotlib) in
Well perhaps it is fine, I wasn't really suggesting it was a bug. Just if I
stretched the plot window a bit the resolution looked a bit fuzzier than i
remembered. Perhaps my memory isn't a good test and I will compare it to the
computer at work. I just did a screen print and it looks fine unless
On 2012/09/25 9:23 AM, Damon McDougall wrote:
On Tue, Sep 25, 2012 at 8:09 PM, Benjamin Root ben.r...@ou.edu wrote:
On Tue, Sep 25, 2012 at 8:53 AM, mdekauwe mdeka...@gmail.com wrote:
I tried your suggestions...the first one (Qt4Agg) resulted in an error
(below) so it looks like I am
I have fixed it. Or, I have a better handle on what the stupid thing is
doing. LOL.
The problem was a couple of things.
1. Michael was right. There was no file named Helvetica.ttf installed
on my machine.
2. The path were I thought MPL was looking for files wasn't the right
path. I thought
Hi,
I'm playing with cbook.Grouper(), and I see that join() adds elements.
How do I remove elements?
Best,
Damon
--
Damon McDougall
http://www.damon-is-a-geek.com
B2.39
Mathematics Institute
University of Warwick
Coventry
West Midlands
CV4 7AL
United Kingdom
Yes, that works nice. So my final code, as minimalist as possible (while
still maintaining readability):
import matplotlib.pyplot as plt
import numpy as np
# the data to plot
defects = [32, 22, 15, 5, 2]
labels = ['vertical', 'horizontal', 'behind', 'left area', 'other']
the_sum = sum(defects) #
It doesn't have that functionality because we haven't needed it
internally. Feel free to add it if you need it.
Mike
On 09/25/2012 07:13 PM, Damon McDougall wrote:
Hi,
I'm playing with cbook.Grouper(), and I see that join() adds elements.
How do I remove elements?
Best,
Damon
In R, there are many default data sets one can use to both illustrate code
and explore the scripting language. Instead of having to fake data, one can
pull from meaningful data sets, created in the real world. For example,
this one liner actually produces a plot:
plot(mtcars$hp~mtcars$mpg)
where
On Wed, Sep 26, 2012 at 12:05 AM, Paul Tremblay paulhtremb...@gmail.com wrote:
In R, there are many default data sets one can use to both illustrate code
and explore the scripting language. Instead of having to fake data, one can
pull from meaningful data sets, created in the real world. For
24 matches
Mail list logo