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

Showing 8 results of 8

From: Hugo G. <hg...@gm...> - 2005年12月09日 23:32:16
Hi to all,
I'm interessed in having an interactive plotting window where one of the
subplots would be for console output.
For example I would like to print in a subplot (similar to a console output=
)
the several computed values of a selecetd span from some other subplot.
Does anyone needed a similar feature?
Thanks in advance for your help.
Hugo Gamboa
From: <ps...@br...> - 2005年12月09日 21:57:31
Hi guys,
 I need to make a figure with custom axis location. I would like to be able
to put xaxis and yaxis at arbitrary location (instead of the default location
of top, bottom, left, right). One such example would be the symbolline
example at
http://pyx.sourceforge.net/examples/graphs/index.html.
I could not figure out how to do this with matplotlib after reading the manual
and going through the examples on matplotlib website. I can draw the axis
line myself (with axhline and axvline) but it was very tedious and the result
does not look good. Can this be readily done with matplotlib? Any suggestion
will be appreciated.
Best Wishes,
Simon
From: Randewijk P-J <pjr...@su...> - 2005年12月09日 21:19:19
Dear Paul,
> It should depend on font.size in the rc file.
That's what I thought.
I changed the font.size to 5.
Only my figtext's fontsize changed. The legend's fontsize remained at =
(what appears to be) 12...
I'm still running 0.84, can that be the problem ?
Regards,
Peter-Jan
From: Hugo G. <hg...@gm...> - 2005年12月09日 16:26:45
Hi to all,
I'm interessed in having an interactive plotting window where one of the
subplots would be for console output.
For example I would like to print in a subplot (similar to a console output=
)
the several computed values of a selecetd span from some other subplot.
Does anyone needed a similar feature?
Thanks in advance for your help.
Hugo Gamboa
From: Paul B. <peb...@gm...> - 2005年12月09日 15:59:18
On 12/9/05, Randewijk P-J <pjr...@su...> <pjr...@su...> wrote:
>
>
> The font is defined as 'smaller', but 'smaller' than what...?
Smaller than the default font size, usually 12pt. This option allows you t=
o
set the default font size for the entire plot and then just adjust the axis=
,
label, etc. font sizes relative to it. Therefore, if you decide that all th=
e
fonts of a plot are too small, then you only need to adjust the default fon=
t
size and the others will scale proportionaly.
It is not affected (imho) by either of the following settings in my
> 'matplotlibrc' file:
>
> "...
> font.size : 12
It should depend on font.size in the rc file.
...
> axes.labelsize : 16
> ...
> tick.labelsize : 10
> ..."
>
 -- Paul
--
Paul Barrett, PhD Johns Hopkins University
Assoc. Research Scientist Dept of Physics and Astronomy
Phone: 410-516-5190 Baltimore, MD 21218
From: Randewijk P-J <pjr...@su...> - 2005年12月09日 12:40:16
Dear All,
I want to change the fontsize used for my legends.
Analogues to the 'title', 'figtext', 'xlabel' and 'ylabel' commands, it
would have been nice to write:
legend(('...'),loc=3D'...',fontsize=3D10)
Unfortunately this is not (yet) implemented...
Time Out:
=3D=3D=3D=3D=3D=3D=3D=3D=3D
Can I make a RFC for this feature to be added...?
And the same for the 'axis' command, e.g. 'axis([...],fontsize=3D10)',
would also be a nice addition to mpl.
=3D=3D=3D=3D=3D=3D=3D=3D=3D
Back to the fontsize issue:
In 'legend.py':
"...
def __init__(self, parent, handles, labels, loc,
 isaxes=3DTrue,
 numpoints =3D 4, # the number of points in the
legend line
 prop =3D FontProperties(size=3D'smaller'),
 pad =3D 0.2, # the fractional whitespace =
inside
the legend border
 markerscale =3D 0.6, # the relative size of legend
markers vs. original
 # the following dimensions are in axes coords
 labelsep =3D 0.005, # the vertical space between =
the
legend entries
 handlelen =3D 0.05, # the length of the legend =
lines
 handletextsep =3D 0.02, # the space between the legend
line and legend text
 axespad =3D 0.02, # the border between the axes =
and
legend edge
 shadow=3DFalse,
 ):
