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




Showing results of 352

<< < 1 .. 3 4 5 6 7 .. 15 > >> (Page 5 of 15)
From: Darren D. <dd...@co...> - 2006年01月24日 23:13:41
On Tuesday 24 January 2006 16:36, Stephen Walton wrote:
> Hi,
>
> I've been testing my matplotlib 0.86.2 installation on Fedora Core 4 and
> hit a problem I can't solve. If I do "python tex_demo.py" in the
> examples directory it seems to hang up. A quick "ps faxw" and a bit of
> digging shows that the problem is that on my installation of tetex, TeX
>
> isn't recognizing \rmfamily:
> > freyer:~/.matplotlib/tex.cache> tex 0885e19fbc15d1bc2b5e1d3ac6018bee.tex
> > This is TeX, Version 3.141592 (Web2C 7.5.4)
> > (./0885e19fbc15d1bc2b5e1d3ac6018bee.tex
> > ! Undefined control sequence.
> > l.5 {\rmfamily
> > \TeX\ is Number
> > $\displaystyle\sum_{n=1}^\infty\frac{-e^{i\pi...
> >
> > ? x
>
> What is the problem here? I searched the mailing list and no one else
> seems to be having this trouble, so obviously it's my fault, but I can't
> quite figure out how.
I wonder what \rmfamily is doing there, I don't see it in my copy of 
tex_demo.py. It works ok for me even if I add \rmfamily if I have 
text.tex.engine=latex in matplotlibrc, and fails if I have it set to tex. I 
I'm guessing this is the source of your trouble.
Darren
P.S. I'm not able to run tex_demo at all if I use the tex backend instead of 
latex. I see that some changes were made to the font commands in 
texmanage.get_tex_command, have these changes been tested with the tex 
backend?
From: Robert K. <rob...@gm...> - 2006年01月24日 22:55:50
Ryan Krauss wrote:
> I have actually read the AFPL as a way to try and understand the
> difference. I think the only difference between the AFPL and GPL is
> that the GPL allows you to charge someone for the service of
> distributing a copy of the software where the AFPL does not. (I could
> sell CD's of GPL ghostscript if I wanted to, but anyone who bought
> them must be free to give away copies to whoever they want. I don't
> know if the AFPL would allow me to even charge for the media cost.)
> 
> I have no idea why this small difference has lead to at least two
> different branches of ghostscript.
Aladdin wanted to make money by selling Ghostscript but still play sorta nice
with the open source world. So when they make a stable release, it is under the
AFPL for N years, then it reverts to the GPL. I think the FSF may have
officially forked the project, too, but I'd have to reread the webpages to be
sure. And I don't actually care enough to do so. :-)
-- 
Robert Kern
rob...@gm...
"In the fields of hell where the grass grows high
 Are the graves of dreams allowed to die."
 -- Richard Harter
From: Matthew B. <mat...@gm...> - 2006年01月24日 22:49:40
Hi,
> I have no idea why this small difference has lead to at least two
> different branches of ghostscript.
I think this:
http://www.artifex.com/licensing/
was the point. In other words, AFPL ghostscript is dual licenced...
Best,
Matthew
From: Ryan K. <rya...@gm...> - 2006年01月24日 22:31:56
I have actually read the AFPL as a way to try and understand the
difference. I think the only difference between the AFPL and GPL is
that the GPL allows you to charge someone for the service of
distributing a copy of the software where the AFPL does not. (I could
sell CD's of GPL ghostscript if I wanted to, but anyone who bought
them must be free to give away copies to whoever they want. I don't
know if the AFPL would allow me to even charge for the media cost.)
I have no idea why this small difference has lead to at least two
different branches of ghostscript.
Ryan
On 1/24/06, Fernando Perez <Fer...@co...> wrote:
> Stephen Walton wrote:
> > Fernando Perez wrote:
> >
> >
> >>cd /your/gsdownload/dir # I got 8.50, the current gnu one.
> >
> >
> > There are two parallel versions of ghostscript about whose relationship
> > I'm unclear. Version 8.50+ comes from www.ghostscript.com and is calle=
d
> > "AFPL Ghostscript". Fedora ships with the one from the GNU project, is
> > at version 8.16 and is obtained via ftp://ftp.gnu.org/ftp/ghostscript.
>
> It _is_ confusing. I used 'GPL ghostscript' from:
>
> http://www.cs.wisc.edu/~ghost/
>
> version 8.50 as listed on that page. I haven't the foggiest idea how tha=
t
> number maps to gnu-ghostscript, CUPS-ghostscript, or anything else.
>
> All I know is that I got mpl to shut up after installing this :)
>
> Cheers,
>
> f
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi=
les
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D103432&bid=3D230486&dat=
=3D121642
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
From: Stephens, A \(Ag\) <A.S...@rl...> - 2006年01月24日 22:30:23
Dear all,
I am just looking at matplotlib for the first time and liking very much
what I see. I have a requirement to try and plot a horizontal scan from
a radar. The incoming data is simply array(distanceFromInstrument,
azimuth). Has anybody tried doing for a polar plot without converting
the data to a lat/lon grid first?
An example of what I'd like to do is visible at:
http://www.chilbolton.rl.ac.uk/weather/latest/latest_ppi_v2.png
Thanks,
Ag
--=20
Ag Stephens				 Tel: +44 (0)1392
884263=20
BADC - UK Met Office Coordinator	 Fax: +44 (0)1392 885681
Met Office, A2 - W004, FitzRoy Road, Exeter, EX1 3PB, UK.
E-mail (Met Office):	ag....@me...
E-mail (BADC):		a.s...@rl...
Home page:		 http://home.badc.rl.ac.uk/astephens
 =20
BADC details: =20
British Atmospheric Data Centre, Rutherford Appleton Laboratory,
Chilton, Didcot, OX11 0QX, UK. 	http://badc.nerc.ac.uk
From: Fernando P. <Fer...@co...> - 2006年01月24日 22:25:28
Stephen Walton wrote:
> Fernando Perez wrote:
> 
> 
>>cd /your/gsdownload/dir # I got 8.50, the current gnu one.
> 
> 
> There are two parallel versions of ghostscript about whose relationship 
> I'm unclear. Version 8.50+ comes from www.ghostscript.com and is called 
> "AFPL Ghostscript". Fedora ships with the one from the GNU project, is 
> at version 8.16 and is obtained via ftp://ftp.gnu.org/ftp/ghostscript.
It _is_ confusing. I used 'GPL ghostscript' from:
http://www.cs.wisc.edu/~ghost/
version 8.50 as listed on that page. I haven't the foggiest idea how that 
number maps to gnu-ghostscript, CUPS-ghostscript, or anything else.
All I know is that I got mpl to shut up after installing this :)
Cheers,
f
From: Stephen W. <ste...@cs...> - 2006年01月24日 22:18:07
Fernando Perez wrote:
> cd /your/gsdownload/dir # I got 8.50, the current gnu one.
There are two parallel versions of ghostscript about whose relationship 
I'm unclear. Version 8.50+ comes from www.ghostscript.com and is called 
"AFPL Ghostscript". Fedora ships with the one from the GNU project, is 
at version 8.16 and is obtained via ftp://ftp.gnu.org/ftp/ghostscript.
Steve
From: Stephen W. <ste...@cs...> - 2006年01月24日 21:37:02
Hi,
I've been testing my matplotlib 0.86.2 installation on Fedora Core 4 and 
hit a problem I can't solve. If I do "python tex_demo.py" in the 
examples directory it seems to hang up. A quick "ps faxw" and a bit of 
digging shows that the problem is that on my installation of tetex, TeX 
isn't recognizing \rmfamily:
> freyer:~/.matplotlib/tex.cache> tex 0885e19fbc15d1bc2b5e1d3ac6018bee.tex
> This is TeX, Version 3.141592 (Web2C 7.5.4)
> (./0885e19fbc15d1bc2b5e1d3ac6018bee.tex
> ! Undefined control sequence.
> l.5 {\rmfamily
> \TeX\ is Number 
> $\displaystyle\sum_{n=1}^\infty\frac{-e^{i\pi...
>
> ? x
What is the problem here? I searched the mailing list and no one else 
seems to be having this trouble, so obviously it's my fault, but I can't 
quite figure out how.
From: Eric F. <ef...@ha...> - 2006年01月24日 21:03:52
Jim,
James Boyle wrote:
> The data I deal with regularly has 'missing' values. I am quite pleased 
> that plot handles this situation so gracefully.
> I tried a scatter plot with two arrays with missing data and was a 
> little surprised that it failed.
> Is this a bug or a feature?
I guess I would call it a missing feature. I added masked_array support 
to line drawing, but neglected scatter. I think I can do it later today.
Eric
From: James B. <bo...@ll...> - 2006年01月24日 19:27:42
The data I deal with regularly has 'missing' values. I am quite pleased 
that plot handles this situation so gracefully.
I tried a scatter plot with two arrays with missing data and was a 
little surprised that it failed.
Is this a bug or a feature?
I can appreciate that in the plot case one can plainly see the gaps 
where the missing data lie, whilst in the scatter case points would be 
silently eliminated. So one might be reluctant to have this aspect of 
the data hidden in the scatter.
I would like to have scatter handle missing data - i.e. if either array 
has a missing value then the point is not plotted.
I have looked a bit at the plot code and must confess that exactly how 
the missing stuff is implemented is not obvious to me.
--Jim
From: Darren D. <dd...@co...> - 2006年01月24日 15:40:24
On Monday 23 January 2006 19:40, Christopher Barker wrote:
> Bill Dandreta wrote:
> > Most distros don't use gnu ghostscript but esp ghostscipt
> > <http://www.cups.org/ghostscript.php>instead, that's why is is version
> > 7.07.
I just fixed a bug in the dependency checking. I'm sorry this didnt get fixed 
before 0.86.2 was released, but I didnt know it was coming.
I just made esp ghostscript version 7.07 the default on my machine, and my 
first test with mpl was successful. If anyone has a script that will produce 
unacceptable results with ghostscript-7.07, please send it to me (and please 
note any changes you have made to default rc settings).
Thanks,
Darren
From: Charlie M. <cw...@gm...> - 2006年01月24日 15:20:26
You can always get the latest canvas buffer from
figure.canvas.tostring_rgb(). A quick pylab example would be:
from pylab import *
import base64
plot(rand(100))
a =3D gca()
c =3D a.figure.canvas
buf =3D base64.encodestring(c.tostring_rgb())
# I would suggest using PIL
import Image
x =3D Image.fromstring('RGB', c.get_width_height(), c.tostring_rgb())
# You can then get specific format output strings
s =3D x.tostring('xbm')
On 1/24/06, Cyril Giraudon <cyr...@fr...> wrote:
> Hello,
>
> My problem is the following : I would like to create an image using the
> matplolib facilities and then insert this image
> in a <IMG SRC=3D"*data*:*image*/???;base64 *.../> *element.
> Then using Gecko (mozilla) and python + xpcom, I would try to interact
> with this image (zoom ...).
>
> In order to succeed I feel I have to understand how a back-end is written=
.
>
> It seems I have to start with the Figure class.
> But then I can't find the image format, the way to return binary data or
> perhaps base64 data.
> I don't want to save the figure in a file et then read it with <IMG
> SRC=3D"theFile.png"/>.
> The speed would be very low.
>
> What is the process to add a new back-end ?
>
> I wish the encode/decode base64 wil not take too much time for keeping
> the dynamism of gtk back-end (for instance).
> What do you think about that ?
>
> Thanks a lot,
>
> Cyril.
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi=
les
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D103432&bid=3D230486&dat=
=3D121642
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
From: Cyril G. <cyr...@fr...> - 2006年01月24日 14:51:16
Hello,
My problem is the following : I would like to create an image using the 
matplolib facilities and then insert this image
in a <IMG SRC="*data*:*image*/???;base64 *.../> *element.
Then using Gecko (mozilla) and python + xpcom, I would try to interact 
with this image (zoom ...).
In order to succeed I feel I have to understand how a back-end is written.
It seems I have to start with the Figure class.
But then I can't find the image format, the way to return binary data or 
perhaps base64 data.
I don't want to save the figure in a file et then read it with <IMG 
SRC="theFile.png"/>.
The speed would be very low.
What is the process to add a new back-end ?
I wish the encode/decode base64 wil not take too much time for keeping 
the dynamism of gtk back-end (for instance).
What do you think about that ?
Thanks a lot,
Cyril.
From: Darren D. <dd...@co...> - 2006年01月24日 14:13:35
On Monday 23 January 2006 19:40, Christopher Barker wrote:
> Bill Dandreta wrote:
> > Most distros don't use gnu ghostscript but esp ghostscipt
> > <http://www.cups.org/ghostscript.php>instead, that's why is is version
> > 7.07.
According to http://www.cups.org/espgs/, the current version of esp 
ghostscript is 8.15.1
Darren
From: Paul B. <peb...@gm...> - 2006年01月24日 13:57:16
On 1/23/06, Darren Dale <dd...@co...> wrote:
>
>
> I have one question. If, for example, a user sets usetex =3DTrue in
> matplotlibrc, but TeX is not installed, is it better to issue a warning
> and
> force usetex=3DFalse, or is it better to raise an error? Right now I do t=
he
> former.
>
Issue a warning. At least the user gets a plot, even if it is not a good
one.
 -- Paul
--
Paul Barrett, PhD Johns Hopkins University
Assoc. Research Scientist Dept of Physics and Astronomy
Phone: 410-516-5190 Baltimore, MD 21218
From: Charlie M. <cw...@gm...> - 2006年01月24日 13:36:28
Minor release to correspond with numpy-0.9.4 compatibility changes.
http://sourceforge.net/project/showfiles.php?group_id=3D80706
http://cheeseshop.python.org/pypi/matplotlib/
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
2006年01月24日 Released 0.86.2
2006年01月20日 Added a converters dict to pylab load to convert selected
 coloumns to float -- especially useful for files with date
 strings, uses a datestr2num converter - JDH
2006年01月20日 Added datestr2num to matplotlib dates to convert a string
 or sequence of strings to a matplotlib datenum
2006年01月18日 Added quadrilateral pcolormesh patch 1409190 by Alex Mont
 and Paul Kienzle -- this is *Agg only for now. See
 examples/quadmesh_demo.py - JDH
2006年01月18日 Added Jouni's boxplot patch - JDH
2006年01月18日 Added comma delimiter for pylab save - JDH
2006年01月12日 Added Ryan's legend patch - JDH
2006年1月12日 Fixed numpy / numeric to use .dtype.char to keep in SYNC
with numpy SVN
From: Alan G I. <ai...@am...> - 2006年01月24日 01:16:15
On 2006年1月23日, Andrew Straw apparently wrote: 
> http://new.scipy.org/Wiki/Cookbook/Matplotlib 
That's helpful.
A query:
has anyone implemented a nice SCATTERPLOT MATRIX
(see http://www.math.sfu.ca/~cschwarz/Stat-301/Handouts/node43.html
for an example or for variants see e.g.
http://www.ncss.com/scatmatrix.html 
http://www.itl.nist.gov/div898/software/dataplot/refman1/auxillar/scatplma.htm 
http://www.mrc-bsu.cam.ac.uk/bugs/documentation/coda03/node34.html )
Thank you,
Alan Isaac
From: Christopher B. <Chr...@no...> - 2006年01月24日 00:40:57
Bill Dandreta wrote:
> Most distros don't use gnu ghostscript but esp ghostscipt 
> <http://www.cups.org/ghostscript.php>instead, that's why is is version 
> 7.07.
Which is a good reason NOT to replace it with Gnu Ghostscript, and that 
is a good reason to really try to fix MPL so that it doesn't require the 
latest Ghostscript.
But then, I'm not volunteering to try to figure all this out.
-Chris
-- 
Christopher Barker, Ph.D.
Oceanographer
 		
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chr...@no...
From: Matt N. <new...@ca...> - 2006年01月23日 23:36:03
Hi Darren,
It may be very different than what you're doing, but the hybrid
approach of gnuplot's 'pslatex' terminal device might be worth
considering and looking into. This writes postscript for the graphics
part and leaves simple lines (for the axes) and the text as plain
latex that overlays the postscript. I think for mpl, you might want
to have all the non-text go into the postscript and all the text go
into an accompanying latex file, but the idea is the same.
One advantage there is portability, as the output is latex+embedded
postscript (using \special). It also allows pretty fine-grained
control on the output, including changing fonts or doing latex things
that mpl can't do (and this can all be done after the fact, so that
you can create the figure, and then change the fonts). It does
require latex to create the figure, but this step could be automated,
at least to stage of the dvi-with-eps-figure stage. Getting to ps,
pdf, or png would be less easy to automate but may be doable in a
portable way.
That sounds easier than parsing a dvi file to me. And postscript
backend already exists.
--Matt
From: Andrew S. <str...@as...> - 2006年01月23日 22:41:37
= What's going on? =
The Matplotlib cookbook is hosted at scipy.org. The backend software 
that hosts the website is being changed (from Plone to MoinMoin). This 
morning I converted the matplotlib cookbook, which is hosted at 
scipy.org, for use with the new software. It is available at 
http://new.scipy.org/Wiki/Cookbook/Matplotlib . (This URL to the new 
cookbook will change once the transition is complete.)
Unfortunately in the transition period, there will be 2 copies of the 
cookbook available online:
 1) the shiny new cookbook at currently available at 
http://new.scipy.org/Wiki/Cookbook/Matplotlib
 2) the slow-to-edit and to-be-removed cookbook at 
http://www.scipy.org/wikis/topical_software/MatplotlibCookbook
*Please make any changes to the new cookbook!*
= Further information =
I've been spearheading an effort to move the scipy.org website to 
something more user-friendly. The goals were for the new site to be:
 * more inclusive of the scientific-computing-using-python community 
rather than the those-using-scipy-the-package community
 * easier (faster) for people to edit
 * more visually pleasing. (aka better marketing)
The decision we took was to make the new website based on MoinMoin, the 
wiki engine available at http://moinmoin.wikiwikiweb.de .
= What you can do =
Please review the Matplotlib Cookbook in its new location. If you can 
correct any errors yourself, that would be greatly appreciated. If you 
just drop me an email, that's fine, too -- I'll try to fix it. We'd also 
appreciate any help and suggestions for the entire new website.
Cheers!
Andrew
From: Charlie M. <cw...@gm...> - 2006年01月23日 21:17:37
On 1/23/06, Christopher Fonnesbeck <ch...@tr...> wrote:
> On Jan 23, 2006, at 2:01 PM, Charlie Moad wrote:
>
> > "LDFLAGS=3D/tmp/static-libs python setup.py build".
> > This will make setuptools look in the directory you specify first.
>
> Thanks Charlie,
>
> Does that mean that it will static link to all libraries in /tmp/
> static-libs (for example)? Is there any problem with leaving mine in /
> usr/local/lib and specifying LDFLAGS=3D/usr/local/lib?
It doesn't matter where they are, but the linker will use whatever it
finds first. I think ld has a preference for shared libs, so if
libpng.so and libpng.a are in /usr/local/lib then they shared will
probably be used. Specifying "LDFLAGS=3D-L/usr/local/lib" (note my typo
before) ensures this directory is searched first.
From: Darren D. <dd...@co...> - 2006年01月23日 20:58:34
On Monday 23 January 2006 12:34, you wrote:
> Darren Dale wrote:
> > The ghostscript requirement is something of a headache. The conservative
> > distributions, such as RHEL, continue to provide ghostscript version
> > 7.07
[...]
> Fedora Core4 is not generally a "conservative" distribution, and OS-X
> (10.3 anyway) doesn't provide 8.16 either. It would be great to not have
> this requirement.
I just spent some time improving the dependency checks, the changes are in 
cvs. I relaxed the ghostscript requirement to gs-7.07, but issue a warning if 
a version earlier than 8.16 is found. Based on Ryans post, and the recent 
changes to the mpl code, I will update the usetex wiki page sometime within 
the next couple days. 
I have one question. If, for example, a user sets usetex =True in 
matplotlibrc, but TeX is not installed, is it better to issue a warning and 
force usetex=False, or is it better to raise an error? Right now I do the 
former.
Darren
From: Darren D. <dd...@co...> - 2006年01月23日 20:47:34
On Monday 23 January 2006 15:05, Ryan Krauss wrote:
> Hey Darren,
>
> Maybe this will help, maybe it won't.
> Ubuntu provides 3 gs options in its package manager:
> gs-afpl v. 8.14
> gs-gpl v. 8.01
> gs-esp v. 7.07
>
> I have also installed gpl 8.50 from source.
>
> My problems only occur when including the eps files in a latex file.
> With gs-gpl 8.01 or gs-esp 7.07, the output looks like the bad_bbox
> picture (it only shows the top of the figure where the plot is
> covering up the text). 
You can force extra space around the figure to prevent this overlap by doing 
something like this, I just dont remember which of the 4 values is relavant 
for this problem:
\includegraphics[trim=-10 -10 -10 -10]{rk-fig.eps}
> With gs-afpl 8.14 or gpl 8.50 (from source), I 
> get the output in better_bbox.jpg, but there is still a thin white
> line from the figure that goes through the text. 
This line can be removed by doing something like:
\includegraphics[clip=true]{rk-fig.eps}
> So maybe the white 
> frame or a white background is messing things up.
>
> But I don't think the problem really is the bounding box, I think it
> is this white frame or background being drawn bigger than the bounding
> box, because if I use the LaTeX command \includegraphics* (which as I
> understand it clips the figure to the bounding box - as opposed to
> \includegraphics without the * which does not), the output from all 4
> gs versions is fine. 
I wasn't aware of \includegraphics*...
> epstopdf makes nice pdfs with a good bounding 
> box/paper size regardless of which version generates the eps files
> (but I have to use the gatech-theis class for my thesis which does not
> work with pdflatex, so I need nice eps files).
>
> The only problem I had meeting the v >8.16 problem was getting gs to
> find my system fonts. This was solved by setting GS_LIB and exporting
> it in my .bashrc file. I found the font paths by running gs -h on one
> of the ubuntu provided versions (i.e /usr/bin/gs-gpl -h).
>
> Hope this helps.
>
> Let me know if you want me to test anything else. I really value this
> option and am glad to help with its development/testing/debugging.
Thank you Ryan, this is a valuable post.
From: Ryan K. <rya...@gm...> - 2006年01月23日 20:05:27
Hey Darren,
Maybe this will help, maybe it won't.
Ubuntu provides 3 gs options in its package manager:
gs-afpl v. 8.14
gs-gpl v. 8.01
gs-esp v. 7.07
I have also installed gpl 8.50 from source.
My problems only occur when including the eps files in a latex file.=20
With gs-gpl 8.01 or gs-esp 7.07, the output looks like the bad_bbox
picture (it only shows the top of the figure where the plot is
covering up the text). With gs-afpl 8.14 or gpl 8.50 (from source), I
get the output in better_bbox.jpg, but there is still a thin white
line from the figure that goes through the text. So maybe the white
frame or a white background is messing things up.
But I don't think the problem really is the bounding box, I think it
is this white frame or background being drawn bigger than the bounding
box, because if I use the LaTeX command \includegraphics* (which as I
understand it clips the figure to the bounding box - as opposed to
\includegraphics without the * which does not), the output from all 4
gs versions is fine. epstopdf makes nice pdfs with a good bounding
box/paper size regardless of which version generates the eps files
(but I have to use the gatech-theis class for my thesis which does not
work with pdflatex, so I need nice eps files).
The only problem I had meeting the v >8.16 problem was getting gs to
find my system fonts. This was solved by setting GS_LIB and exporting
it in my .bashrc file. I found the font paths by running gs -h on one
of the ubuntu provided versions (i.e /usr/bin/gs-gpl -h).
Hope this helps.
Let me know if you want me to test anything else. I really value this
option and am glad to help with its development/testing/debugging.
Ryan
On 1/23/06, Christopher Barker <Chr...@no...> wrote:
> Darren Dale wrote:
> > The ghostscript requirement is something of a headache. The conservativ=
e
> > distributions, such as RHEL, continue to provide ghostscript version 7.=
07,
> > but we have had problems with the postscript output being clipped with =
this
> > version.
>
> Has anyone figured out what the problem is with older gs versions? gs
> has been around along time, there has got to be a way to generate EPS
> that would work with older versions.
>
> Fedora Core4 is not generally a "conservative" distribution, and OS-X
> (10.3 anyway) doesn't provide 8.16 either. It would be great to not have
> this requirement.
>
> -Chris
>
>
> --
> Christopher Barker, Ph.D.
> Oceanographer
>
> NOAA/OR&R/HAZMAT (206) 526-6959 voice
> 7600 Sand Point Way NE (206) 526-6329 fax
> Seattle, WA 98115 (206) 526-6317 main reception
>
> Chr...@no...
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi=
les
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D103432&bid=3D230486&dat=
=3D121642
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
From: Dan C. <jd...@uw...> - 2006年01月23日 18:31:20
Dan Christensen <jd...@uw...> writes:
> I'd like to plot a large number of points (say 10**6 or 10**7) with
> different colours. The colours will not naturally be parametrized by
> a single float, but rather the rgb components will all vary
> independently, so I don't think I can use a colormap.
...
> If I ignore the colors, and plot my data using one (or just a few)
> plot commands with marker '.', the speed is reasonable.
>
> 3) Scatter plots are close, but currently only allow a colormap
> indexed by a single float. I'm also concerned about efficiency,
> since every point seems to be plotted as a polygon, but I just 
> want small dots.
I have now verified that
 scatter(x, y, s=1, marker='o')
is quite a bit slower than
 plot(x, y, '.')
I tested with x and y both equal to arange(10**6).
The most noticeable difference is in (re)drawing the window, which
takes around 40s for the scatter plot and 1s for the ordinary plot.
It sounds like there are a few options:
1) Extend plot to allow an array of colour data.
2) Extend PolygonCollection to include points as a special case.
3) Make something like a PointCollection class which specializes
in drawing lots of points.
Can someone suggest which might be the easiest to pursue? And
which might give the fastest plots? 
Dan

Showing results of 352

<< < 1 .. 3 4 5 6 7 .. 15 > >> (Page 5 of 15)
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 によって変換されたページ (->オリジナル) /