SourceForge logo
SourceForge logo
Menu

matplotlib-users — Discussion related to using matplotlib

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
(38)
2
(31)
3
(9)
4
(13)
5
(24)
6
(11)
7
(8)
8
(14)
9
(7)
10
(4)
11
(7)
12
(11)
13
(16)
14
(19)
15
(11)
16
(9)
17
(3)
18
(4)
19
(47)
20
(28)
21
(9)
22
(9)
23
(11)
24
25
26
(12)
27
(22)
28
(20)
29
(16)
30
(19)

Showing 18 results of 18

From: Gökhan S. <gok...@gm...> - 2010年04月27日 22:33:01
We have old-stylers as well :) http://www.foxitsoftware.com/pdf/reader/ has
nice annotation tools for PDF reviewing, and its very fast and it works on
Linux through CrossOver (probably would work via wine as well).
What type of revision tracking do you use? Treat your documents like code?
Google code has in-place commenting option that makes me think that document
revisioning would be easier that way (one day when I start using Latex :) )
On Tue, Apr 27, 2010 at 4:32 PM, Ryan May <rm...@gm...> wrote:
> My advisor just writes on a print out of the PDF. I'll make the
> changes in the revision tracked latex document.
>
> Ryan
>
> On Tue, Apr 27, 2010 at 4:18 PM, Gökhan Sever <gok...@gm...>
> wrote:
> > Hi Ryan,
> > What is your typical reviewing process? Do you ask people to review on
> PDF
> > outputs or via version controlled Latex document?
> > OpenOffice also has a good review system where I can track my/others
> changes
> > easily.
> > On Tue, Apr 27, 2010 at 3:27 PM, Ryan May <rm...@gm...> wrote:
> >>
> >> I know this started with non-Latex, but I've found that passing around
> >> latex-generated PDFs works well to get reviews from non-Latex people.
> >> But then again, the people I work with don't rely upon MS Office's
> >> electronic editing capabilities.
> >>
> >> Ryan
> >>
> >> On Tue, Apr 27, 2010 at 12:43 PM, Gökhan Sever <gok...@gm...>
> >> wrote:
> >> > No, it comes with problems --especially in equation transformation.
> >> >
> >> > I mostly work on Linux (Fedora 12). I get MS Office 2007 installed
> >> > through
> >> > CrossOver, but it has glitches and doesn't look very safe to use for a
> >> > big
> >> > project.
> >> >
> >> > On Tue, Apr 27, 2010 at 12:17 PM, william ratcliff
> >> > <wil...@gm...> wrote:
> >> >>
> >> >> Have you had good luck keeping the formatting going between open
> office
> >> >> and MS word? What about equations?
> >> >>
> >> >> On Tue, Apr 27, 2010 at 12:42 PM, Gökhan Sever <
> gok...@gm...>
> >> >> wrote:
> >> >>>
> >> >>>
> >> >>> On Tue, Apr 27, 2010 at 11:23 AM, Konstantin Klementiev
> >> >>> <kkl...@ce...> wrote:
> >> >>>>
> >> >>>> >I like to use png files at 300dpi. I'm stuck using MS Word 2007 at
> >> >>>> > work, and
> >> >>>> >that's what works best in my experience. If MS ever starts to
> >> >>>> > support
> >> >>>> > svg
> >> >>>> >files.
> >> >>>> Or matplotlib starts to support emf-files... ;)
> >> >>>>
> >> >>>> BTW, why the emf format is in the list of export formats whereas it
> >> >>>> is
> >> >>>> not
> >> >>>> actually supported?
> >> >>>> Its presence there gives hope that the matplotlib developers will
> >> >>>> finally want
> >> >>>> to implement it.
> >> >>>
> >> >>> EMF works if you install pyemf package. It seems good on screen
> except
> >> >>> that it kills the text when I import emf image into Open Office
> >> >>> Writer,
> >> >>> worse than on EPS :)
> >> >>>
> >> >>>
> >> >>> --
> >> >>> Gökhan
> >> >>>
> >> >>>
> >> >>>
> >> >>>
> ------------------------------------------------------------------------------
> >> >>>
> >> >>> _______________________________________________
> >> >>> Matplotlib-users mailing list
> >> >>> Mat...@li...
> >> >>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> >> >>>
> >> >>
> >> >
> >> >
> >> >
> >> > --
> >> > Gökhan
> >> >
> >> >
> >> >
> ------------------------------------------------------------------------------
> >> >
> >> > _______________________________________________
> >> > Matplotlib-users mailing list
> >> > Mat...@li...
> >> > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> >> >
> >> >
> >>
> >>
> >>
> >> --
> >> Ryan May
> >> Graduate Research Assistant
> >> School of Meteorology
> >> University of Oklahoma
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> _______________________________________________
> >> Matplotlib-users mailing list
> >> Mat...@li...
> >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> >
> >
> >
> > --
> > Gökhan
> >
>
>
>
> --
> Ryan May
> Graduate Research Assistant
> School of Meteorology
> University of Oklahoma
>
-- 
Gökhan
From: Ryan M. <rm...@gm...> - 2010年04月27日 21:33:08
My advisor just writes on a print out of the PDF. I'll make the
changes in the revision tracked latex document.
Ryan
On Tue, Apr 27, 2010 at 4:18 PM, Gökhan Sever <gok...@gm...> wrote:
> Hi Ryan,
> What is your typical reviewing process? Do you ask people to review on PDF
> outputs or via version controlled Latex document?
> OpenOffice also has a good review system where I can track my/others changes
> easily.
> On Tue, Apr 27, 2010 at 3:27 PM, Ryan May <rm...@gm...> wrote:
>>
>> I know this started with non-Latex, but I've found that passing around
>> latex-generated PDFs works well to get reviews from non-Latex people.
>> But then again, the people I work with don't rely upon MS Office's
>> electronic editing capabilities.
>>
>> Ryan
>>
>> On Tue, Apr 27, 2010 at 12:43 PM, Gökhan Sever <gok...@gm...>
>> wrote:
>> > No, it comes with problems --especially in equation transformation.
>> >
>> > I mostly work on Linux (Fedora 12). I get MS Office 2007 installed
>> > through
>> > CrossOver, but it has glitches and doesn't look very safe to use for a
>> > big
>> > project.
>> >
>> > On Tue, Apr 27, 2010 at 12:17 PM, william ratcliff
>> > <wil...@gm...> wrote:
>> >>
>> >> Have you had good luck keeping the formatting going between open office
>> >> and MS word? What about equations?
>> >>
>> >> On Tue, Apr 27, 2010 at 12:42 PM, Gökhan Sever <gok...@gm...>
>> >> wrote:
>> >>>
>> >>>
>> >>> On Tue, Apr 27, 2010 at 11:23 AM, Konstantin Klementiev
>> >>> <kkl...@ce...> wrote:
>> >>>>
>> >>>> >I like to use png files at 300dpi. I'm stuck using MS Word 2007 at
>> >>>> > work, and
>> >>>> >that's what works best in my experience. If MS ever starts to
>> >>>> > support
>> >>>> > svg
>> >>>> >files.
>> >>>> Or matplotlib starts to support emf-files... ;)
>> >>>>
>> >>>> BTW, why the emf format is in the list of export formats whereas it
>> >>>> is
>> >>>> not
>> >>>> actually supported?
>> >>>> Its presence there gives hope that the matplotlib developers will
>> >>>> finally want
>> >>>> to implement it.
>> >>>
>> >>> EMF works if you install pyemf package. It seems good on screen except
>> >>> that it kills the text when I import emf image into Open Office
>> >>> Writer,
>> >>> worse than on EPS :)
>> >>>
>> >>>
>> >>> --
>> >>> Gökhan
>> >>>
>> >>>
>> >>>
>> >>> ------------------------------------------------------------------------------
>> >>>
>> >>> _______________________________________________
>> >>> Matplotlib-users mailing list
>> >>> Mat...@li...
>> >>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>> >>>
>> >>
>> >
>> >
>> >
>> > --
>> > Gökhan
>> >
>> >
>> > ------------------------------------------------------------------------------
>> >
>> > _______________________________________________
>> > Matplotlib-users mailing list
>> > Mat...@li...
>> > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>> >
>> >
>>
>>
>>
>> --
>> Ryan May
>> Graduate Research Assistant
>> School of Meteorology
>> University of Oklahoma
>>
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Matplotlib-users mailing list
>> Mat...@li...
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
>
> --
> Gökhan
>
-- 
Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma
From: Gökhan S. <gok...@gm...> - 2010年04月27日 21:18:57
Hi Ryan,
What is your typical reviewing process? Do you ask people to review on PDF
outputs or via version controlled Latex document?
OpenOffice also has a good review system where I can track my/others changes
easily.
On Tue, Apr 27, 2010 at 3:27 PM, Ryan May <rm...@gm...> wrote:
> I know this started with non-Latex, but I've found that passing around
> latex-generated PDFs works well to get reviews from non-Latex people.
> But then again, the people I work with don't rely upon MS Office's
> electronic editing capabilities.
>
> Ryan
>
> On Tue, Apr 27, 2010 at 12:43 PM, Gökhan Sever <gok...@gm...>
> wrote:
> > No, it comes with problems --especially in equation transformation.
> >
> > I mostly work on Linux (Fedora 12). I get MS Office 2007 installed
> through
> > CrossOver, but it has glitches and doesn't look very safe to use for a
> big
> > project.
> >
> > On Tue, Apr 27, 2010 at 12:17 PM, william ratcliff
> > <wil...@gm...> wrote:
> >>
> >> Have you had good luck keeping the formatting going between open office
> >> and MS word? What about equations?
> >>
> >> On Tue, Apr 27, 2010 at 12:42 PM, Gökhan Sever <gok...@gm...>
> >> wrote:
> >>>
> >>>
> >>> On Tue, Apr 27, 2010 at 11:23 AM, Konstantin Klementiev
> >>> <kkl...@ce...> wrote:
> >>>>
> >>>> >I like to use png files at 300dpi. I'm stuck using MS Word 2007 at
> >>>> > work, and
> >>>> >that's what works best in my experience. If MS ever starts to support
> >>>> > svg
> >>>> >files.
> >>>> Or matplotlib starts to support emf-files... ;)
> >>>>
> >>>> BTW, why the emf format is in the list of export formats whereas it is
> >>>> not
> >>>> actually supported?
> >>>> Its presence there gives hope that the matplotlib developers will
> >>>> finally want
> >>>> to implement it.
> >>>
> >>> EMF works if you install pyemf package. It seems good on screen except
> >>> that it kills the text when I import emf image into Open Office Writer,
> >>> worse than on EPS :)
> >>>
> >>>
> >>> --
> >>> Gökhan
> >>>
> >>>
> >>>
> ------------------------------------------------------------------------------
> >>>
> >>> _______________________________________________
> >>> Matplotlib-users mailing list
> >>> Mat...@li...
> >>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> >>>
> >>
> >
> >
> >
> > --
> > Gökhan
> >
> >
> ------------------------------------------------------------------------------
> >
> > _______________________________________________
> > Matplotlib-users mailing list
> > Mat...@li...
> > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> >
> >
>
>
>
> --
> Ryan May
> Graduate Research Assistant
> School of Meteorology
> University of Oklahoma
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
-- 
Gökhan
From: Carlos G. <car...@gm...> - 2010年04月27日 20:33:45
I've been trying to change the linestyles in a LineCollection, but
without any success...
If I'm using:
col = collections.LineCollection(listXY, linewidths=circwdt,
colors=circcol, linestyle='solid', label=plabel)
it works fine, but anything other than 'solid' gives me an error when
the code calls FigureCanvasAgg.draw(self) (it is a wxpython app):
Traceback (most recent call last):
 File "/home/guano/Arbeit/Stout/StereoPanel.py", line 552, in PlotChecked
 self.stereoCanvas.draw()
 File "/usr/lib/pymodules/python2.6/matplotlib/backends/backend_wxagg.py",
