You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
(12) |
Sep
(12) |
Oct
(56) |
Nov
(65) |
Dec
(37) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(59) |
Feb
(78) |
Mar
(153) |
Apr
(205) |
May
(184) |
Jun
(123) |
Jul
(171) |
Aug
(156) |
Sep
(190) |
Oct
(120) |
Nov
(154) |
Dec
(223) |
| 2005 |
Jan
(184) |
Feb
(267) |
Mar
(214) |
Apr
(286) |
May
(320) |
Jun
(299) |
Jul
(348) |
Aug
(283) |
Sep
(355) |
Oct
(293) |
Nov
(232) |
Dec
(203) |
| 2006 |
Jan
(352) |
Feb
(358) |
Mar
(403) |
Apr
(313) |
May
(165) |
Jun
(281) |
Jul
(316) |
Aug
(228) |
Sep
(279) |
Oct
(243) |
Nov
(315) |
Dec
(345) |
| 2007 |
Jan
(260) |
Feb
(323) |
Mar
(340) |
Apr
(319) |
May
(290) |
Jun
(296) |
Jul
(221) |
Aug
(292) |
Sep
(242) |
Oct
(248) |
Nov
(242) |
Dec
(332) |
| 2008 |
Jan
(312) |
Feb
(359) |
Mar
(454) |
Apr
(287) |
May
(340) |
Jun
(450) |
Jul
(403) |
Aug
(324) |
Sep
(349) |
Oct
(385) |
Nov
(363) |
Dec
(437) |
| 2009 |
Jan
(500) |
Feb
(301) |
Mar
(409) |
Apr
(486) |
May
(545) |
Jun
(391) |
Jul
(518) |
Aug
(497) |
Sep
(492) |
Oct
(429) |
Nov
(357) |
Dec
(310) |
| 2010 |
Jan
(371) |
Feb
(657) |
Mar
(519) |
Apr
(432) |
May
(312) |
Jun
(416) |
Jul
(477) |
Aug
(386) |
Sep
(419) |
Oct
(435) |
Nov
(320) |
Dec
(202) |
| 2011 |
Jan
(321) |
Feb
(413) |
Mar
(299) |
Apr
(215) |
May
(284) |
Jun
(203) |
Jul
(207) |
Aug
(314) |
Sep
(321) |
Oct
(259) |
Nov
(347) |
Dec
(209) |
| 2012 |
Jan
(322) |
Feb
(414) |
Mar
(377) |
Apr
(179) |
May
(173) |
Jun
(234) |
Jul
(295) |
Aug
(239) |
Sep
(276) |
Oct
(355) |
Nov
(144) |
Dec
(108) |
| 2013 |
Jan
(170) |
Feb
(89) |
Mar
(204) |
Apr
(133) |
May
(142) |
Jun
(89) |
Jul
(160) |
Aug
(180) |
Sep
(69) |
Oct
(136) |
Nov
(83) |
Dec
(32) |
| 2014 |
Jan
(71) |
Feb
(90) |
Mar
(161) |
Apr
(117) |
May
(78) |
Jun
(94) |
Jul
(60) |
Aug
(83) |
Sep
(102) |
Oct
(132) |
Nov
(154) |
Dec
(96) |
| 2015 |
Jan
(45) |
Feb
(138) |
Mar
(176) |
Apr
(132) |
May
(119) |
Jun
(124) |
Jul
(77) |
Aug
(31) |
Sep
(34) |
Oct
(22) |
Nov
(23) |
Dec
(9) |
| 2016 |
Jan
(26) |
Feb
(17) |
Mar
(10) |
Apr
(8) |
May
(4) |
Jun
(8) |
Jul
(6) |
Aug
(5) |
Sep
(9) |
Oct
(4) |
Nov
|
Dec
|
| 2017 |
Jan
(5) |
Feb
(7) |
Mar
(1) |
Apr
(5) |
May
|
Jun
(3) |
Jul
(6) |
Aug
(1) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2025 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
1
(2) |
2
(4) |
3
(6) |
4
(20) |
5
(2) |
|
6
(9) |
7
(18) |
8
(14) |
9
(5) |
10
(27) |
11
(40) |
12
(9) |
|
13
(4) |
14
(20) |
15
(9) |
16
(8) |
17
(10) |
18
(17) |
19
(1) |
|
20
(5) |
21
(6) |
22
(4) |
23
(4) |
24
(6) |
25
(4) |
26
(2) |
|
27
|
28
(2) |
29
(10) |
30
(6) |
31
(16) |
|
|
|
From: Giorgio L. <gio...@ch...> - 2007-05-15 15:08:57
|
Dear All, me and other two colleagues will be interested in writing a tutorial book about the use of opensource/freeware software in chemometrics (mainly python oriented). I've contacted the editor at Blackwell publishing that has told me that can be interested in it and sent me the module for submitting the "official" proposal. I will be very glad to hear from everyone that would like to write a chapter on it. In my opinion it will be the best to have a book with lots of examples that covers "simple" task, but i will be also glad if anyone would like to write tutorial chapter of less commons subjects. for any feedback just write to me I guess this can be both a change for spread the word of opensouce/freeware togheter with chemometrics also to let know the audience that it's not necessary to invest a lot of money in software for working in chemometrics. Of course, since there are not too much freeware/opensource software in the field, it can be a chance to "advertise" personal built-in software and to "start" something new. I hope to receive help and I will be glad to talk with enthusiast all around Giorgio P.S.: (sorry for cross posting) -- -======================- Dr Giorgio Luciano Ph.D. Di.C.T.F.A. Dipartimento di Chimica e Tecnologie Farmaceutiche e Alimentari Via Brigata Salerno (ponte) - 16147 Genova (GE) - Italy email lu...@di... www.chemometrics.it -======================- |
|
From: Matthias M. <Mat...@gm...> - 2007-05-15 13:36:32
|
Hello Bernhard,
I'm not sure if my answer really fits your question, but it may help to use
>>> from matplotlib import rc
>>> rc('text', usetex=True)
like in the tex_demo.py (http://matplotlib.sourceforge.net/screenshots) or to
change your matplotlibrc (for explanation see:
http://www.scipy.org/Wiki/Cookbook/Matplotlib/UsingTex).
Seems to work for me.
best regards,
Matthias
On Tuesday 15 May 2007 15:14, Bernhard Voigt wrote:
> Dear all,
>
> is it possible to insert newlines in mathtex text?
>
> neither \newline, nor \\ seem to be understood:
>
> In [20]: text(.5,.5, r'$This is the first line \\ this is the second
> line$')
>
> Results in a single line.
>
> By the way, when there is an error in the tex string, the caching behind
> the scenes seems to be broken:
>
> In [21]: text(.5,.5, r'$This is the first line \newline this is the second
> line$')
> .....
> ValueError: unrecognized symbol "\newline"
>
> # removing the \newline command still yields the same ValueError
> In [23]: text(.5,.5, r'$This is the first line, this is the second line$')
> .....
> ValueError: unrecognized symbol "\newline"
>
>
> Thanks! Bernhard
>
>
> PS: matplotlib version is 0.87.7
|
|
From: Bernhard V. <ber...@gm...> - 2007-05-15 13:14:45
|
Dear all, is it possible to insert newlines in mathtex text? neither \newline, nor \\ seem to be understood: In [20]: text(.5,.5, r'$This is the first line \\ this is the second line$') Results in a single line. By the way, when there is an error in the tex string, the caching behind the scenes seems to be broken: In [21]: text(.5,.5, r'$This is the first line \newline this is the second line$') ..... ValueError: unrecognized symbol "\newline" # removing the \newline command still yields the same ValueError In [23]: text(.5,.5, r'$This is the first line, this is the second line$') ..... ValueError: unrecognized symbol "\newline" Thanks! Bernhard PS: matplotlib version is 0.87.7 |
|
From: Darren D. <dd...@co...> - 2007-05-15 11:47:44
|
On Friday 11 May 2007 6:32:14 pm Michele Mazzucco wrote:
> > On Friday 11 May 2007 05:16:04 pm Michele Mazzucco wrote:
> > > I'm running matplotlib on Mac OS X and I've set text.usetex to True in
> > > matplotlibrc, but if I try to run the tex_demo I get the error shown
> > > below. If I'm right it's a problem with dvipng:
> > >
> > > dvipng -version
> > > This is dvipng 1.6 Copyright 2002-2005 Jan-Ake Larsson
> > > dvipng 1.6
> > > kpathsea version 3.5.5
> > > Copyright (C) 2002-2005 Jan-Ake Larsson.
> > > There is NO warranty. You may redistribute this software
> > > under the terms of the GNU General Public License.
> > > For more information about these matters, see the files
> > > named COPYING and dvipng.c.
[...]
> > > "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-p
> > >acka ges/matplotlib/texmanager.py", line 58, in get_dvipng_version
> > > raise RuntimeError('Could not obtain dvipng version')
> > > RuntimeError: Could not obtain dvipng version
>
> On 5/11/07, Darren Dale <dd...@co...> wrote:
> > Is dvipng on your path?
>
> Yes, because dvipng - version works fine.
what about "dvipng --version", does that fail?
|
|
From: John H. <jd...@gm...> - 2007-05-15 02:46:27
|
On 5/14/07, Iyer <mas...@ya...> wrote: > It's cool creating annotations, when the pan tool is > used , I see that the markers/annotations do not > behave in the same way as that of the plot -- i.e., > when I pan towards the left or right, the annotations > do not disappear with the plot at the boundaries of > the subplot. The annotations continue to be displayed. This is part feature, part bug. The feature part is that you don't always want you annotation clipped -- sometimes you explicitly want the annotation outside the axes and not clipped (eg in the polar demo of examples/annotation_demo.py). The bug part is that sometimes you do want it clipped, and this is currently broken. The version you are using is different than the svn version, and thus still broken, but I just committed changes to svn to fix this, so if you want clipping you can enable it with a = ax.annotate(something, ..., clip_on=True) Again, this will only work with svn mpl (and in the next release) Thanks for the report! JDH |
|
From: Iyer <mas...@ya...> - 2007-05-15 01:06:21
|
It's cool creating annotations, when the pan tool is
used , I see that the markers/annotations do not
behave in the same way as that of the plot -- i.e.,
when I pan towards the left or right, the annotations
do not disappear with the plot at the boundaries of
the subplot. The annotations continue to be displayed.
Any solution for this ?
I've attached illustrations.
-thanks
iyer
____________________________________________________________________________________Give spam the boot. Take control with tough spam protection in the all-new Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_html.html |
|
From: Iyer <mas...@ya...> - 2007-05-15 00:48:31
|
Hi
I apologize for my late response, I was in the
hospital.
Thanks for the tip, the ticks are now magically
divided by a constant.
Here's some input on scaling the input data:
Say -- you have 25000 points of data. You want to
capture each and every point of data on a plot. Mpl
lists the ticks as a function of the number of data
points, which is cool. Now comes a situation where in
you want to manipulate the ticks to display - say the
time, for eg., the 100th data point came in at 1 sec,
the 200th came in at 2 sec, and so on - Is scaling the
input data the way to go ?
-iyer
--- John Hunter <jd...@gm...> wrote:
> On 4/10/07, Iyer <mas...@ya...> wrote:
>
> > If only someone could guide me, so that I can
> > understand better how to "translate" the ticks
> from
> > the default "number of sample" ticks to that of
> > different ticks - say
> > new_ticks=original_ticks/(some_constant). Right
> now
> > I'm clueless, your input will help a lot in
> > understanding Mpl.
>
>
> OK, your persistence is admirable. You are still
> asking the wrong
> question and applying the wrong solution, but
> dog-golly, you've earned
> the right to do it the wrong way!
>
> from matplotlib.ticker import FuncFormatter
>
> def myformatter(x, pos=None):
> return '%1.3f'%(x/4.)
>
> ax = subplot(111)
> ax.plot(x, y)
>
ax.xaxis.set_major_formatter(FuncFormatter(myformatter))
>
> Now all your ticks are magically divided by 4.
>
> But really, simply scaling your x input data is the
> way to go. If we
> want to move this conversation forward, you should
> try instead
>
> plot(x/4, y)
>
> and then explain as clearly as possibly this doesn't
> do what you want.
>
____________________________________________________________________________________Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow
|
|
From: <kc1...@ya...> - 2007-05-14 23:08:36
|
Not exactly OT.
I would not recommend using .eps format in order to
export MPL graphs for Inkscape. I've been playing
around with Inkscape for a few days now and I've been
using .svg exclusively and don't have any problem.
As I said before, I like the fact that once I am
inside Inscape, I can do an ungroup of the graph, and
work with all of the plotting elements individually.
In fact, I just discover a nice way to "cut and paste"
a particular subplot over to PowerPoint. This gives
me very high quality graphs in Power Point (I can
scale all I want). No more fuzzy, ugly-looking Power
Point charts.
Here's how:
a) Create MPL plots in .svg format
b) From Inscape, read in .svg
c) Select subplot and ungroup
d) Copy and paste to a new page
e) Shrink the page down to the size of the object
f) Save as emf file
g) Import into PowerPoint
In addition, I am also using Inscape to get around the
problem with the PDF backend in MPL. I reported
previously that I am unable to save more then 8 PDF
files per execuation. Now, I save the files in .svg
format, then invoke Inscape in command line mode and
export the file in pdf format. Works great.
Regards,
> -----Original Message-----
> From: mat...@li...
>
[mailto:mat...@li...]
On
> Behalf Of Fernando Perez
> Sent: Saturday, May 12, 2007 9:57 AM
> To: Steve Schmerler
> Cc: mat...@li...
> Subject: Re: [Matplotlib-users] SVG vs PNG
>
>
> On 5/12/07, Steve Schmerler wrote:
> > Fernando Perez wrote:
> > >
> > > Did you install pstoedit? If you do, you'll see
that
> inkscape will
> > > then be able to load .eps/.ps files in a fully
editable format.
> > > I've used it to fix decade-old plots for which
the only
> thing around
> > > was the eps file.
> > >
> >
> > I tried to export an .svg from MPL (0.90.0rev3131)
with
> > rcParams['text.usetex']=True and got a
NotImplementedError
> (same for
> > the pdf backend with usetex, see attached log). I
was
> wondering: Is it
> > (technically) possible to have .svg export
capabilities with
> > usetex-support and if so, has there been no need
for this
> feature so
> > far (not that I need it urgently, just curious..)?
>
> There's actually a real MPL bug in there (not just
the
> NotImplementedError) but I'll report it separately
in a minute.
>
> > Anyway, to work with MPL-images (.ps/.eps) in
Inkscape, I installed
> > pstoedit but loading these files doesn't work
(seems not to
> recognize
> > them as images). Sorry if I'm driving the
Inkscape-stuff a bit OT
> > here, but: What version of Inkscape & friends are
you
> using? I'm using
> > pstoedit 3.44, Inkscape 0.44.1. The
Latex-formula-feature
> of Inkscape
> > is also not working and the error seems related to
pstoedit. Maybe
> > someone had similar experiences ...
> >
> > Thanks for any hint!
>
> Well, unfortunately it seems that inkscape is
crashing python
> itself... I made a trivial .eps in mpl with:
>
> In [1]: plot(range(10))
> Out[1]: [<matplotlib.lines.Line2D instance at
0x8f45a8c>]
>
> In [2]: title(r'Some \LaTeX $\int_0^\infty f(\gamma)
d\gamma = 1$')
> Out[2]: <matplotlib.text.Text instance at 0x8f4590c>
>
> In [3]: savefig('foo.eps')
>
>
> and when I tried to load it into inkscape, I got
this very
> nasty traceback:
>
> *** glibc detected *** /usr/bin/python: free():
invalid
> pointer: 0x4081e4e0 *** ======= Backtrace: =========
> /lib/tls/i686/cmov/libc.so.6[0x400ee7cd]
> /lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0x400f1e30]
>
/usr/lib/skencil/Sketch/../Lib/streamfilter.so[0x404e7ce5]
>
/usr/lib/skencil/Sketch/../Lib/streamfilter.so[0x404e7cd2]
> /usr/bin/python[0x8110e6a]
> /usr/bin/python(PyEval_EvalCodeEx+0x313)[0x80c9903]
>
> etc.
>
> At this point, this is really becoming OT for the
mpl list,
> so I'll stop. But if anyone has the time, it might
be worth
> sending this example to the inkscape list so they
work on it
> and hopefully fix it.
>
> Cheers,
>
> f
--
John Henry
|
|
From: Darren D. <dd...@co...> - 2007-05-14 20:46:33
|
On Monday 14 May 2007 1:29:05 pm Alexander Schmolck wrote:
> Darren Dale <dd...@co...> writes:
> > On Monday 14 May 2007 9:02:08 am Lev Givon wrote:
> >> In the matplotlib-users list archive, I noticed that someone once
> >> mooted the possibility of patching the matplotlib LaTeX code to
> >> provide a user-configurable parameter that would allow one to add
> >> extra lines to the LaTeX preamble. I didn't see any responses from the
> >> matplotlib developers regarding their opinions of the suggested patch,
> >> however.
> >
> > I am not in favor of adding a parameter that allows users to add
> > additional lines to the preamble. It took a lot of work to get usetex
> > working on all platforms, and I just don't have the kind of time anymore
> > to add an option that will allow endless configuration of latex
> > parameters. It's not the implementation of the patch that is the problem,
> > it is all the support requests that will follow from latex-specific
> > failures related to customized preamble settings.
>
> I'd *really* like the ability to ``usepackage`` for various reasons and it
> would clearly add useful functionality that is not otherwise obtainable.
>
> I understand concern about an additional support burden, but couldn't this
> be handled by explicitly noting that it's unsupported, possibly even
> printing out an unsubtle warning like so:
>
> warnings.warn("""
> ***************************************************************************
>******** * YOU SPECIFIED A CUSTOM LATEX-PREAMBLE -- THIS IS AN UNSUPPORTED
> FEATURE. * * PLEASE DO NOT REPORT PROBLEMS TO
> mat...@li... * * BEFORE YOU HAVE REMOVED
> YOUR latex_preamble=... SETTING. *
> ***************************************************************************
>******** """)
>
> ?
As far as I'm concerned, being unsupported disqualifies the feature from being
included in mpl.
Darren
|
|
From: Robert K. <rob...@gm...> - 2007-05-14 18:57:38
|
Christopher Barker wrote: > Robert Kern wrote: >> Mark Bakker wrote: >>> I think it would be very useful to have one installer that gets a >>> reasonable distrubtion installed (like the old Enthought installer). >>> Isn't something like that in the works for the Mac? >> Not anymore it isn't. We are in the process of building eggs for the Mac, though. > > What's the plan with: > > - PPC vs. Intel -- has someone figured out how to make Universal > binaries from Fortran? I think we're just going to build on Intel. Most things will be Universal, but scipy won't. > - wxPython versioning -- though if you go with 2.8+ you should be able > to keep that easy. If you need some wxPython/MPL testing -- let me know, > and I'll try to help. We're looking at moving our stuff to wx 2.8 in the near term, so probably that. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco |
|
From: Christopher B. <Chr...@no...> - 2007-05-14 18:20:58
|
Robert Kern wrote: > Mark Bakker wrote: >> I think it would be very useful to have one installer that gets a >> reasonable distrubtion installed (like the old Enthought installer). >> Isn't something like that in the works for the Mac? > > Not anymore it isn't. We are in the process of building eggs for the Mac, though. What's the plan with: - PPC vs. Intel -- has someone figured out how to make Universal binaries from Fortran? - wxPython versioning -- though if you go with 2.8+ you should be able to keep that easy. If you need some wxPython/MPL testing -- let me know, and I'll try to help. -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chr...@no... |
|
From: Christopher B. <Chr...@no...> - 2007-05-14 18:13:03
|
Jouni K. Sepp=E4nen wrote: > However, some time ago I committed the > beginnings of a dvi parser and a little support code in the pdf > backend, enough to get a small demo almost working: >=20 > http://article.gmane.org/gmane.comp.python.matplotlib.devel/2687 >=20 > I have no idea how difficult it would be to get this working=20 I have no idea either, but thanks for getting this started -- it is=20 absolutely the way to go -- that's the whole point of DVI (DeVice=20 Independent) -CHB --=20 Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chr...@no... |
|
From: Alexander S. <a.s...@gm...> - 2007-05-14 17:29:14
|
Darren Dale <dd...@co...> writes:
> On Monday 14 May 2007 9:02:08 am Lev Givon wrote:
>> In the matplotlib-users list archive, I noticed that someone once
>> mooted the possibility of patching the matplotlib LaTeX code to
>> provide a user-configurable parameter that would allow one to add
>> extra lines to the LaTeX preamble. I didn't see any responses from the
>> matplotlib developers regarding their opinions of the suggested patch,
>> however.
>
> I am not in favor of adding a parameter that allows users to add additional
> lines to the preamble. It took a lot of work to get usetex working on all
> platforms, and I just don't have the kind of time anymore to add an option
> that will allow endless configuration of latex parameters. It's not the
> implementation of the patch that is the problem, it is all the support
> requests that will follow from latex-specific failures related to customized
> preamble settings.
I'd *really* like the ability to ``usepackage`` for various reasons and it
would clearly add useful functionality that is not otherwise obtainable.
I understand concern about an additional support burden, but couldn't this be
handled by explicitly noting that it's unsupported, possibly even printing out
an unsubtle warning like so:
warnings.warn("""
***********************************************************************************
* YOU SPECIFIED A CUSTOM LATEX-PREAMBLE -- THIS IS AN UNSUPPORTED FEATURE. *
* PLEASE DO NOT REPORT PROBLEMS TO mat...@li... *
* BEFORE YOU HAVE REMOVED YOUR latex_preamble=... SETTING. *
***********************************************************************************
""")
?
cheers,
'as
|
|
From: Robert K. <rob...@gm...> - 2007-05-14 17:20:52
|
Mark Bakker wrote: > I think it would be very useful to have one installer that gets a > reasonable distrubtion installed (like the old Enthought installer). > Isn't something like that in the works for the Mac? Not anymore it isn't. We are in the process of building eggs for the Mac, though. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco |
|
From: Darren D. <dd...@co...> - 2007-05-14 14:08:02
|
On Monday 14 May 2007 10:00:22 am Whyking wrote: > On 5/14/07, Darren Dale <dd...@co...> wrote: > > On Monday 14 May 2007 9:33:06 am Whyking wrote: > > > Hi List, > > > > > > my rendered latex fonts do not get displayed correctly when I use font > > > sizes smaller than 10. I use linux with the following latex version: > > > pdfeTeX 3.141592-1.30.5-2.2 (Web2C 7.5.5) > > > > > > When integrating the eps in my latex script the font inside the plots > > > consists just of small vertical lines instead of the text. When I use a > > > font size larger or equal than 10 the text gets displayed correctly. > > > The problem seems to be font-family independent. > > > > > > Where could be the problem? Matplotlib, latex? Does someone has the > > > same problem? > > > > No problems here. I'm using the same version of latex that you are. Fonts > > render correctly with both the ghostscript (default) and xpdf distiller > > options. > > > > Darren > > I just tried it with xpdf distiller (didn't know about that option before) > and it works fine! So ghostscript seems to be the problem. I use > ghostscript-esp 8.15.4, maybe there is some incompatibility there? That could be, I'm using GPL ghostscript 8.54. |
|
From: Darren D. <dd...@co...> - 2007-05-14 14:05:13
|
On Monday 14 May 2007 9:02:08 am Lev Givon wrote: > Received from Darren Dale on Sun, May 13, 2007 at 08:13:43PM EDT: > > On Sunday 13 May 2007 6:32:56 pm Lev Givon wrote: > > (snip) > > > > Ah..I see what was going on; the numerical ticks are output in LaTeX > > > math mode (e.g., $123$) and therefore rendered in CM if the specified > > > fonts do not provide any math fonts. Is there a way to use LaTeX font > > > packages such as euler, ccfonts, and cmbright? > > > > Not at present, no. > > In the matplotlib-users list archive, I noticed that someone once > mooted the possibility of patching the matplotlib LaTeX code to > provide a user-configurable parameter that would allow one to add > extra lines to the LaTeX preamble. I didn't see any responses from the > matplotlib developers regarding their opinions of the suggested patch, > however. I am not in favor of adding a parameter that allows users to add additional lines to the preamble. It took a lot of work to get usetex working on all platforms, and I just don't have the kind of time anymore to add an option that will allow endless configuration of latex parameters. It's not the implementation of the patch that is the problem, it is all the support requests that will follow from latex-specific failures related to customized preamble settings. Darren |
|
From: Whyking <wh...@gm...> - 2007-05-14 14:00:29
|
On 5/14/07, Darren Dale <dd...@co...> wrote: > > On Monday 14 May 2007 9:33:06 am Whyking wrote: > > Hi List, > > > > my rendered latex fonts do not get displayed correctly when I use font > > sizes smaller than 10. I use linux with the following latex version: > > pdfeTeX 3.141592-1.30.5-2.2 (Web2C 7.5.5) > > > > When integrating the eps in my latex script the font inside the plots > > consists just of small vertical lines instead of the text. When I use a > > font size larger or equal than 10 the text gets displayed correctly. The > > problem seems to be font-family independent. > > > > Where could be the problem? Matplotlib, latex? Does someone has the same > > problem? > > No problems here. I'm using the same version of latex that you are. Fonts > render correctly with both the ghostscript (default) and xpdf distiller > options. > > Darren I just tried it with xpdf distiller (didn't know about that option before) and it works fine! So ghostscript seems to be the problem. I use ghostscript-esp 8.15.4, maybe there is some incompatibility there? Anyway, for me the problem is fixed. Thanks a lot! Whyking |
|
From: Darren D. <dd...@co...> - 2007-05-14 13:48:50
|
On Monday 14 May 2007 9:33:06 am Whyking wrote: > Hi List, > > my rendered latex fonts do not get displayed correctly when I use font > sizes smaller than 10. I use linux with the following latex version: > pdfeTeX 3.141592-1.30.5-2.2 (Web2C 7.5.5) > > When integrating the eps in my latex script the font inside the plots > consists just of small vertical lines instead of the text. When I use a > font size larger or equal than 10 the text gets displayed correctly. The > problem seems to be font-family independent. > > Where could be the problem? Matplotlib, latex? Does someone has the same > problem? No problems here. I'm using the same version of latex that you are. Fonts render correctly with both the ghostscript (default) and xpdf distiller options. Darren |
|
From: Whyking <wh...@gm...> - 2007-05-14 13:33:10
|
Hi List,
my rendered latex fonts do not get displayed correctly when I use font sizes
smaller than 10. I use linux with the following latex version:
pdfeTeX 3.141592-1.30.5-2.2 (Web2C 7.5.5)
When integrating the eps in my latex script the font inside the plots
consists just of small vertical lines instead of the text. When I use a font
size larger or equal than 10 the text gets displayed correctly. The problem
seems to be font-family independent.
Where could be the problem? Matplotlib, latex? Does someone has the same
problem?
Here is some example code, it is from the matplotlib cookbook with the font
size changed which produces a plot with scrambled text:
import pylab
from pylab import arange,pi,sin,cos,sqrt
fig_width_pt = 246.0 # Get this from LaTeX using \showthe\columnwidth
inches_per_pt = 1.0/72.27 # Convert pt to inch
golden_mean = (sqrt(5)- 1.0)/2.0 # Aesthetic ratio
fig_width = fig_width_pt*inches_per_pt # width in inches
fig_height = fig_width*golden_mean # height in inches
fig_size = [fig_width,fig_height]
params = {'backend': 'ps',
'axes.labelsize': 8,
'text.fontsize': 8,
'xtick.labelsize': 8,
'ytick.labelsize': 8,
'text.usetex': True,
' figure.figsize': fig_size}
pylab.rcParams.update(params)
# Generate data
x = pylab.arange(-2*pi,2*pi,0.01)
y1 = sin(x)
y2 = cos(x)
# Plot data
pylab.figure(1)
pylab.clf()
pylab.axes([0.125, 0.2 ,0.95-0.125,0.95-0.2])
pylab.plot(x,y1,'g:',label='$\sin(x)$')
pylab.plot(x,y2,'-b',label='$\cos(x)$')
pylab.xlabel('$x$ (radians)')
pylab.ylabel('$y$')
pylab.legend ()
pylab.savefig('fig1.eps')
Cheers,
Whyking
|
|
From: Yves M. <ym...@gr...> - 2007-05-14 13:08:17
|
John Washakie a écrit : > Hello, > > I want to use matplotlib with Plone. I have it installed on my > machine, but not for the Plone instance of Python. What are the steps > I need to take to install it so that it is recognized by the Plone > Python instance? > Thanks! > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ Hi, Please search the list. The questions came up 2 or 3 times over the last year or so. Good luck, Yves Moisan |
|
From: Lev G. <le...@co...> - 2007-05-14 13:03:29
|
Received from Darren Dale on Sun, May 13, 2007 at 08:13:43PM EDT: > On Sunday 13 May 2007 6:32:56 pm Lev Givon wrote: (snip) > > Ah..I see what was going on; the numerical ticks are output in LaTeX > > math mode (e.g., $123$) and therefore rendered in CM if the specified > > fonts do not provide any math fonts. Is there a way to use LaTeX font > > packages such as euler, ccfonts, and cmbright? > > Not at present, no. In the matplotlib-users list archive, I noticed that someone once mooted the possibility of patching the matplotlib LaTeX code to provide a user-configurable parameter that would allow one to add extra lines to the LaTeX preamble. I didn't see any responses from the matplotlib developers regarding their opinions of the suggested patch, however. L.G. |
|
From: Whyking <wh...@gm...> - 2007-05-14 13:01:26
|
Hi List,
my rendered latex fonts do not get displayed correctly when I use font sizes
smaller than 10. I use linux with the following latex version:
pdfeTeX 3.141592-1.30.5-2.2 (Web2C 7.5.5)
When integrating the eps in my latex script the font inside the plots
consists just of small vertical lines instead of the text. When I use a font
size larger or equal than 10 the text gets displayed correctly. The problem
seems to be font-family independent.
Where could be the problem? Matplotlib, latex? Does someone has the same
problem?
Here is some example code, it is from the matplotlib cookbook with the font
size changed which produces a plot with scrambled text:
import pylab
from pylab import arange,pi,sin,cos,sqrt
fig_width_pt = 246.0 # Get this from LaTeX using \showthe\columnwidth
inches_per_pt = 1.0/72.27 # Convert pt to inch
golden_mean = (sqrt(5)- 1.0)/2.0 # Aesthetic ratio
fig_width = fig_width_pt*inches_per_pt # width in inches
fig_height = fig_width*golden_mean # height in inches
fig_size = [fig_width,fig_height]
params = {'backend': 'ps',
'axes.labelsize': 8,
'text.fontsize': 8,
'xtick.labelsize': 8,
'ytick.labelsize': 8,
'text.usetex': True,
' figure.figsize': fig_size}
pylab.rcParams.update(params)
# Generate data
x = pylab.arange(-2*pi,2*pi,0.01)
y1 = sin(x)
y2 = cos(x)
# Plot data
pylab.figure(1)
pylab.clf()
pylab.axes([0.125, 0.2 ,0.95-0.125,0.95-0.2])
pylab.plot(x,y1,'g:',label='$\sin(x)$')
pylab.plot(x,y2,'-b',label='$\cos(x)$')
pylab.xlabel('$x$ (radians)')
pylab.ylabel('$y$')
pylab.legend ()
pylab.savefig('fig1.eps')
Cheers,
Whyking
|
|
From: Mark B. <ma...@gm...> - 2007-05-14 09:47:24
|
Hello list - I am trying to use FancyArrow to draw an arrow with given length. The length I use is from 0 to 100. I specify length_includes_head=True. This works fine when I specify a width and length. But when I specify an overhang, the length of the arrow becomes much longer than 100. Am I using overhang incorrectly? Here's a script with the problem: from pylab import * from matplotlib.patches import FancyArrow axis([0,120,0,100]) ax = gca() a = FancyArrow( 0, 40, 100, 0, length_includes_head=True, head_width=5, head_length=5) ax.add_patch(a) b = FancyArrow( 0, 60, 100, 0, length_includes_head=True, head_width=5, head_length=5, overhang=5) ax.add_patch(b) draw_if_interactive() Thanks, Mark |
|
From: Bill B. <wb...@gm...> - 2007-05-14 08:27:49
|
It seems like it would be a relatively easy thing for a Novice mode to be added to the Enstaller. The novice mode would just show you three happy buttons: install, upgrade, and uninstall. Under the hood it would be picking some particular set of packages for you. In fact even for experts it would be nice if there were some buttons that would select a sane set of standard packages from the list. There was just way too much stuff there the last time I tried it. I also had trouble telling what it was actually doing so I just went back to easy_install from the command line. Er, but this is probably a discussion for an enthought mailing list, not matplotlib... --bb On 5/14/07, Mark Bakker <ma...@gm...> wrote: > > Thanks for the pointer to the new egg installer of Enthought. > Nice app, which I will use. > > But this is, IMHO, not what we need to move the python/numpy/scipy/mpl > combo into the more mainstream use. > Many potential users won't know what to do with the long list of packages > that they have never heard of. > I think it would be very useful to have one installer that gets a > reasonable distrubtion installed (like the old Enthought installer). > Isn't something like that in the works for the Mac? > We can even make a python/numpy/scipy/mpl and then a seperate one that > also includes ipython and wxpython, for example. > > Or maybe a webpage where you can just select what eggs to install. > Would that be doable? > Anybody else think this is what we need? > > Mark > > > > Date: Fri, 11 May 2007 11:17:47 -0500 > > From: Robert Kern <rob...@gm...> > > Subject: Re: [Matplotlib-users] use of enthought Python for > > matplotlib/numpy > > To: mat...@li... > > Message-ID: <f224vf$blu$1...@se...> > > Content-Type: text/plain; charset=UTF-8 > > > > Giorgio Luciano wrote: > > > I would add one box of donuts, since I'm trying to make my own > > > distribution with numpy/scipy/matplotlib but with no success. > > > and the problem is the same is for a classroom ;) If anyone knows also > > a > > > portable distribution with this package I will add extra donuts ;) > > > > While we at Enthought are not updating the all-in-one installer anymore, > > we are > > distributing up-to-date binaries as eggs. > > > > http://code.enthought.com/enstaller/ > > > > -- > > Robert Kern > > > > "I have come to believe that the whole world is an enigma, a harmless > > enigma > > that is made terrible by our own mad attempt to interpret it as though > > it had > > an underlying truth." > > -- Umberto Eco > > > > > > > > > > ------------------------------ > > > > Message: 8 > > Date: Fri, 11 May 2007 11:48:59 -0500 > > From: "John Hunter" < jd...@gm...> > > Subject: Re: [Matplotlib-users] matplolib equivalent of gnuplot's > > impulse > > To: Emmanuel <emm...@fa...> > > Cc: mat...@li... > > Message-ID: > > <88e...@ma... > > > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > > > On 5/3/07, Emmanuel <emm...@fa...> wrote: > > > With gnuplot one can do a plot like that : > > > > > > http://www.deqnotes.net/gnuplot/images/impulses.png > > > > > > It is using option "with impulse". > > > Is there an equivalent in matplotlib? > > > > > > In [5]: t = arange(0.0, 2.0, 0.05) > > > > In [6]: s = sin(2*pi*t) > > > > In [7]: vlines(t, 0, s) > > Out[7]: <matplotlib.collections > > > > > > > > ------------------------------ > > > > Message: 9 > > Date: Fri, 11 May 2007 19:05:04 +0200 > > From: "Antonino Ingargiola" <tri...@gm...> > > Subject: Re: [Matplotlib-users] matplolib equivalent of gnuplot's > > impulse > > To: "John Hunter" < jd...@gm...> > > Cc: Emmanuel <emm...@fa...>, > > mat...@li... > > Message-ID: > > <548...@ma...> > > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > > > 2007/5/11, John Hunter <jd...@gm...>: > > > On 5/3/07, Emmanuel < emm...@fa...> wrote: > > > > With gnuplot one can do a plot like that : > > > > > > > > http://www.deqnotes.net/gnuplot/images/impulses.png > > > > > > > > It is using option "with impulse". > > > > Is there an equivalent in matplotlib? > > > > > > > > > In [5]: t = arange(0.0, 2.0, 0.05) > > > > > > In [6]: s = sin(2*pi*t) > > > > > > In [7]: vlines(t, 0, s) > > > Out[7]: <matplotlib.collections > > > > You are right! Very nice :-). > > > > ~ Antonio > > > > > > > > ------------------------------ > > > > Message: 10 > > Date: Fri, 11 May 2007 10:54:36 -0700 (PDT) > > From: kc1...@ya... > > Subject: Re: [Matplotlib-users] SVG vs PNG > > To: mat...@li... > > Message-ID: <214...@we...> > > Content-Type: text/plain; charset=ascii > > > > Thanks everybody for the explanation of svg in Gimp. That makes > > sense. Is there any vector based program that does what Gimp does? > > > > > Did you try eps rather than ps? > > > > > > Eric > > > > Yes, I tried eps. Word won't recognize that neither. > > > > As to the EMF format, I downloaded the package and attempted to apply > > the patch. Failed - probably because it's intended for 0.85 only. I > > am running 0.90 of MPL. Has anybody added EMF support to MPL 0.90successfully? > > > > Regards, > > > > > > > > -- > > John Henry > > > > > > > > > > > > ------------------------------ > > > > ------------------------------------------------------------------------- > > > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > > > ------------------------------ > > > > _______________________________________________ > > Matplotlib-users mailing list > > Mat...@li... > > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > > > > End of Matplotlib-users Digest, Vol 12, Issue 20 > > ************************************************ > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > |
|
From: Mark B. <ma...@gm...> - 2007-05-14 08:22:55
|
Hello list - I want to run mpl interactively from IDLE on Windows XP. For that I need to use the '-n' option when starting IDLE. However, in the recent version of Python, when I select the IDLE icon and right click to set the properties, the 'target' is now grey and cannot be edited. In the past I could edit the target and add the '-n' option. Not anymore. Any ideas how to change this? Thanks, Mark |