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: <kc1...@ya...> - 2007-05-11 19:41:58
|
> > inkscape has no trouble reading the .svg files created by MPL, and > > Word has no trouble reading the .eps files created by inkscape. > > hmm. I wonder what it is about MPL's .eps files that Word > doesn't like. > > > Bug in MPL or Word?? Most likely Word. It's very picky. I have .eps files created by other programs where Word would simply tell you that it's not a supported format. Doesn't say why. -- John Henry |
|
From: Christopher B. <Chr...@no...> - 2007-05-11 19:32:57
|
> inkscape has no trouble reading the .svg files created by MPL, and > Word has no trouble reading the .eps files created by inkscape. hmm. I wonder what it is about MPL's .eps files that Word doesn't like. Bug in MPL or Word?? -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: <kc1...@ya...> - 2007-05-11 19:28:56
|
Yes, that's what I've been forced to do. The problem with that is that it forces you to fix the size of the figures in your paper. When I reformat things around in subsequent revisions, I have to go back and recreate the figures - if the spacing changes. I would much rather retaining the ability to rescale in Word. Yes, I know that it does change the font size. But as I indicated in my other message, I think Inkscape is the solution. I am still playing around with it and see if that really does it but it looks real promising. Regards, -----Original Message----- From: David Huard [mailto:dav...@gm...] Sent: Friday, May 11, 2007 12:06 PM To: kc1...@ya... Subject: Re: [Matplotlib-users] SVG vs PNG My advice would be to define the size you'll want the figure to be on paper once printed, and set the resolution to 300 dpi (for paper) or 100 (for screen): e.g. fig.savefig(figsize=(8,8), dpi=300) Rescaling the figure is generally a bad idea for inclusion in a paper since it changes the font size as well. To get a nice output, you try to keep the same font size for both paper and figures, and the simplest was to do this is by avoiding rescaling. Cheers, David 2007/5/11, kc1...@ya... < kc1...@ya...>: > > On Fri, 11 May 2007, kc1...@ya... > apparently wrote: > > All I want is to: a) Insert all of the plots I create with > > MPL onto a Word document. > > This part should be achievable with PNG. > Just set the figsize. > I have not had problems... > Correct. I am doing that right now. However, because it's not vector based, if I start chaning the figure size, the quality suffers. > > b) Be able to cut and paste part of a MPL figure and > > insert that to Word > > You can select part of a PDF for copying to the clipboard > in Acrobat. > Been there, done that. Doesn't work. It selects the titles, and anotations. Doesn't select the graphs. > fwiw, > Alan Isaac > > > -- 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 -- John Henry |
|
From: <kc1...@ya...> - 2007-05-11 19:23:33
|
Bingo! My prayer appears to have been answered. inkscape has no trouble reading the .svg files created by MPL, and Word has no trouble reading the .eps files created by inkscape. So, at least I can use it to preserve the vectors. Too bad inkscape doesn't read .eps directly (complaining...complaining....) :=) inkscape treats everything as objects and allows you to ungroup the plots into elements and then you can play with each of the elements individually. When I am done, I can then insert into Word. Too bad it doesn't allow me to paste the objects directly over to Windows but I am not complaining. Thanks, Fernando. > -----Original Message----- > From: Fernando Perez [mailto:fpe...@gm...] > Sent: Friday, May 11, 2007 11:05 AM > To: kc1...@ya... > Cc: mat...@li... > Subject: Re: [Matplotlib-users] SVG vs PNG > > > On 5/11/07, kc1...@ya... > <kc1...@ya...> wrote: > > Thanks everybody for the explanation of svg in Gimp. That makes > > sense. Is there any vector based program that does what Gimp does? > > Try inkscape. I've used it successfully for simple things, > though I've never tried to handle a MPL SVG file with it. > > cheers, > > f > -- John Henry |
|
From: Michele M. <mic...@gm...> - 2007-05-11 19:12:54
|
John, thanks for your reply. Unfortunately it does not work for Axes (at least for me). I've got 3 axes (like the finance sample) and the ylabel appears only for the last one and only if I use ylabel(...) (yes, I'm using ax1.set_ylabel, ax2.set_yabel and ax3.set_ylabel) Any idea? Michele On 5/11/07, John Hunter <jd...@gm...> wrote: > On 5/11/07, Michele Mazzucco <mic...@gm...> wrote: > > Hi all, > > > > when using subplot is very easy to plot an ylabel for each subplot > > (see http://matplotlib.sourceforge.net/screenshots/subplot_demo_large.png > > for example), however I have not found any sample to accomplish the > > same goal when using sub-figures obtained as > > > > ax1 = axes(...) > > like http://matplotlib.sourceforge.net/screenshots/finance_work2_small.png, > > for example. > > > > With gnuplot is very easy. Is there any way to achieve the same result > > with matplotlib? > > Not sure I understand your question, but > > ax.set_ylabel('my label') > > will work for Axes or Subplots (a Subplot is an Axes instance...) > > JDH > |
|
From: John H. <jd...@gm...> - 2007-05-11 19:09:33
|
On 5/10/07, kc1...@ya... <kc1...@ya...> wrote: > While the svg files are much smaller then the cooresponding png file (yes, and > scalable), I am surprised that the quality of the plot doesn't seem to be that much > better (seem like about the same as compared to a corresponding png figure). > I would have thought that they should (see for example: > http://luxor-xul.sourceforge.net/talk/jug-nov-2002/slides.html#svg-1). > Is this because MPL is not taking advantage of the capabilities offered by svg? The quality of the svg plot depends in large plot on the svg renderer -- perhaps word doesn't do a good job rendering SVG? The matplotlib PNG files look good because agg is a good rendering engine. JDH |
|
From: <And...@gt...> - 2007-05-11 19:04:00
|
kc1...@ya... wrote >>=20 >> On Fri, 11 May 2007, kc1...@ya... apparently wrote: >> > All I want is to: a) Insert all of the plots I create with MPL onto >> > a Word document. >>=20 >> This part should be achievable with PNG. >> Just set the figsize. >> I have not had problems... >>=20 > >Correct. I am doing that right now. However, because it's not=20 >vector based, if I start chaning the figure size, the quality suffers. > >> > b) Be able to cut and paste part of a MPL figure and insert that to >> > Word >>=20 >> You can select part of a PDF for copying to the clipboard in Acrobat. >>=20 > >Been there, done that. Doesn't work. It selects the titles,=20 >and anotations. Doesn't select the graphs. > Perhaps you could use OpenOffice Draw as described in this url: http://wolfey.sillydog.org/blog/2006/09/20/vector-image-file-conversion- svg-wmf/ It's a shame that it takes such a workaround. =20 |
|
From: <kc1...@ya...> - 2007-05-11 18:39:43
|
> > On Fri, 11 May 2007, kc1...@ya... > apparently wrote: > > All I want is to: a) Insert all of the plots I create with > > MPL onto a Word document. > > This part should be achievable with PNG. > Just set the figsize. > I have not had problems... > Correct. I am doing that right now. However, because it's not vector based, if I start chaning the figure size, the quality suffers. > > b) Be able to cut and paste part of a MPL figure and > > insert that to Word > > You can select part of a PDF for copying to the clipboard > in Acrobat. > Been there, done that. Doesn't work. It selects the titles, and anotations. Doesn't select the graphs. > fwiw, > Alan Isaac > > > -- John Henry |
|
From: Alan G I. <ai...@am...> - 2007-05-11 18:30:32
|
On Fri, 11 May 2007, kc1...@ya... apparently wrote: > All I want is to: a) Insert all of the plots I create with > MPL onto a Word document. This part should be achievable with PNG. Just set the figsize. I have not had problems... > b) Be able to cut and paste part of a MPL figure and > insert that to Word You can select part of a PDF for copying to the clipboard in Acrobat. fwiw, Alan Isaac |
|
From: <kc1...@ya...> - 2007-05-11 18:22:24
|
Chris, All I want is to: a) Insert all of the plots I create with MPL onto a Word document. As I said before, my version of Word does not recognize the EPS or PS format created by MPL. I am not blaiming MPL. I am just not willing to send Redmond money to see if their later version does the job properly. The version of Word I have does not import PDF files neither. Besides, the PDF backend of MPL fails when the total number of figures is more then 8. b) Be able to cut and paste part of a MPL figure and insert that to Word. I can do it now via the Gimp path but as I explained previously, the quality is not the greatest. I'll look up the cookbook you cited and try that. Thanks, > -----Original Message----- > From: Christopher Barker [mailto:Chr...@no...] > Sent: Friday, May 11, 2007 11:10 AM > To: kc1...@ya... > Subject: Re: [Matplotlib-users] SVG vs PNG > > > kc1...@ya... wrote: > > Thanks everybody for the explanation of svg in Gimp. That makes > > sense. Is there any vector based program that does what Gimp does? > > By definition, No. GIMP is a raster editor, it is similar to other > raster editors, and fundamentally different than vector > graphics programs. > > There is a little overlap, what do you want to do? > > It sound like what you really need is a way to put MPL plots > in a Word > doc. Ideally, you'd use a vector format like EPS, because > that's exactly > what EPS is for. However, MS has never been good at supporting open > formats like that. > > I'd try PDF. Recent versions of Word may do OK with that. > > Otherwise, you're back to a lowest common denominator. I've ended up > just using PNG. If you set the ppi right, it works just fine. > See this > Wiki page for how to do that: > http://www.scipy.org/Cookbook/Matplotlib/AdjustingImageSize -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... -- John Henry |
|
From: Fernando P. <fpe...@gm...> - 2007-05-11 18:05:05
|
On 5/11/07, kc1...@ya... <kc1...@ya...> wrote: > Thanks everybody for the explanation of svg in Gimp. That makes sense. Is there any vector based program that does what Gimp does? Try inkscape. I've used it successfully for simple things, though I've never tried to handle a MPL SVG file with it. cheers, f |
|
From: Christopher F. <fon...@gm...> - 2007-05-11 17:57:13
|
On 5/4/07, Christopher Barker <Chr...@no...> wrote: > > Samuel M. Smith wrote: > > I did not have this problem with the matplotlib on > > > http://pythonmac.org/packages/py25-fat/dmg/matplotlib-0.90.0-py2.5-macosx10.4-2007-02-20.dmg > > > That one was probably built with a statically linked freetype, as the > one Apple provides doesn't work with MPL. Strange. I have libfreetype.a in a staticlibs directory that I link to when building these things. I will try again. cf |
|
From: <kc1...@ya...> - 2007-05-11 17:54:43
|
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.90 successfully? Regards, -- John Henry |
|
From: Antonino I. <tri...@gm...> - 2007-05-11 17:05:13
|
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 |
|
From: John H. <jd...@gm...> - 2007-05-11 16:49:03
|
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 |
|
From: Robert K. <rob...@gm...> - 2007-05-11 16:36:57
|
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 |
|
From: Antonino I. <tri...@gm...> - 2007-05-11 16:25:07
|
Fowarding to the list ... ---------- Forwarded message ---------- From: Antonino Ingargiola <tri...@gm...> Date: 4-mag-2007 11.12 Subject: Re: [Matplotlib-users] matplolib equivalent of gnuplot's impulse To: Emmanuel <emm...@fa...> Hi, 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? Maybe not directly as a "plot style". But... If you need to fill the curve with a color you can see this example: http://matplotlib.sourceforge.net/screenshots/fill_demo.py If you need the "bar" itself you can use the bar() function. If you need impulses composed by just "a line" you can use this function: def impulse(X, Y, color='blue', **kwargs): """Plot an "impulse" graph similar to the gnuplot 'impulse' function.""" if len(X) != len(Y): raise ValueError, "X and Y data must be of the same length." ax = gca() for x, y in zip(X, Y): ax.plot([x, x], [0, y], color=color, **kwargs) You can pass to it any plot() keyword-argument to customize line style. Cheers, ~ Antonio |
|
From: John H. <jd...@gm...> - 2007-05-11 16:22:35
|
On 5/9/07, darkside <in....@gm...> wrote: > Hello everyone: > My question is not only about matplotlib, but I wonder if I can do what I > want with some matplotlib subroutine, instead of the one for scipy. > I'm new using scipy, so I'm sorry if any of my questions are silly. scipy is your best bet -- matplotlib is a plotting library, with some numerical stuff included for historical reasons. For robust, fast data fitting, scipy is a better fit. JDH |
|
From: John H. <jd...@gm...> - 2007-05-11 16:21:12
|
On 5/11/07, Michele Mazzucco <mic...@gm...> wrote: > Hi all, > > when using subplot is very easy to plot an ylabel for each subplot > (see http://matplotlib.sourceforge.net/screenshots/subplot_demo_large.png > for example), however I have not found any sample to accomplish the > same goal when using sub-figures obtained as > > ax1 = axes(...) > like http://matplotlib.sourceforge.net/screenshots/finance_work2_small.png, > for example. > > With gnuplot is very easy. Is there any way to achieve the same result > with matplotlib? Not sure I understand your question, but ax.set_ylabel('my label') will work for Axes or Subplots (a Subplot is an Axes instance...) JDH |
|
From: Lev G. <le...@co...> - 2007-05-11 16:13:24
|
Setting the font family with matplotlib.rc (or in my .matplotlib/matplotlibrc file) doesn't seem to have any effect on the font used to generate text when the usetex setting is enabled. This seems to imply that the fonts I have listed in the font.serif, font.sans-serif, and font.monospace settings (specifically, Times, Helvetica, and Courier) are not deemed to be valid from LaTeX's point of view. However, my LaTeX installation does appear to contain the psnfss files. Is there something I am overlooking? I am using matplotlib 0.90.0 and teTeX 3.0 on Linux. L.G. |
|
From: Michele M. <mic...@gm...> - 2007-05-11 16:06:19
|
Hi all, when using subplot is very easy to plot an ylabel for each subplot (see http://matplotlib.sourceforge.net/screenshots/subplot_demo_large.png for example), however I have not found any sample to accomplish the same goal when using sub-figures obtained as ax1 = axes(...) like http://matplotlib.sourceforge.net/screenshots/finance_work2_small.png, for example. With gnuplot is very easy. Is there any way to achieve the same result with matplotlib? Thanks, Michele |
|
From: Jesper L. <jl...@dm...> - 2007-05-11 13:22:52
|
On Thursday 10 May 2007 17:12, Simon Kammerer wrote: > I use a list for every category of items (contoursets, clabels, texts, > ...), as the way to remove them is slightly different. > > Then I remove them from the map axes: > > for contourset in contoursets_to_remove: > for coll in contourset.collections: > if coll in map_axes.collections: > map_axes.collections.remove(coll) > > > for label in clabels_to_remove: > if label in map_axes.artists: > map_axes.artists.remove(label) > > > for txt in texts_to_remove: > if txt in map_axes.texts: > map_axes.texts.remove(txt) Thanks, that reduced the plotting time by an additional factor two (besides what I got from reusing the basemap instance). The remaining stuff seems hard to do anything about: - filling masked arrays in matplotlib ~15% of the CPU time - writing the png file (write_png) ~15% - drawing (non-reusable) polygon collections (draw_poly_collection) ~15% - drawing line collections (draw_line_collection) ~7% ... Cheers, Jesper |
|
From: Mark B. <ma...@gm...> - 2007-05-11 09:58:09
|
I use Python/numpy/mpl/scipy to teach Computational methods for scientists and engineers. Yeah, a mouthfull, but that's what it is. We mainly solve problems of heat flow, groundwater flow, and diffusion-type equations in the class. Both fun analytic solutions and finite difference solutions. So the inclusion of contouring in mpl a while back was a big break-through for us. And it works very nicely. I have had no problems with the sourceforge mailing list, but I am not very keen on how it handles threads. That could be much better, but it works ok right now, Mark On 5/10/07, Yusdi Santoso <yu...@ho...> wrote: > > Steve: Thanks for the link to the Portable SciPy. That opens up a lot of > new > ideas :) > > Mark: Thanks for the info. I am not a very regular Enthoughy user so I am > not aware of that fact. Just out of curiosity, what kind of class are you > teaching? Programming or maths? I will be very interested if you could > tell > me about how Python/matplotlib/numpy are used in real life class > situation..perhaps I could glean some inspiration for WebLab. > > Btw, has there been any problem with the sourceforge mailing list in the > last week or two? > > Thanks, > > > Yusdi > > _________________________________________________________________ > Like the way Microsoft Office Outlook works? You'll love Windows Live > Hotmail. > > http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_outlook_0507 > > |
|
From: <jk...@ik...> - 2007-05-11 08:17:29
|
Zack <za...@gm...> writes: >> When you open the svg in gimp, it is being rendered as pixels; [...] > > Right. SVG in Matplotlib is NOT vector format and it has no sense to > use it instead of PNG or any others. No, the svg produced by matplotlib is a vector format. (Just look at a matplotlib-generated svg file in a text editor.) When you open a svg file in gimp, gimp converts it into pixels, because gimp only works with pixel-based images. I seem to recall that someone created an emf (enhanced metafile) backend in matplotlib. Have you tried that? -- Jouni K. Seppänen http://www.iki.fi/jks |
|
From: Zack <za...@gm...> - 2007-05-11 07:43:57
|
Hi, On 11 May 2007, Eric Firing wrote: > When you open the svg in gimp, it is being rendered as pixels; from that > point on, it is the same as if you had made a png at the same > resolution, except that there are subtle differences in positioning and > probably antialiasing between externally rendered svg and > mpl/agg-produced png. Right. SVG in Matplotlib is NOT vector format and it has no sense to use it instead of PNG or any others. I'm just wondering, why it was implemented... if it implemented wrong. -- Zack |