line 59, in draw
 FigureCanvasAgg.draw(self)
 File "/usr/lib/pymodules/python2.6/matplotlib/backends/backend_agg.py",
line 314, in draw
 self.figure.draw(self.renderer)
 File "/usr/lib/pymodules/python2.6/matplotlib/artist.py", line 46,
in draw_wrapper
 draw(artist, renderer, *kl)
 File "/usr/lib/pymodules/python2.6/matplotlib/figure.py", line 774, in draw
 for a in self.axes: a.draw(renderer)
 File "/usr/lib/pymodules/python2.6/matplotlib/artist.py", line 46,
in draw_wrapper
 draw(artist, renderer, *kl)
 File "/usr/lib/pymodules/python2.6/matplotlib/axes.py", line 1721, in draw
 a.draw(renderer)
 File "/usr/lib/pymodules/python2.6/matplotlib/artist.py", line 46,
in draw_wrapper
 draw(artist, renderer, *kl)
 File "/usr/lib/pymodules/python2.6/matplotlib/legend.py", line 386, in draw
 self._legend_box.draw(renderer)
 File "/usr/lib/pymodules/python2.6/matplotlib/offsetbox.py", line 224, in draw
 c.draw(renderer)
 File "/usr/lib/pymodules/python2.6/matplotlib/offsetbox.py", line 224, in draw
 c.draw(renderer)
 File "/usr/lib/pymodules/python2.6/matplotlib/offsetbox.py", line 224, in draw
 c.draw(renderer)
 File "/usr/lib/pymodules/python2.6/matplotlib/offsetbox.py", line 224, in draw
 c.draw(renderer)
 File "/usr/lib/pymodules/python2.6/matplotlib/offsetbox.py", line 488, in draw
 c.draw(renderer)
 File "/usr/lib/pymodules/python2.6/matplotlib/artist.py", line 46,