..."
The font is defined as 'smaller', but 'smaller' than what...?
It is not affected (imho) by either of the following settings in my
'matplotlibrc' file:
"...
font.size		 : 12
...
axes.labelsize	 : 16
...
tick.labelsize : 10
..."
Kind regards,
Peter-Jan
From: Carl D. K. <cmk...@gm...> - 2005年12月09日 09:15:05
> --- Ursprüngliche Nachricht ---
> Von: "Carl Dr. Kleffner" <cmk...@gm...>
> An: mat...@li...
> Kopie: Darren Dale <dd...@co...>
> Betreff: Re: [Matplotlib-users] scatter with dots?
> Datum: Thu, 8 Dec 2005 16:36:09 +0100 (MET)
> 
> I will look into this. I'm very short on time, so this may take some....
> days. 
> Drawing markers with postscript procedures seems to me the favorite
> solution.
> If anyone is interested in that stuff: I found a wonderfull online book: 
> 'Mathematical Illustrations' from Bill Casselmann.
> http://www.math.ubc.ca/~cass/graphics/manual/
> It is a postscript book from the mathematical viewpoint.
> 
> Regards
> 
> Carl
> 
I'm now looking for another quick solution for postscript scatterplots:
is there an easy way to activate the markers '.' or ',' for 
scatterplots with postscript backends?
Carl
-- 
Telefonieren Sie schon oder sparen Sie noch?
NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie
From: Neil P. <mat...@ke...> - 2005年12月09日 00:56:20
Hi,
I've been giving matplotlib (0.85) a spin, as a front end for 
'exploring' scientific simulation results. Now I've got the data in and 
had a play, there's been a few things which have confused me somewhat 
about the API/features:
* One of the most obvious obstacles at the moment is that I'm plotting 
surface plots, using contour[f] primarily, and haven't found an obvious 
way of removing 'previous' results from axes. Should this work with 
'gca().hold(False)' or equivalent? It doesn't seem to. As such I'm 
currently deleting and recreating the axes each time I change the data. 
 While this is not great, it is faster than not doing so, since 
otherwise the graph accumulates contours and increasingly takes long to 
redraw. I suppose I'm asking whether there is the equivalent of 
[axes].set_ydata(), but for contours :)
* Previously I've been using gnuplot to create pngs, which I can then 
form into a time series, mostly just plotting the data as a 'matrix'. 
While I take it for granted that python/matplotlib are loading/plotting 
the data in 'real-time' compared to just flicking between 
gnuplot-generated png's, pcolor is rather slow for me, and I'm unsure 
exactly what the other approaches (eg. imshow?) are targeted towards, or 
when they are appropriate compared to pcolor. However, not only is 
pcolor slow, but for some reason it defaults to automatically selecting 
a different (overly large) automatic axis-range than contour[f].
* For some reason my install leaves me with pylab windows which have no 
proper icons in the bottom button bar. I've set MATPLOTLIBDATA and 
PYTHONPATH, since I installed the modules into a subdir of my home 
directory.
* Closing the pylab windows using the window-manager results in the 
python process continuing - should this be calling some function to 
interrupt the show() function? (I'm running GTK/GTKAgg if its relevant)
Nevertheless, given these annoyances, I'm quite happy with the results 
so far - it is perhaps already simpler than the system I had been using 
previously, and has taken very little time to get to grips with :)
Having said that, I'm not entirely clear whether pylab is intended to be 
'the' interface to matplotlib, or just a simplified front-end - it seems 
quite confusing from reading some of the online documents.
Thanks for matplotlib, (I'll think of other things to ask, in time!)

Showing 8 results of 8

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 によって変換されたページ (->オリジナル) /