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

Showing results of 398

<< < 1 .. 14 15 16 (Page 16 of 16)
From: Antoine L. <al...@ca...> - 2006年03月03日 01:49:41
I tried to build matplot lib (both 0.87 and 0.86.2) on Ubuntu Linux 5.10. =
The=20
first set of error messages convinced me to install the Tcl and Tk dev=20
packages.
The second run of errors is just really weird, and I'm not sure how to fix =
it.
Thanks,
Antoine
=46irst run or errors
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
src/_tkagg.cpp:28:18: error: tk.h: No such file or directory
src/_tkagg.cpp:36: error: ISO C++ forbids declaration of =E2=80=98Tcl_Inter=
p=E2=80=99 with no=20
type
src/_tkagg.cpp:36: error: expected =E2=80=98;=E2=80=99 before =E2=80=98*=E2=
=80=99 token
src/_tkagg.cpp:40: error: =E2=80=98ClientData=E2=80=99 was not declared in =
this scope
src/_tkagg.cpp:40: error: =E2=80=98Tcl_Interp=E2=80=99 was not declared in =
this scope
src/_tkagg.cpp:40: error: =E2=80=98interp=E2=80=99 was not declared in this=
 scope
src/_tkagg.cpp:41: error: expected primary-expression before =E2=80=98int=
=E2=80=99
src/_tkagg.cpp:41: error: expected primary-expression before =E2=80=98char=
=E2=80=99
src/_tkagg.cpp:41: error: initializer expression list treated as compound=20
expression
src/_tkagg.cpp:42: error: expected =E2=80=98,=E2=80=99 or =E2=80=98;=E2=80=
=99 before =E2=80=98{=E2=80=99 token
src/_tkagg.cpp: In function =E2=80=98PyObject* _tkinit(PyObject*, PyObject*=
)=E2=80=99:
src/_tkagg.cpp:176: error: =E2=80=98Tcl_Interp=E2=80=99 was not declared in=
 this scope
src/_tkagg.cpp:176: error: =E2=80=98interp=E2=80=99 was not declared in thi=
s scope
src/_tkagg.cpp:185: error: expected primary-expression before =E2=80=98)=E2=
=80=99 token
src/_tkagg.cpp:185: error: expected `;' before =E2=80=98arg=E2=80=99
src/_tkagg.cpp:190: error: =E2=80=98struct TkappObject=E2=80=99 has no memb=
er named =E2=80=98interp=E2=80=99
src/_tkagg.cpp:196: error: =E2=80=98Tcl_CmdProc=E2=80=99 was not declared i=
n this scope
src/_tkagg.cpp:196: error: expected primary-expression before =E2=80=98)=E2=
=80=99 token
src/_tkagg.cpp:197: error: =E2=80=98ClientData=E2=80=99 was not declared in=
 this scope
src/_tkagg.cpp:197: error: =E2=80=98Tcl_CmdDeleteProc=E2=80=99 was not decl=
ared in this scope
src/_tkagg.cpp:197: error: expected primary-expression before =E2=80=98)=E2=
=80=99 token
src/_tkagg.cpp:197: error: =E2=80=98Tcl_CreateCommand=E2=80=99 was not decl=
ared in this scope
=2E/CXX/Extensions.hxx: In constructor=20
=E2=80=98Py::PythonExtension<T>::PythonExtension() [with T =3D BufferRegion=
]=E2=80=99:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Second run of errors
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
g++ -pthread -shared build/temp.linux-i686-2.4/src/_tkagg.o=20
build/temp.linux-i686-2.4/CXX/cxx_extensions.o=20
build/temp.linux-i686-2.4/CXX/cxxsupport.o=20
build/temp.linux-i686-2.4/CXX/IndirectPythonInterface.o=20
build/temp.linux-i686-2.4/CXX/cxxextensions.o -L/usr/lib/tcl8.4/../ - L / u=
 s=20
r / l i b / t k 8 . 4 / . . / -L/usr/local/lib -L/usr/local/lib -ltk8.4=20
=2Dltcl8.4 -lpng -lz -lstdc++ -lm -lfreetype -lz -lstdc++ -lm -o=20
build/lib.linux-i686-2.4/matplotlib/backends/_tkagg.so
g++: L: No such file or directory
g++: u: No such file or directory
g++: s: No such file or directory
g++: r: No such file or directory
g++: l: No such file or directory
g++: i: No such file or directory
g++: b: No such file or directory
g++: t: No such file or directory
g++: k: No such file or directory
g++: 8: No such file or directory
g++: 4: No such file or directory
g++: -E or -x required when input is from standard input
g++: L: No such file or directory
g++: u: No such file or directory
g++: s: No such file or directory
g++: r: No such file or directory
g++: l: No such file or directory
g++: i: No such file or directory
g++: b: No such file or directory
g++: t: No such file or directory
g++: k: No such file or directory
g++: 8: No such file or directory
g++: 4: No such file or directory
g++: -E or -x required when input is from standard input
error: Command "g++ -pthread -shared build/temp.linux-i686-2.4/src/_tkagg.o=
=20
build/temp.linux-i686-2.4/CXX/cxx_extensions.o=20
build/temp.linux-i686-2.4/CXX/cxxsupport.o=20
build/temp.linux-i686-2.4/CXX/IndirectPythonInterface.o=20
build/temp.linux-i686-2.4/CXX/cxxextensions.o -L/usr/lib/tcl8.4/../ - L / u=
 s=20
r / l i b / t k 8 . 4 / . . / -L/usr/local/lib -L/usr/local/lib -ltk8.4=20
=2Dltcl8.4 -lpng -lz -lstdc++ -lm -lfreetype -lz -lstdc++ -lm -o=20
build/lib.linux-i686-2.4/matplotlib/backends/_tkagg.so" failed with exit=20
status 1
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
From: Michael P. M. <mo...@jp...> - 2006年03月02日 21:22:31
I need to control aspect ratio of the plot as visible on the screen or 
printed.. for example, a plotted circle or ellipse must come out with 
the right aspect ratio. (Note: printing is primary, we assume printer 
pixels are perfectly square, and we don't care if the screen pixels are 
not quite square.)
(Note to John -- I'm in Ted Drain's group at JPL, and I'm looking at 
this early.. I know you've been hired to create an ellipse primitive.)
So what would be a way of controlling aspect ratio? Can this be done via 
pylab, or better done through the OO interface? I know that I can resize 
the figure canvas, but to be strictly correct I need to know the length 
of the axes in pixels, not the figure canvas.
Mike
From: Toon V. <Too...@UG...> - 2006年03月02日 15:21:12
Attachments: Toon.Verstraelen.vcf
Hi,
I'm sorry, but removing the texcache doesn't help. I have patched the 
matplotlib code successfully to solve this problem. I'll submit the 
patch at the sf.net site.
regards,
Toon
Ryan Krauss wrote:
> You may need to clear your texcache when you change the save settings.
> 
> On 3/2/06, Toon Verstraelen <Too...@ug...> wrote:
> 
>>Hi,
>>
>>I have tried matplotlib 0.87 and bumped on a problem with the dpi
>>settings. I have set "text.usetex=True" and I use the Agg backend. When
>>I write a figure to a png file at different resolutions, the size of the
>>text in pixels remains the same, while it should be the size relative to
>>the image size that is invariant.
>>
>>I'll send a patch in the near future, unless someone else is already
>>working on this.
>>
>>regards,
>>
>>Toon
>>
>>
>>
From: Toon V. <Too...@UG...> - 2006年03月02日 14:11:00
Attachments: Toon.Verstraelen.vcf
Hi,
I have tried matplotlib 0.87 and bumped on a problem with the dpi 
settings. I have set "text.usetex=True" and I use the Agg backend. When 
I write a figure to a png file at different resolutions, the size of the 
text in pixels remains the same, while it should be the size relative to 
the image size that is invariant.
I'll send a patch in the near future, unless someone else is already 
working on this.
regards,
Toon
From: John H. <jdh...@ac...> - 2006年03月01日 21:31:56
>>>>> "Derek" == Derek Basch <db...@ya...> writes:
 Derek> Hi everyone, I have been using code similar to the below to
 Derek> format the labels on scatter plots with the x axis set to a
 Derek> logarithmic scale. However when I try the below I still get
 Derek> the base and exponent instead of the product (ie '10**2'
 Derek> instead of '100'). Can anyone tell me what I am doing
 Derek> wrong? Sorry about the large data sample but I figured it
 Derek> was best to be as accurate as possible.
The call to semilogx calls ax.set_xscale which overrides your custom
formatter. The following should work
 ax.semilogx(x_axis, fp_y_axis, 'r', linewidth=0.1, markersize=2, label = "False Positive")
 formatter = FuncFormatter(log10Product)
 ax.xaxis.set_major_formatter(formatter)
Ie, set your formatter after any call to set_xscale or semilogx.
JDH
From: Derek B. <db...@ya...> - 2006年03月01日 21:17:50
Hi everyone,
I have been using code similar to the below to format the labels on scatter plots with the x axis
set to a logarithmic scale. However when I try the below I still get the base and exponent instead
of the product (ie '10**2' instead of '100'). Can anyone tell me what I am doing wrong? Sorry
about the large data sample but I figured it was best to be as accurate as possible.
Thanks,
Derek
from pylab import *
import math
def log10Product(x, pos):
 """The two args are the value and tick position.
 Label ticks with the product of the exponentiation"""
 return '%1i' % (x)
def roundUpLogDecade(x):
 """ Round up to the nearest logarithmic decade""" 
 return 10**math.ceil(math.log10(x))
x_axis = [0.93820000000000003, 0.93820000000000003, 1.4981, 3.0781000000000001,
5.1627999999999998, 5.4006999999999996, 6.4268000000000001, 7.2370000000000001,
9.0183999999999997, 9.3475999999999999, 10.856999999999999, 11.066000000000001,
11.382999999999999, 11.473000000000001, 12.324, 14.512, 16.82, 19.260999999999999,
21.702999999999999, 22.384, 23.899999999999999, 27.716000000000001, 33.753, 38.012,
42.079999999999998, 42.241, 42.656999999999996, 45.177, 46.899999999999999, 49.518999999999998,
51.344999999999999, 52.948999999999998, 64.768000000000001, 65.808999999999997,
66.600999999999999, 66.897999999999996, 67.953999999999994, 67.960999999999999,
73.228999999999999, 73.650000000000006, 78.744, 79.030000000000001, 82.275000000000006,
83.905000000000001, 98.102999999999994, 100.16, 104.84999999999999, 112.56, 126.83,
128.03999999999999, 134.13, 135.43000000000001, 139.5, 148.02000000000001, 153.88, 167.88,
173.90000000000001, 189.97999999999999, 192.00999999999999, 194.66999999999999,
210.25999999999999, 228.90000000000001, 240.83000000000001, 241.34999999999999, 267.69,
268.54000000000002, 268.68000000000001, 276.86000000000001, 292.23000000000002,
294.00999999999999, 295.61000000000001, 305.18000000000001, 313.11000000000001, 315.69,
339.06999999999999, 347.31, 351.27999999999997, 377.97000000000003, 380.61000000000001,
386.07999999999998, 395.48000000000002, 405.25, 423.26999999999998, 427.58999999999997,
434.27999999999997, 455.74000000000001, 473.39999999999998, 474.16000000000003,
479.23000000000002, 518.32000000000005, 533.91999999999996, 539.64999999999998,
540.85000000000002, 580.74000000000001, 585.59000000000003, 600.94000000000005,
611.63999999999999, 638.86000000000001, 665.45000000000005, 697.75999999999999,
754.64999999999998, 815.99000000000001, 818.88, 881.97000000000003, 883.62, 886.70000000000005,
912.51999999999998, 932.30999999999995, 969.55999999999995, 980.72000000000003, 1057.2,
1171.4000000000001, 1188.0999999999999, 1220.9000000000001, 1245.2, 1301.2, 1349.0999999999999,
1355.5, 1357.4000000000001, 1361.5999999999999, 1378.5, 1435.2, 1482.9000000000001,
1496.9000000000001, 1510.3, 1549.5, 1569.0999999999999, 1574.4000000000001, 1602.5, 1608.8,
1651.2, 1705.8, 1798.0999999999999, 1867.2, 1870.7, 2044.4000000000001, 2048.8000000000002,
2092.0999999999999, 2183.9000000000001, 2382.4000000000001, 2506.5999999999999,
2555.0999999999999, 2665.5999999999999, 2753.3000000000002, 2815.1999999999998,
2950.6999999999998, 2996.3000000000002, 3068.0999999999999, 3287.6999999999998,
3313.8000000000002, 3382.5999999999999, 3427.6999999999998, 3467.3000000000002,
3505.9000000000001, 3640.0, 3805.8000000000002, 3889.6999999999998, 3984.8000000000002, 4094.5,
4123.1000000000004, 4224.8000000000002, 4242.8000000000002, 4245.1999999999998,
4499.1999999999998, 4552.6999999999998, 4675.8999999999996, 4744.1999999999998,
4816.3000000000002, 5051.3999999999996, 5138.0, 5690.5, 5800.6000000000004, 6065.0,
6337.1000000000004, 6829.3000000000002, 7285.5, 7310.8000000000002, 7489.1000000000004, 7534.5,
8319.2000000000007, 8976.7999999999993, 9283.2999999999993, 9699.2000000000007, 9767.5, 10895.0,
11247.0, 11454.0, 11631.0, 11661.0, 12096.0, 12536.0, 13030.0, 13117.0, 13179.0, 13376.0, 13515.0,
13519.0, 14708.0, 14954.0, 15329.0, 15336.0, 16031.0, 16625.0, 16883.0, 17730.0, 18511.0, 19191.0,
19219.0, 20144.0, 23457.0, 24807.0, 26801.0, 28435.0, 29286.0, 29382.0, 31013.0, 31665.0, 34811.0,
34961.0, 35997.0, 36588.0, 42922.0, 46101.0, 48096.0, 49627.0, 59298.0, 59775.0, 60756.0, 73322.0,
78387.0, 79868.0, 89046.0, 89655.0, 112410.0, 118700.0, 125460.0, 126660.0, 136190.0, 138140.0,
143090.0, 145420.0, 151440.0, 155060.0, 159980.0, 161240.0, 168830.0, 171290.0, 175630.0,
184960.0, 192330.0, 202910.0, 211700.0, 235890.0, 241170.0, 260540.0, 273750.0, 342660.0,
379170.0, 379560.0, 414240.0, 418600.0, 436640.0, 436760.0, 554500.0, 650750.0, 759950.0,
799680.0, 922060.0, 1000000.0]
fp_y_axis = [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0044247787610619468, 0.0088495575221238937,
0.0088495575221238937, 0.013274336283185841, 0.013274336283185841, 0.017699115044247787,
0.022123893805309734, 0.022123893805309734, 0.022123893805309734, 0.026548672566371681,
0.026548672566371681, 0.030973451327433628, 0.035398230088495575, 0.035398230088495575,
0.035398230088495575, 0.035398230088495575, 0.039823008849557522, 0.044247787610619468,
0.044247787610619468, 0.048672566371681415, 0.048672566371681415, 0.053097345132743362,
0.057522123893805309, 0.061946902654867256, 0.061946902654867256, 0.06637168141592921,
0.070796460176991149, 0.070796460176991149, 0.070796460176991149, 0.075221238938053103,
0.075221238938053103, 0.075221238938053103, 0.075221238938053103, 0.075221238938053103,
0.079646017699115043, 0.079646017699115043, 0.079646017699115043, 0.084070796460176997,
0.088495575221238937, 0.092920353982300891, 0.092920353982300891, 0.097345132743362831,
0.10176991150442478, 0.10619469026548672, 0.11061946902654868, 0.11504424778761062,
0.11504424778761062, 0.11946902654867257, 0.12389380530973451, 0.12389380530973451,
0.12389380530973451, 0.12831858407079647, 0.13274336283185842, 0.13716814159292035,
0.1415929203539823, 0.1415929203539823, 0.14601769911504425, 0.15044247787610621,
0.15044247787610621, 0.15044247787610621, 0.15044247787610621, 0.15486725663716813,
0.15929203539823009, 0.16371681415929204, 0.16814159292035399, 0.17256637168141592,
0.17699115044247787, 0.17699115044247787, 0.18141592920353983, 0.18141592920353983,
0.18584070796460178, 0.19026548672566371, 0.19469026548672566, 0.19911504424778761,
0.20353982300884957, 0.20353982300884957, 0.20796460176991149, 0.20796460176991149,
0.20796460176991149, 0.21238938053097345, 0.21238938053097345, 0.21238938053097345,
0.2168141592920354, 0.22123893805309736, 0.22123893805309736, 0.22566371681415928,
0.23008849557522124, 0.23008849557522124, 0.23451327433628319, 0.23451327433628319,
0.23893805309734514, 0.24336283185840707, 0.24336283185840707, 0.24778761061946902,
0.25221238938053098, 0.25663716814159293, 0.26106194690265488, 0.26106194690265488,
0.26548672566371684, 0.26991150442477874, 0.26991150442477874, 0.27433628318584069,
0.27876106194690264, 0.2831858407079646, 0.28761061946902655, 0.29203539823008851,
0.29646017699115046, 0.30088495575221241, 0.30530973451327431, 0.30973451327433627,
0.31415929203539822, 0.31858407079646017, 0.32300884955752213, 0.32300884955752213,
0.32300884955752213, 0.32743362831858408, 0.33185840707964603, 0.33628318584070799,
0.33628318584070799, 0.34070796460176989, 0.34513274336283184, 0.34513274336283184,
0.34955752212389379, 0.35398230088495575, 0.3584070796460177, 0.36283185840707965,
0.36725663716814161, 0.37168141592920356, 0.37168141592920356, 0.37610619469026546,
0.38053097345132741, 0.38495575221238937, 0.38938053097345132, 0.39380530973451328,
0.39823008849557523, 0.40265486725663718, 0.40707964601769914, 0.41150442477876104,
0.41592920353982299, 0.41592920353982299, 0.42035398230088494, 0.4247787610619469,
0.42920353982300885, 0.4336283185840708, 0.43805309734513276, 0.44247787610619471,
0.44690265486725661, 0.45132743362831856, 0.45132743362831856, 0.45575221238938052,
0.46017699115044247, 0.46460176991150443, 0.46902654867256638, 0.47345132743362833,
0.47787610619469029, 0.48230088495575218, 0.48672566371681414, 0.49115044247787609,
0.49115044247787609, 0.49557522123893805, 0.5, 0.5, 0.50442477876106195, 0.50884955752212391,
0.50884955752212391, 0.51327433628318586, 0.51769911504424782, 0.52212389380530977,
0.52654867256637172, 0.53097345132743368, 0.53539823008849563, 0.53982300884955747,
0.54424778761061943, 0.54867256637168138, 0.55309734513274333, 0.55752212389380529,
0.56194690265486724, 0.5663716814159292, 0.57079646017699115, 0.5752212389380531,
0.5752212389380531, 0.57964601769911506, 0.58407079646017701, 0.58849557522123896,
0.59292035398230092, 0.59734513274336287, 0.60176991150442483, 0.60619469026548678,
0.61061946902654862, 0.61504424778761058, 0.61946902654867253, 0.62389380530973448,
0.62831858407079644, 0.63274336283185839, 0.63716814159292035, 0.6415929203539823,
0.64601769911504425, 0.65044247787610621, 0.65486725663716816, 0.65929203539823011,
0.66371681415929207, 0.66814159292035402, 0.67256637168141598, 0.67699115044247793,
0.68141592920353977, 0.68584070796460173, 0.69026548672566368, 0.69469026548672563,
0.69911504424778759, 0.70353982300884954, 0.70796460176991149, 0.71238938053097345,
0.7168141592920354, 0.72123893805309736, 0.72566371681415931, 0.73008849557522126,
0.73451327433628322, 0.73893805309734517, 0.74336283185840712, 0.74778761061946908,
0.75221238938053092, 0.75663716814159288, 0.76106194690265483, 0.76548672566371678,
0.76991150442477874, 0.77433628318584069, 0.77876106194690264, 0.7831858407079646,
0.78761061946902655, 0.79203539823008851, 0.79646017699115046, 0.80088495575221241,
0.80530973451327437, 0.80973451327433632, 0.81415929203539827, 0.81858407079646023,
0.82300884955752207, 0.82743362831858402, 0.83185840707964598, 0.83628318584070793,
0.84070796460176989, 0.84513274336283184, 1.0]
tp_y_axis = [0.0, 0.012987012987012988, 0.025974025974025976, 0.03896103896103896,
0.051948051948051951, 0.064935064935064929, 0.07792207792207792, 0.090909090909090912,
0.1038961038961039, 0.11688311688311688, 0.12987012987012986, 0.14285714285714285,
0.15584415584415584, 0.16883116883116883, 0.18181818181818182, 0.19480519480519481,
0.20779220779220781, 0.22077922077922077, 0.23376623376623376, 0.24675324675324675,
0.25974025974025972, 0.27272727272727271, 0.2857142857142857, 0.29870129870129869,
0.31168831168831168, 0.32467532467532467, 0.32467532467532467, 0.32467532467532467,
0.33766233766233766, 0.33766233766233766, 0.35064935064935066, 0.35064935064935066,
0.35064935064935066, 0.36363636363636365, 0.37662337662337664, 0.37662337662337664,
0.38961038961038963, 0.38961038961038963, 0.38961038961038963, 0.40259740259740262,
0.41558441558441561, 0.42857142857142855, 0.42857142857142855, 0.42857142857142855,
0.44155844155844154, 0.44155844155844154, 0.45454545454545453, 0.45454545454545453,
0.45454545454545453, 0.45454545454545453, 0.46753246753246752, 0.46753246753246752,
0.46753246753246752, 0.48051948051948051, 0.4935064935064935, 0.4935064935064935,
0.50649350649350644, 0.51948051948051943, 0.53246753246753242, 0.54545454545454541,
0.54545454545454541, 0.55844155844155841, 0.5714285714285714, 0.5714285714285714,
0.5714285714285714, 0.5714285714285714, 0.58441558441558439, 0.58441558441558439,
0.58441558441558439, 0.58441558441558439, 0.58441558441558439, 0.58441558441558439,
0.59740259740259738, 0.59740259740259738, 0.59740259740259738, 0.61038961038961037,
0.62337662337662336, 0.62337662337662336, 0.62337662337662336, 0.62337662337662336,
0.62337662337662336, 0.63636363636363635, 0.63636363636363635, 0.63636363636363635,
0.64935064935064934, 0.66233766233766234, 0.67532467532467533, 0.67532467532467533,
0.67532467532467533, 0.67532467532467533, 0.67532467532467533, 0.67532467532467533,
0.67532467532467533, 0.68831168831168832, 0.68831168831168832, 0.70129870129870131,
0.70129870129870131, 0.70129870129870131, 0.70129870129870131, 0.70129870129870131,
0.70129870129870131, 0.7142857142857143, 0.7142857142857143, 0.72727272727272729,
0.74025974025974028, 0.74025974025974028, 0.75324675324675328, 0.76623376623376627,
0.76623376623376627, 0.76623376623376627, 0.77922077922077926, 0.77922077922077926,
0.77922077922077926, 0.79220779220779225, 0.79220779220779225, 0.80519480519480524,
0.80519480519480524, 0.80519480519480524, 0.81818181818181823, 0.81818181818181823,
0.81818181818181823, 0.81818181818181823, 0.81818181818181823, 0.83116883116883122,
0.83116883116883122, 0.83116883116883122, 0.8441558441558441, 0.8441558441558441,
0.8441558441558441, 0.8441558441558441, 0.8441558441558441, 0.8441558441558441,
0.8441558441558441, 0.8441558441558441, 0.8441558441558441, 0.8441558441558441,
0.8441558441558441, 0.8441558441558441, 0.8441558441558441, 0.8571428571428571,
0.87012987012987009, 0.87012987012987009, 0.87012987012987009, 0.87012987012987009,
0.88311688311688308, 0.88311688311688308, 0.88311688311688308, 0.89610389610389607,
0.89610389610389607, 0.89610389610389607, 0.89610389610389607, 0.89610389610389607,
0.89610389610389607, 0.89610389610389607, 0.90909090909090906, 0.90909090909090906,
0.90909090909090906, 0.90909090909090906, 0.90909090909090906, 0.90909090909090906,
0.90909090909090906, 0.90909090909090906, 0.90909090909090906, 0.90909090909090906,
0.90909090909090906, 0.92207792207792205, 0.92207792207792205, 0.92207792207792205,
0.92207792207792205, 0.92207792207792205, 0.92207792207792205, 0.92207792207792205,
0.92207792207792205, 0.92207792207792205, 0.93506493506493504, 0.93506493506493504,
0.93506493506493504, 0.93506493506493504, 0.93506493506493504, 0.93506493506493504,
0.93506493506493504, 0.93506493506493504, 0.93506493506493504, 0.93506493506493504,
0.94805194805194803, 0.94805194805194803, 0.94805194805194803, 0.96103896103896103,
0.96103896103896103, 0.96103896103896103, 0.97402597402597402, 0.97402597402597402,
0.97402597402597402, 0.97402597402597402, 0.97402597402597402, 0.97402597402597402,
0.97402597402597402, 0.97402597402597402, 0.97402597402597402, 0.97402597402597402,
0.97402597402597402, 0.97402597402597402, 0.97402597402597402, 0.97402597402597402,
0.97402597402597402, 0.97402597402597402, 0.98701298701298701, 0.98701298701298701,
0.98701298701298701, 0.98701298701298701, 0.98701298701298701, 0.98701298701298701,
0.98701298701298701, 0.98701298701298701, 0.98701298701298701, 0.98701298701298701,
0.98701298701298701, 0.98701298701298701, 0.98701298701298701, 0.98701298701298701,
0.98701298701298701, 0.98701298701298701, 0.98701298701298701, 0.98701298701298701,
0.98701298701298701, 0.98701298701298701, 0.98701298701298701, 0.98701298701298701,
0.98701298701298701, 0.98701298701298701, 0.98701298701298701, 0.98701298701298701,
0.98701298701298701, 0.98701298701298701, 0.98701298701298701, 0.98701298701298701,
0.98701298701298701, 0.98701298701298701, 0.98701298701298701, 0.98701298701298701,
0.98701298701298701, 0.98701298701298701, 0.98701298701298701, 0.98701298701298701,
0.98701298701298701, 0.98701298701298701, 0.98701298701298701, 0.98701298701298701,
0.98701298701298701, 0.98701298701298701, 0.98701298701298701, 0.98701298701298701,
0.98701298701298701, 0.98701298701298701, 0.98701298701298701, 0.98701298701298701,
0.98701298701298701, 0.98701298701298701, 0.98701298701298701, 0.98701298701298701,
0.98701298701298701, 0.98701298701298701, 0.98701298701298701, 0.98701298701298701,
0.98701298701298701, 0.98701298701298701, 0.98701298701298701, 0.98701298701298701, 1.0] 
ax = subplot(111)
ax.set_xscale('log')
 
formatter = FuncFormatter(log10Product)
ax.xaxis.set_major_formatter(formatter)
ax.semilogx(x_axis, fp_y_axis, 'r', linewidth=0.1, markersize=2, label = "False Positive")
ax.semilogx(x_axis, tp_y_axis, 'b', linewidth=0.1, markersize=2, label = "True Positive")
max_xlim = roundUpLogDecade(max(x_axis))
## Must add 1 to allow the last decades label to be shown
ax.set_xlim(1e-1, max_xlim+1)
 
legend(loc=1)
xlabel(r"Prediction", fontsize = 12)
ylabel(r"Rate", fontsize = 12)
grid(True)
show()
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
From: Jens S. <Jen...@t-...> - 2006年03月01日 20:04:16
Dear all,
 
I would like to use Matplotlib with movpy (Movable Python - Movable Python
is a Windows distribution of Python that doesn't need to be installed. It
easily fits onto a USB memory stick.
http://www.voidspace.org.uk/python/movpy/)
With the great help of the Movable Python author, I manage to install pylab
on the stick as well. It even runs with iphyton! 
Unfortunately pylab writes all the fonts and stuff to the "home" dir of the
Windows PC. I tried to change the datapath in matplotlibrc, but I could not
manage to use a relative path. It crashed. A absolute path is no so good,
because USB Sticks can have different drive names on different Windows PCs.
Does somebody knows a solution to use a relative path for the datapath
directory?
Regards
Jens
 
From: Robert H. <he...@ta...> - 2006年03月01日 19:03:46
I just compiled MPL (with NumPy for the numerix package) on my new 
intel-based MacBook. I used the png and freetype libraries installed 
via i-Installer (http://ii2.sf.net), which are available as universal 
(i.e., intel-compatible) binaries. AquaTk (universal) was already 
there.
I did install the latest 2.4 python from source, in order to get 
readline. After some testing with between the installed python2.3, 
and the new python2.4, it seems that the newer python is faster, and 
there are some glitches displaying graphics using the installed 
python2.3 that I have not yet worked out.
-Rob.
-----
Rob Hetland, Assistant Professor
Dept of Oceanography, Texas A&M University
p: 979-458-0096, f: 979-845-6331
e: he...@ta..., w: http://pong.tamu.edu
From: Darren D. <dd...@co...> - 2006年03月01日 19:01:24
Please include your version of matplotlib and any nonstandard rc settings, 
otherwise I cant help.
Darren
On Wednesday 01 March 2006 13:51, Charles R. Twardy wrote:
> Hi all,
>
> The following code generates .png files fine ("python test.py") but
> the postscript backend ("python test.py -dPS") clips the upper right,
> as attached (converted to .png). Thoughts?
>
> -Charles
>
> import pylab
> pylab.figure(1, figsize=(8,8))
> #ax = pylab.axes([0.1, 0.1, 0.8, 0.8])
> pop_fig = pylab.pie([150,110,25,29,11,3,2,2],
> labels =
> ['NSW','VIC','WA','SA','QLD','ACT','NT','TAS'], autopct = "%1.0f%%",
> shadow=True)
> pylab.title("Num Cases by State or Territory")
> pylab.savefig('test')
>
>
> --
> Charles R. Twardy
-- 
Darren S. Dale, Ph.D.
Cornell High Energy Synchrotron Source
Cornell University
200L Wilson Lab
Rt. 366 & Pine Tree Road
Ithaca, NY 14853
dd...@co...
office: (607) 255-9894
fax: (607) 255-9001
From: Charles R. T. <ct...@gm...> - 2006年03月01日 18:51:36
Attachments: test.png
Hi all,
The following code generates .png files fine ("python test.py") but
the postscript backend ("python test.py -dPS") clips the upper right,
as attached (converted to .png). Thoughts?
-Charles
import pylab
pylab.figure(1, figsize=3D(8,8))
#ax =3D pylab.axes([0.1, 0.1, 0.8, 0.8])
pop_fig =3D pylab.pie([150,110,25,29,11,3,2,2],
 labels =3D ['NSW','VIC','WA','SA','QLD','ACT','NT','TAS=
'],
 autopct =3D "%1.0f%%",
 shadow=3DTrue)
pylab.title("Num Cases by State or Territory")
pylab.savefig('test')
--
Charles R. Twardy
From: John H. <jdh...@ac...> - 2006年03月01日 17:23:09
>>>>> "Finny" == Finny Kuruvilla <kur...@mo...> writes:
 Finny> I'm not exactly sure why this is true, but I've empirically
 Finny> found this out to be the case. If anyone knows why, I'd
 Finny> sure love to know.
matplotlib will work with numpy, numarray *or* Numeric, but it doesn't
work with all three at the same time. You need to set your "numerix"
setting in your config file to agree with which package you are using
(and then restart python). An example rc file is at
http://matplotlib.sf.net/matplotlibrc
We provide a numerix compatibility layer which you can consider using
so you won't get into these troubles. This essentially guarantees
that the array object you are using is the same as the one you have
set in your configuration file
 import matplotlib.numerix as nx
 x=nx.array([1,2])
 hist(x)
You can inspect the value of the numerix parameter with
 import matplotlib
 print matplotlib.rcParams['numerix']
rcParams is a dictionary mapping a configuration parameter to a
value. Most of these can be changed dynamically at runtime, but two,
the 'numerix' and the 'backend' setting must be changed before
importing the numerix module and pylab, respectively, because these
trigger imports that are not easily undone. Most people just set
these once in their rc file and are done with it, but you can set them
in a script with 
 from matplotlib import rcParams
 rcParams['numerix] = 'numpy'
 rcParams['backend'] = 'PS'
 # it is now safe to import numerix and pylab
 import matplotlib.numerix as nx # you'll be using numpy
 import pylab # with the postscript backend as default
JDH
JDH
From: John H. <jdh...@ac...> - 2006年03月01日 17:15:26
>>>>> "Xavier" == Xavier Gnata <gn...@ob...> writes:
 >> We have migrated the development repository from CVS to svn.
 >> You can now get the latest source tree with svn co
 >> https://svn.sourceforge.net/svnroot/matplotlib/trunk/matplotlib
 >> The CVS tree is now dead and should not be used.
I just disabled CVS. Thanks for the hint.
JDH
From: Aurelien J. <aur...@au...> - 2006年03月01日 17:13:17
Xavier Gnata a écrit :
> 
>> We have migrated the development repository from CVS to svn. You can
>> now get the latest source tree with
>> svn co https://svn.sourceforge.net/svnroot/matplotlib/trunk/matplotlib
>> The CVS tree is now dead and should not be used.
>>
>> JDH
>>
>> 
>>
> Hi,
> 
> Is it possbile to update this page 
> http://sourceforge.net/cvs/?group_id=80706 or is the "CVS" string 
> hard-coded in sourceforge projets pages (it would be sad)?
> 
I think you are looking for this page:
http://sourceforge.net/svn/?group_id=80706
-- 
 .''`. Aurelien Jarno	 | GPG: 1024D/F1BCDB73
 : :' : Debian developer | Electrical Engineer
 `. `' au...@de... | aur...@au...
 `- people.debian.org/~aurel32 | www.aurel32.net
From: Humufr <hu...@ya...> - 2006年03月01日 17:10:11
You had to change the function find_tcltk in setupext.py. There are a 
problem on suse with "tk.getvar('tcl_library')" who are pointing toward 
something like "/usr/share/lib/tcl" instead that where are really the 
library.
This is an example who work here:
def find_tcltk():
 """Finds Tcl/Tk includes/libraries/version by interrogating Tkinter."""
 try:
 import Tkinter
 except:
 print "Tkinter not properly installed\n"
 sys.exit(1)
 if Tkinter.TkVersion < 8.3:
 print "Tcl/Tk v8.3 or later required\n"
 sys.exit(1)
 o = FoundTclTk()
 try:
 tk=Tkinter.Tk() 
 except Tkinter.TclError:
 print "Using default library and include directories for Tcl and 
Tk because a"
 print "Tk window failed to open. You may need to define DISPLAY 
for Tk to work"
 print "so that setup can determine where your libraries are 
located."
 o.tcl_lib = "/usr/lib"
 o.tcl_inc = "/usr/include"
 o.tk_lib = "/usr/lib"
 o.tk_inc = "/usr/include"
 o.tkv = ""
 else:
 tk.withdraw()
#not working on suse 10
 #o.tcl_lib = os.path.join((tk.getvar('tcl_library')), '../')
 #o.tk_lib = os.path.join(str(tk.getvar('tk_library')), '../')
 #o.tkv = str(Tkinter.TkVersion)[:3]
 #o.tcl_inc = os.path.join((tk.getvar('tcl_library')),
 # '../../include/tcl'+o.tkv)
#change introduce to tell where are the library and the version
 o.tcl_lib = "/usr/lib"
 o.tcl_inc = "/usr/include"
 o.tk_lib = "/usr/lib"
 o.tk_inc = "/usr/include"
 o.tkv = "8.4"
 if not os.path.exists(o.tcl_inc):
 o.tcl_inc = os.path.join((tk.getvar('tcl_library')),
 '../../include')
 o.tk_inc = os.path.join((tk.getvar('tk_library')),
 '../../include/tk'+o.tkv) 
 if not os.path.exists(o.tk_inc):
 o.tk_inc = os.path.join((tk.getvar('tk_library')),
 '../../include')
 if not os.path.exists(o.tcl_inc):
 print 'cannot find tcl/tk headers. giving up.'
 sys.exit()
 return o
Nils Wagner wrote:
> Hi all,
>
> I tried to build matplotlib on SuSE Linux 10.0
> python setup.py build results in
>
>
> .cannot find tcl/tk headers. giving up.
>
> Any idea ?
>
> I have installed
>
> rpm -qi tk-devel
> Name : tk-devel Relocations: (not relocatable)
> Version : 8.4.11 Vendor: SUSE LINUX
> Products GmbH, Nuernberg, Germany
> Release : 5 Build Date: Tue 13 Sep 2005
> 01:10:13 AM CEST
> Install date: Tue 28 Feb 2006 09:43:35 AM CET Build Host: barry.suse.de
> Group : Development/Languages/Tcl Source RPM: tk-8.4.11-5.src.rpm
> Size : 637061 License: BSD
> Signature : DSA/SHA1, Tue 13 Sep 2005 01:14:50 AM CEST, Key ID
> a84edae89c800aca
> Packager : http://www.suse.de/feedback
> URL : http://www.tcl.tk
> Summary : Header Files and C API Documentation for Tk
> Description :
> This package contains header files and documentation needed for writing
> Tk extensions in compiled languages like C, C++, etc., or for embedding
> Tk in programs written in such languages.
>
> This package is not needed for writing extensions or applications for
> Tk in the Tcl language itself.
>
>
>
> Authors:
> --------
> John Ousterhout <joh...@en...>
> Distribution: SUSE LINUX 10.0 (X86-64)
>
> whitney:/usr/local/svn/matplotlib # rpm -qi tcl-devel
> Name : tcl-devel Relocations: (not relocatable)
> Version : 8.4.11 Vendor: SUSE LINUX Products GmbH, Nuernberg, Germany
> Release : 2 Build Date: Fri 09 Sep 2005 07:26:00 PM CEST
> Install date: Tue 28 Feb 2006 09:43:09 AM CET Build Host: Hygiea.suse.de
> Group : Development/Languages/Tcl Source RPM: tcl-8.4.11-2.src.rpm
> Size : 848628 License: BSD
> Signature : DSA/SHA1, Fri 09 Sep 2005 08:35:27 PM CEST, Key ID a84edae89c800aca
> Packager : http://www.suse.de/feedback
> URL : http://www.tcl.tk
> Summary : Header Files and C API Documentation for Tcl
> Description :
> This package contains header files and documentation needed for writing
> Tcl extensions in compiled languages like C, C++, etc., or for
> embedding the Tcl interpreter in programs written in such languages.
>
> This package is not needed for writing extensions or applications in
> the Tcl language itself.
> Distribution: SUSE LINUX 10.0 (X86-64)
> 
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
> 
From: Xavier G. <gn...@ob...> - 2006年03月01日 16:59:08
>We have migrated the development repository from CVS to svn. You can
>now get the latest source tree with 
>
> svn co https://svn.sourceforge.net/svnroot/matplotlib/trunk/matplotlib 
>
>The CVS tree is now dead and should not be used.
>
>JDH
>
> 
>
Hi,
Is it possbile to update this page 
http://sourceforge.net/cvs/?group_id=80706 or is the "CVS" string 
hard-coded in sourceforge projets pages (it would be sad)?
Xavier.
From: Nils W. <nw...@me...> - 2006年03月01日 16:54:23
Hi all,
I tried to build matplotlib on SuSE Linux 10.0
python setup.py build results in
.cannot find tcl/tk headers. giving up.
Any idea ?
I have installed
rpm -qi tk-devel
Name : tk-devel Relocations: (not relocatable)
Version : 8.4.11 Vendor: SUSE LINUX
Products GmbH, Nuernberg, Germany
Release : 5 Build Date: Tue 13 Sep 2005
01:10:13 AM CEST
Install date: Tue 28 Feb 2006 09:43:35 AM CET Build Host: barry.suse.de
Group : Development/Languages/Tcl Source RPM: tk-8.4.11-5.src.rpm
Size : 637061 License: BSD
Signature : DSA/SHA1, Tue 13 Sep 2005 01:14:50 AM CEST, Key ID
a84edae89c800aca
Packager : http://www.suse.de/feedback
URL : http://www.tcl.tk
Summary : Header Files and C API Documentation for Tk
Description :
This package contains header files and documentation needed for writing
Tk extensions in compiled languages like C, C++, etc., or for embedding
Tk in programs written in such languages.
This package is not needed for writing extensions or applications for
Tk in the Tcl language itself.
Authors:
--------
 John Ousterhout <joh...@en...>
Distribution: SUSE LINUX 10.0 (X86-64)
whitney:/usr/local/svn/matplotlib # rpm -qi tcl-devel
Name : tcl-devel Relocations: (not relocatable)
Version : 8.4.11 Vendor: SUSE LINUX Products GmbH, Nuernberg, Germany
Release : 2 Build Date: Fri 09 Sep 2005 07:26:00 PM CEST
Install date: Tue 28 Feb 2006 09:43:09 AM CET Build Host: Hygiea.suse.de
Group : Development/Languages/Tcl Source RPM: tcl-8.4.11-2.src.rpm
Size : 848628 License: BSD
Signature : DSA/SHA1, Fri 09 Sep 2005 08:35:27 PM CEST, Key ID a84edae89c800aca
Packager : http://www.suse.de/feedback
URL : http://www.tcl.tk
Summary : Header Files and C API Documentation for Tcl
Description :
This package contains header files and documentation needed for writing
Tcl extensions in compiled languages like C, C++, etc., or for
embedding the Tcl interpreter in programs written in such languages.
This package is not needed for writing extensions or applications in
the Tcl language itself.
Distribution: SUSE LINUX 10.0 (X86-64)
 
From: Finny K. <kur...@mo...> - 2006年03月01日 16:53:48
I've finally figured out why I've been having trouble creating histograms=
.
 As it turns out, if you pass to hist() a datatype that is numpy.ndarray
instead of a Numeric array, you get the following error. Check this out:
>>> import numpy
>>> import Numeric
>>> from pylab import *
>>> y=3DNumeric.array([1,2])
>>> hist(y) # This works no problem
>>> x=3Dnumpy.array([1,2])
>>> hist(x)
Traceback (most recent call last):
 File "<stdin>", line 1, in ?
 File "/usr/lib/python2.4/site-packages/matplotlib/pylab.py", line 1857,
in hist
 ret =3D gca().hist(*args, **kwargs)
 File "/usr/lib/python2.4/site-packages/matplotlib/axes.py", line 1676,
in hist
 n,bins =3D matplotlib.mlab.hist(x, bins, normed)
 File "/usr/lib/python2.4/site-packages/matplotlib/mlab.py", line 621, i=
n
hist
 dy =3D (ymax-ymin)/bins
TypeError: unsupported operand type(s) for -: 'str' and 'str'
I'm not exactly sure why this is true, but I've empirically found this ou=
t
to be the case. If anyone knows why, I'd sure love to know.
Thanks,
Finny Kuruvilla
From: John H. <jdh...@ac...> - 2006年03月01日 16:20:06
We have migrated the development repository from CVS to svn. You can
now get the latest source tree with 
 svn co https://svn.sourceforge.net/svnroot/matplotlib/trunk/matplotlib 
The CVS tree is now dead and should not be used.
JDH
From: David C. <dav...@gm...> - 2006年03月01日 16:15:00
T24gMy8xLzA2LCBEYXJyZW4gRGFsZSA8ZGQ1NUBjb3JuZWxsLmVkdT4gd3JvdGU6Cj4gIkhvd2V2
ZXIsIGl0IGlzIHZlcnkgZWFzeSB0byB3cml0ZSBhbmQgYW5hbHl6ZSBwcm9ncmFtcyB0byBwcm9j
ZXNzIHRoaXMKPiBmb3JtYXQsIGFuZCB0aGF0IGlzIHRoZSBwb2ludC4iCj4KPiBTbyBqdXN0IG91
dCBvZiBjdXJpb3NpdHksIHdoYXQgaXMgdGhpcyBmb3JtYXQgdXNlZCBmb3I/CgppaWFubSwgaXQn
cyB0aGUgIm1pZGRsZW1hbiIgZm9ybWF0IHVzZWQgaW4gdGhlIG5ldHBibSBzdWl0ZQpvZiBjb21t
YW5kbGluZSBpbWFnZSBwcm9jZXNzaW5nIHRvb2xzLgoKLS0gZGF2ZQpFbWFpbDogZGF2aWQudy5o
LmNoaW5AZ21haWwuY29tCgpQUyBHbyBCaWcgUmVkISAtLWRhdmUgJzkyCg==
From: Nils W. <nw...@me...> - 2006年03月01日 16:03:51
Hi all,
Is matplotlib available via svn ?
 
Nils
From: Jeff W. <js...@fa...> - 2006年03月01日 14:34:26
Hi: I just added the oft-requested reversed colormaps to the trunk in 
svn. The reversed colormaps have '_r" appended to the name, so cm.jet 
reversed would be cm.jet_r.
-Jeff
-- 
Jeffrey S. Whitaker Phone : (303)497-6313
NOAA/OAR/CDC R/CDC1 FAX : (303)497-6449
325 Broadway Web : http://www.cdc.noaa.gov/~jsw
Boulder, CO, USA 80305-3328 Office: Skaggs Research Cntr 1D-124
From: Darren D. <dd...@co...> - 2006年03月01日 14:04:29
On Wednesday 01 March 2006 8:50 am, Nils Wagner wrote:
> Hi,
>
> Afaik there is no support for ppm files within matplotlib.
> Is it planned to add this format to the existing formats bmp, eps, jpg,
> png, ps, svg ?
=46rom the netpbm website:
"The PPM format is a lowest common denominator color image file format.
It should be noted that this format is egregiously inefficient. It is highl=
y =09
redundant, while containing a lot of information that the human eye can't=20
even discern. Furthermore, the format allows very little information about=
=20
the image besides basic color, which means you may have to couple a file in=
=20
this format with other independent information to get any decent use out of=
=20
it."
They go on:
"However, it is very easy to write and analyze programs to process this=20
format, and that is the point."
So just out of curiosity, what is this format used for?
Darren
From: Nils W. <nw...@me...> - 2006年03月01日 13:50:57
Hi,
Afaik there is no support for ppm files within matplotlib.
Is it planned to add this format to the existing formats bmp, eps, jpg,
png, ps, svg ?
 
Nils
5 messages has been excluded from this view by a project administrator.

Showing results of 398

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