in draw_wrapper
 draw(artist, renderer, *kl)
 File "/usr/lib/pymodules/python2.6/matplotlib/lines.py", line 535, in draw
 drawFunc(renderer, gc, tpath, affine.frozen())
 File "/usr/lib/pymodules/python2.6/matplotlib/lines.py", line 874,
in _draw_lines
 self._lineFunc(renderer, gc, path, trans)
 File "/usr/lib/pymodules/python2.6/matplotlib/lines.py", line 925,
in _draw_dashed
 renderer.draw_path(gc, path, trans)
 File "/usr/lib/pymodules/python2.6/matplotlib/backends/backend_agg.py",
line 98, in draw
_path
 self._renderer.draw_path(gc, path, transform, rgbFace)
TypeError: float() argument must be a string or a number
>From the MPL docs, I see that i should be able to use other linestyles:
http://matplotlib.sourceforge.net/api/collections_api.html#matplotlib.collections.LineCollection
linestyles [ ‘solid’ | ‘dashed’ | ‘dashdot’ | ‘dotted’ ]
a string or dash tuple. The dash tuple is:
I'm using MPL 0.99.0 in Ubuntu Karmic (9.10)
tks
-- 
Prof. Carlos Henrique Grohmann - Geologist D.Sc.
Institute of Geosciences - Univ. of São Paulo, Brazil
http://www.igc.usp.br/pessoais/guano
Linux User #89721
________________
Can’t stop the signal.
From: Ryan M. <rm...@gm...> - 2010年04月27日 20:28:21
I know this started with non-Latex, but I've found that passing around
latex-generated PDFs works well to get reviews from non-Latex people.
But then again, the people I work with don't rely upon MS Office's
electronic editing capabilities.
Ryan
On Tue, Apr 27, 2010 at 12:43 PM, Gökhan Sever <gok...@gm...> wrote:
> No, it comes with problems --especially in equation transformation.
>
> I mostly work on Linux (Fedora 12). I get MS Office 2007 installed through
> CrossOver, but it has glitches and doesn't look very safe to use for a big
> project.
>
> On Tue, Apr 27, 2010 at 12:17 PM, william ratcliff
> <wil...@gm...> wrote:
>>
>> Have you had good luck keeping the formatting going between open office
>> and MS word? What about equations?
>>
>> On Tue, Apr 27, 2010 at 12:42 PM, Gökhan Sever <gok...@gm...>
>> wrote:
>>>
>>>
>>> On Tue, Apr 27, 2010 at 11:23 AM, Konstantin Klementiev
>>> <kkl...@ce...> wrote:
>>>>
>>>> >I like to use png files at 300dpi. I'm stuck using MS Word 2007 at
>>>> > work, and
>>>> >that's what works best in my experience. If MS ever starts to support
>>>> > svg
>>>> >files.
>>>> Or matplotlib starts to support emf-files... ;)
>>>>
>>>> BTW, why the emf format is in the list of export formats whereas it is
>>>> not
>>>> actually supported?
>>>> Its presence there gives hope that the matplotlib developers will
>>>> finally want
>>>> to implement it.
>>>
>>> EMF works if you install pyemf package. It seems good on screen except
>>> that it kills the text when I import emf image into Open Office Writer,
>>> worse than on EPS :)
>>>
>>>
>>> --
>>> Gökhan
>>>
>>>
>>> ------------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Matplotlib-users mailing list
>>> Mat...@li...
>>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>>>
>>
>
>
>
> --
> Gökhan
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
-- 
Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma
From: Eric F. <ef...@ha...> - 2010年04月27日 18:55:32
Matthias Michler wrote:
> Hello list, Hi Eric,
> 
> I stumbled upon the old thread "ploting matrix data" and the changes in my 
> mpl-svn working copy allowing to provide under_color and over_color as a 
> keyword argument of contourf. 
> 
> On Tuesday 14 April 2009 20:39:06 Eric Firing wrote:
>> Matthias Michler wrote:
> [snip]
>>> Second question: Could it be useful to add two kwargs 'over_color'
>>> and 'under_color' to contourf in order to allow specification of a
>>> extended ListedColormap by kwarg 'colors' and these two colors?
>>> I tried to include this in the attached patch
>>> (added_under_and_over_color_to_ContourSet.patch) and use it in the
>>> example contourf_with_extended_colorbar_new.py. But it dosn't work
>>> completely correct. Although the over color is correctly set to cyan in
>>> the cmap In [14]: my_contourf.cmap._rgba_over
>>> Out[14]: (0.0, 1.0, 1.0, 1.0)
>>> red is used for values above the colormap-bounds.
>>>
>>> Thanks in advance for any comments and hints.
>> I need to look at your patch--but a priori, I am a bit worried about the
>> tendency of APIs to get more and more complicated, with more and more
>> kwargs, as time goes on.
>>
>> Eric
> 
> First of all I think my previously described error in the over-color is due to 
> a bug in the set up of the colors.ListedColormap during the initialisation of 
> ContourSet if 'self.colors' is not None.
> For the number of entries in the map 'N' the number of layers is 
> passed "N=len(self.layers)", which is not useful if self.extend is 'both'. 
> Let's say I want 3 regions and provide 3 colors. If extend is 'both' the 
> number of layers is the #{colored regions between min and max} + 2 = 5. For 
> N=5 in the initialisation of the ListedColormap the list of colors is 
> extended to have length 'N=5' (by repetition). Therefore an additional layer 
> (more precisely 2) occurs in the colormap and although the over_color is set 
> to something different the (repeted) first element of 'colors' is used to 
> color values above the highest level.
> 
> I propose the following case differentiation: 
> if self.extend == "both":
> N = len(self.layers) - 2
> elif self.extend in ('max', 'min'):
> N = len(self.layers) - 1
> else:
> N = len(self.layers)
> 
> Maybe N = len(self.levels) - 1 is always a good solution.
> 
> Is this a bug and does my proposal resolve it without destroying something 
> else?
Yes, it is a bug, but I think this is only part of it. It may take me a 
week to get it all sorted out. Accommodating contour, contourf, and 
clabel all at the same time makes things complicated.
> 
> 
> Now back to my previous proposal to include the additional keyword 
> arguments 'under_color' and 'over_color'.
> I attached two scripts, which show the difference between the old and the new 
> usage of a listed colormap specifing under/over_color. In the old behavior 
> you have to set the under and over color after setting up the contour. 
> my_contourf.cmap.set_over('cyan') 
> my_contourf.cmap.set_under('yellow')
> and in the new behavior you can pass 
> over_color='cyan', under_color='yellow',
> to the contourf-function.
> 
> Could these keyword arguments be useful?
Yes, but not useful enough in general to justify adding them as keywords 
to contourf. Where kwargs "under", "over", and "bad" belong is in the 
Colormap initialization. I will add them there some time during the 
coming week. I will also provide a simpler version of your example, so 
that there will be an illustration of using over and under when the 
colors are listed.
Eric
> 
> Thanks in advance for any comments.
> 
> Kind regards,
> Matthias
From: Gökhan S. <gok...@gm...> - 2010年04月27日 17:43:42
No, it comes with problems --especially in equation transformation.
I mostly work on Linux (Fedora 12). I get MS Office 2007 installed through
CrossOver, but it has glitches and doesn't look very safe to use for a big
project.
On Tue, Apr 27, 2010 at 12:17 PM, william ratcliff <
wil...@gm...> wrote:
> Have you had good luck keeping the formatting going between open office and
> MS word? What about equations?
>
> On Tue, Apr 27, 2010 at 12:42 PM, Gökhan Sever <gok...@gm...>wrote:
>
>>
>>
>> On Tue, Apr 27, 2010 at 11:23 AM, Konstantin Klementiev <
>> kkl...@ce...> wrote:
>>
>>> >I like to use png files at 300dpi. I'm stuck using MS Word 2007 at work,
>>> and
>>> >that's what works best in my experience. If MS ever starts to support
>>> svg
>>> >files.
>>> Or matplotlib starts to support emf-files... ;)
>>>
>>> BTW, why the emf format is in the list of export formats whereas it is
>>> not
>>> actually supported?
>>> Its presence there gives hope that the matplotlib developers will finally
>>> want
>>> to implement it.
>>>
>>
>> EMF works if you install pyemf package. It seems good on screen except
>> that it kills the text when I import emf image into Open Office Writer,
>> worse than on EPS :)
>>
>>
>> --
>> Gökhan
>>
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> Matplotlib-users mailing list
>> Mat...@li...
>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>>
>>
>
-- 
Gökhan
From: william r. <wil...@gm...> - 2010年04月27日 17:17:45
Have you had good luck keeping the formatting going between open office and
MS word? What about equations?
On Tue, Apr 27, 2010 at 12:42 PM, Gökhan Sever <gok...@gm...>wrote:
>
>
> On Tue, Apr 27, 2010 at 11:23 AM, Konstantin Klementiev <
> kkl...@ce...> wrote:
>
>> >I like to use png files at 300dpi. I'm stuck using MS Word 2007 at work,
>> and
>> >that's what works best in my experience. If MS ever starts to support svg
>> >files.
>> Or matplotlib starts to support emf-files... ;)
>>
>> BTW, why the emf format is in the list of export formats whereas it is not
>> actually supported?
>> Its presence there gives hope that the matplotlib developers will finally
>> want
>> to implement it.
>>
>
> EMF works if you install pyemf package. It seems good on screen except that
> it kills the text when I import emf image into Open Office Writer, worse
> than on EPS :)
>
>
> --
> Gökhan
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
From: Gökhan S. <gok...@gm...> - 2010年04月27日 16:42:34
On Tue, Apr 27, 2010 at 11:23 AM, Konstantin Klementiev <
kkl...@ce...> wrote:
> >I like to use png files at 300dpi. I'm stuck using MS Word 2007 at work,
> and
> >that's what works best in my experience. If MS ever starts to support svg
> >files.
> Or matplotlib starts to support emf-files... ;)
>
> BTW, why the emf format is in the list of export formats whereas it is not
> actually supported?
> Its presence there gives hope that the matplotlib developers will finally
> want
> to implement it.
>
EMF works if you install pyemf package. It seems good on screen except that
it kills the text when I import emf image into Open Office Writer, worse
than on EPS :)
-- 
Gökhan
From: Gökhan S. <gok...@gm...> - 2010年04月27日 16:40:53
Hi Paul,
I usually use dpi=100. We have lots of MS Office users here and I don't want
to use a file format where they can't easily access my documents. It's
always easier to get reviews following their format. I plan to write in
OpenOffice and later convert the text to MS Office format. There is still
some inter-operability in between these formats.
On Tue, Apr 27, 2010 at 11:15 AM, <PH...@ge...> wrote:
> Gökhan,
>
>
>
> I like to use png files at 300dpi. I’m stuck using MS Word 2007 at work,
> and that’s what works best in my experience. If MS ever starts to support
> svg files...
>
>
>
> -paul h.
>
>
>
> *From:* Gökhan Sever [mailto:gok...@gm...]
> *Sent:* Tuesday, April 27, 2010 8:53 AM
> *To:* Matplotlib Users
> *Subject:* [Matplotlib-users] Publication quality plots in papers
>
>
>
> Hello,
>
> This is a question mostly for non-Latex users.
>
> What is your preferred saving format from matplotlib that you use in
> OpenOffice or a similar open office tool? A format that looks good on both
> screen and printed output. In my experiences so far I have found getting the
> best quality outputs from PDF files (using the highest quality settings in
> matplotlibrc). It wins over eps, ps, and png outputs both on screen and
> printed texts.
>
-- 
Gökhan
From: Konstantin K. <kkl...@ce...> - 2010年04月27日 16:24:01
>I like to use png files at 300dpi. I'm stuck using MS Word 2007 at work, and
>that's what works best in my experience. If MS ever starts to support svg 
>files.
Or matplotlib starts to support emf-files... ;)
BTW, why the emf format is in the list of export formats whereas it is not
actually supported?
Its presence there gives hope that the matplotlib developers will finally want
to implement it. 
From: <PH...@Ge...> - 2010年04月27日 16:15:18
Gökhan,
I like to use png files at 300dpi. I’m stuck using MS Word 2007 at work, and that’s what works best in my experience. If MS ever starts to support svg files...
-paul h.
From: Gökhan Sever [mailto:gok...@gm...]
Sent: Tuesday, April 27, 2010 8:53 AM
To: Matplotlib Users
Subject: [Matplotlib-users] Publication quality plots in papers
Hello,
This is a question mostly for non-Latex users.
What is your preferred saving format from matplotlib that you use in OpenOffice or a similar open office tool? A format that looks good on both screen and printed output. In my experiences so far I have found getting the best quality outputs from PDF files (using the highest quality settings in matplotlibrc). It wins over eps, ps, and png outputs both on screen and printed texts.
From: <PH...@Ge...> - 2010年04月27日 16:09:14
Attachments: masked_prob_plot.png
Using the fourier package (set it in your matplotlibrc file and make sure you have the package installed in latex) provides for seamless text/mathtext rendering.
I've attached an example to demonstrate. Hope this helps,
-paul h.
> -----Original Message-----
> From: Konstantin Klementiev [mailto:kkl...@ce...]
> Sent: Tuesday, April 27, 2010 1:32 AM
> To: mat...@li...
> Subject: [Matplotlib-users] mathtext is smaller than regular text
> 
> Hello all,
> 
> Does anyone know why mathtext is smaller than the regular text in the
> same
> string? For example, see
> http://matplotlib.sourceforge.net/users/text_intro.html
> (equation E=mc^2)
> 
> How can I make it of equal size? I don't see any mathtext size settings
> in
> rcfile...
> 
> Thanks in advance!
> 
> Konstantin
From: Konstantin K. <kkl...@ce...> - 2010年04月27日 15:57:55
Attachments: fontsizes.png
>From: Gokhan Sever:
>In your matplotlibrc file uncomment "mathtext.default : regular" to get the
>same font between the equations and regular text.
Then the mathematics italic is lost. I can force it back by \it and then I have
the same small letters.
> From: Michael Droettboom:
>Mathtext is in a completely different font (Computer Modern), so it has 
>a different x-height, even though it does have the same overall height. 
In a "normal" TeX document mathtext is also represented by another font,
nevertheless the sizes do match. In matplotlib the string 
r'm$\rm{m}$$m$'
results in three differently sized m's! (see the tiny png attached)
> From: Michael Droettboom:
>While there isn't a way to change the size of part of a Text object, you 
>could put the math its own Text object and use the 'fontsize' kwarg to 
>change its size.
If you have several math inclusions, this way becomes tedious...
>You might also see more font "harmony" by using the STiX math font 
>(set the rcParam mathtext.fontset to 'stix') alongside Times, 
Maybe this is backend specific but I don't see any change when using stix.
Ok, there seem to be no easy solution of this bug/"not a bug"/feature...
Thanks!
From: Gökhan S. <gok...@gm...> - 2010年04月27日 15:53:35
Hello,
This is a question mostly for non-Latex users.
What is your preferred saving format from matplotlib that you use in
OpenOffice or a similar open office tool? A format that looks good on both
screen and printed output. In my experiences so far I have found getting the
best quality outputs from PDF files (using the highest quality settings in
matplotlibrc). It wins over eps, ps, and png outputs both on screen and
printed texts.
I was able to get somewhat good looking results from eps files. However
never managed to get them looking pretty on screen -neither when I imported
them in OpenOffice Writer as image objects nor in print-outs. This defeats
my purpose since they should look good on screen in ODF files because my
writings will be reviewed by other people. (EPS files looks non-readable in
ODF files) PDF files are easiest to create -- I exactly get what I see on
screen. EPS and PS always seems different --requiring plotting setup I
suppose.
PDF files are better, but my OpenOffice Writer 3.1.1 can't import them as
image objects :( --although the Impress tool can do and looks shiny
beautiful. PNG's both work in Writer and Impress even though they don't look
as good as PDF files --due to their rasterized nature get some blurriness
and lose some quality when I re-size them.
Enough story from me. Do you have any suggestions/comments for these issues
--besides switching to Latex :) What are your preferred ways of using plots
in non-Latex editors?
Thank you.
Gökhan
From: Michael D. <md...@st...> - 2010年04月27日 14:14:06
Mathtext is in a completely different font (Computer Modern), so it has 
a different x-height, even though it does have the same overall height. 
While there isn't a way to change the size of part of a Text object, you 
could put the math its own Text object and use the 'fontsize' kwarg to 
change its size.
You might also see more font "harmony" by using the STiX math font (set 
the rcParam mathtext.fontset to 'stix') alongside Times, or by using 
Computer Modern everywhere by (if you have LaTeX installed), setting the 
rcParam text.usetex to True.
Mike
Konstantin Klementiev wrote:
> Hello all,
>
> Does anyone know why mathtext is smaller than the regular text in the same
> string? For example, see 
> http://matplotlib.sourceforge.net/users/text_intro.html
> (equation E=mc^2)
>
> How can I make it of equal size? I don't see any mathtext size settings in
> rcfile...
>
> Thanks in advance!
>
> Konstantin
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> 
-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
From: Gökhan S. <gok...@gm...> - 2010年04月27日 14:12:02
On Tue, Apr 27, 2010 at 3:31 AM, Konstantin Klementiev <kkl...@ce...
> wrote:
> Hello all,
>
> Does anyone know why mathtext is smaller than the regular text in the same
> string? For example, see
> http://matplotlib.sourceforge.net/users/text_intro.html
> (equation E=mc^2)
>
> How can I make it of equal size? I don't see any mathtext size settings in
> rcfile...
>
> Thanks in advance!
>
> Konstantin
>
In your matplotlibrc file uncomment "mathtext.default : regular" to get the
same font between the equations and regular text.
-- 
Gökhan
From: Konstantin K. <kkl...@ce...> - 2010年04月27日 08:31:50
Hello all,
Does anyone know why mathtext is smaller than the regular text in the same
string? For example, see 
http://matplotlib.sourceforge.net/users/text_intro.html
(equation E=mc^2)
How can I make it of equal size? I don't see any mathtext size settings in
rcfile...
Thanks in advance!
Konstantin
4 messages has been excluded from this view by a project administrator.

Showing 18 results of 18

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /