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
(14) |
2
(22) |
3
(8) |
4
(10) |
5
(1) |
6
|
7
(11) |
8
(4) |
9
(14) |
10
(18) |
11
(18) |
12
(2) |
13
(8) |
14
(14) |
15
(6) |
16
(8) |
17
(9) |
18
(9) |
19
(7) |
20
(8) |
21
(8) |
22
(14) |
23
(10) |
24
(11) |
25
(17) |
26
(1) |
27
(3) |
28
(12) |
|
|
|
|
|
From: Humufr <hu...@ya...> - 2005-02-17 22:17:13
|
with: test = [ 32.539772 32.504516 32.47944 32.380905 32.31546 32.193687 32.20433 32.008384 32.081062 32.065277 31.934586 32.09236 31.952614 32.146781 31.724289 31.52745 31.535683 31.596657 31.543633 31.562935 31.882072 31.717575 31.675995 31.609718 31.52964 31.4748 31.325775 31.239838 31.350319 31.172882 31.58982 31.549728 31.277122 31.196587 31.15017 30.995155 30.917984 31.02172 30.932365 31.364365 31.20729 30.92582 ] toto = [ 4781.7 4813.9 4846.1 4878.3 4910.5 4942.7 4974.9 5007.1 5039.3 5071.5 5103.7 5135.9 5168.1 5200.3 5232.5 5264.7 5296.9 5329.1 5361.3 5393.5 5425.7 5457.9 5490.1 5522.3002 5554.5 5586.7 5618.9 5651.1 5683.3002 5715.5 5747.7 5779.9 5812.1 5844.3002 5860.4 5876.5 5908.7 5940.9 5973.1 6005.3002 6037.5 6069.7 ] max(test) = 36.347007 plot (toto,test) I obtain axes between: x= [4600,6200] y= [0,5000] matplotlib CVS version. |
From: Rich D. <dr...@in...> - 2005-02-17 16:02:08
|
On Thu, 17 Feb 2005, Perry Greenfield wrote: > Sure. To fill the entire window: > > axes((0,0,1,1)) # defines the axes bound to use the whole figure region Yes! There is (I think) an error in the documentation, both HTML online (http://matplotlib.sourceforge.net/matplotlib.pylab.html#-figimage) and also the .pdf version, where it says this: "you can define an Axes with size [0,1,0,1]" The order of the points is wrong there, and you set me straight. Thanks much, Rich |
From: Perry G. <pe...@st...> - 2005-02-17 15:43:15
|
On Feb 17, 2005, at 10:22 AM, Rich Drewes wrote: > On Thu, 17 Feb 2005, Perry Greenfield wrote: > >> If you want an image to spatially scale with the plot window, use >> implot instead of figimage. Figimage does not resample images >> spatially >> but rather displays them pixel for pixel (that's what distinguishes >> the two functions) > > Thanks for your response. I am familiar with implot however I've never > been able to get it to plot with distinct pixel boundaries. What I > want > is a figimage-like plot with distinct, single-color regions, just > larger > regions, so that the entire screen window is filled. No smoothing or > interpolation, just big chunky pixels. > > Can this be done? > > Rich Sure. To fill the entire window: axes((0,0,1,1)) # defines the axes bound to use the whole figure region (i.e, window) imshow(imdata, interpolation="nearest") # use nearest neighbor interpolation to rescale image Is this what you are looking for? Perry |
From: Rich D. <dr...@in...> - 2005-02-17 15:22:05
|
On Thu, 17 Feb 2005, Perry Greenfield wrote: > If you want an image to spatially scale with the plot window, use > implot instead of figimage. Figimage does not resample images spatially > but rather displays them pixel for pixel (that's what distinguishes > the two functions) Thanks for your response. I am familiar with implot however I've never been able to get it to plot with distinct pixel boundaries. What I want is a figimage-like plot with distinct, single-color regions, just larger regions, so that the entire screen window is filled. No smoothing or interpolation, just big chunky pixels. Can this be done? Rich |
From: <fab...@fr...> - 2005-02-17 13:28:27
|
----- Message transf=E9r=E9 de mat...@li...urceforge= .net ----- Date : Thu, 17 Feb 2005 02:54:04 -0800 De : mat...@li... Adresse de retour :mat...@li... Sujet : Matplotlib-users -- confirmation of subscription -- request 484= 335 =C0 : fab...@fr... Matplotlib-users -- confirmation of subscription -- request 484335 We have received a request from 193.191.6.174 for subscription of your email address, <fab...@fr...>, to the mat...@li... mailing list. To confirm the request, please send a message to mat...@li..., and either: - maintain the subject line as is (the reply's additional "Re:" is ok), - or include the following line - and only the following line - in the message body: confirm 484335 (Simply sending a 'reply' to this message should work from most email interfaces, since that usually leaves the subject line in the right form.) If you do not wish to subscribe to this list, please simply disregard this message. Send questions to mat...@li.... ----- Fin du message transf=E9r=E9 ----- |
From: fabian s. <fs...@ce...> - 2005-02-17 11:28:14
|
I develop a web application under zope and I would like installing matplotlib under zope.Considering that the python of zope has no the entry in the register, how installing matplotlib? thanks |
From: Xavier G. <gn...@ob...> - 2005-02-17 11:15:12
|
Hi, How can I save (and relaod) a matrix into a binary file *with* matrix shape and type storage. I have a feature request : Basically, it would be great to be able to do something like : X = rand(100,100) BSave('foo.dat', X) Y = BLoad('foo.dat') and at this point, we sould have X==Y (without having to use reshape and having to take care on types) Waiting for such a feature, I'm using gzipped ASCII files but IMHO it is far to be the best solution. Cheers. Xavier. ps : Everything else seems to work just great in 0.72 : Thank's for all the job on matplotlib. |
From: Perry G. <pe...@st...> - 2005-02-17 05:00:48
|
If you want an image to spatially scale with the plot window, use implot instead of figimage. Figimage does not resample images spatially but rather displays them pixel for pixel (that's what distinguishes the two functions) Perry Greenfield > -----Original Message----- > From: mat...@li... > [mailto:mat...@li...]On Behalf Of Rich > Drewes > Sent: Wednesday, February 16, 2005 11:24 PM > To: mat...@li... > Subject: [Matplotlib-users] figimage filling entire image > > > Hello, > > I'm trying to get a figimage to be scaled up dimensionally to occupy the > entire plot window rather than scrunched up in the upper left. The docs > cryptically suggest: > > " * origin is either 'upper' or 'lower', which indicates where the [0,0] > index of the array is in the upper left or lower left corner of > the axes. Defaults to the rc image.origin value > > This complements the axes image which will be resampled to fit the > current axes. If you want a resampled image to fill the entire > figure, you can define an Axes with size [0,1,0,1]." > > But that is too cryptic for my current knowledge state. The following > creates a scrunched image: > > figure(1) > d=rand(100, 100) > figimage(d) > show() > > But this, probably naive guess, errors out with a > transformation-not-invertible message: > > figure(1) > axes([0,1,0,1]) > d=rand(100, 100) > figimage(d) > show() > > Suggestions appreciated. Thanks, > > Rich > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
From: Rich D. <dr...@in...> - 2005-02-17 04:24:16
|
Hello, I'm trying to get a figimage to be scaled up dimensionally to occupy the entire plot window rather than scrunched up in the upper left. The docs cryptically suggest: " * origin is either 'upper' or 'lower', which indicates where the [0,0] index of the array is in the upper left or lower left corner of the axes. Defaults to the rc image.origin value This complements the axes image which will be resampled to fit the current axes. If you want a resampled image to fill the entire figure, you can define an Axes with size [0,1,0,1]." But that is too cryptic for my current knowledge state. The following creates a scrunched image: figure(1) d=rand(100, 100) figimage(d) show() But this, probably naive guess, errors out with a transformation-not-invertible message: figure(1) axes([0,1,0,1]) d=rand(100, 100) figimage(d) show() Suggestions appreciated. Thanks, Rich |
From: Matt N. <new...@ca...> - 2005-02-16 20:11:28
|
I haven't tried wxPython with Python2.4, but with WinXP, Python 2.3.2, wxPython 2.5.3.1, and matplotlib 0.72.0, embedding_in_wx.py embedding_in_wx2.py embedding_in_wx3.py all work ok for me. For completeness, embedding_in_wx4.py fails: Traceback (most recent call last): File "embedding_in_wx4.py", line 22, in ? from matplotlib.numerix import rand ImportError: cannot import name rand but replacing from matplotlib.numerix import rand with from matplotlib.numerix.random_array import random as rand fixes that problem. I think embedding_in_wx4.py has some other problems (Toolbar2 is not visible without a resize, the window does not respond to all events, including closing the window), but that's a separate topic. I agree with John's assessment that the original poster probably had a bad install of wx. Does the wx demo run ok?? Do any other matplotlib examples run? If so, another suggestion would be to try to replace MyApp(0) with PySimpleApp(0). Hope that helps, --Matt |
From: Chris B. <Chr...@no...> - 2005-02-16 19:17:35
|
John Hunter wrote: > wx gurus, is app = MyApp(0) expected to work on wx-2.5.3 ? I'm not sure, but app = wx.GetApp() should. > Can anyone test this examples/embedding_in_wx3.py under a similar > configuration? I've been meaning to do this for ages, so I guess now's a good time. I'll report back if/when I get to it! -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: John H. <jdh...@ac...> - 2005-02-16 15:30:00
|
>>>>> "Bryan" == Bryan Cole <bry...@te...> writes: >>>> ax.xaxis.get_minor_formatter() Bryan> returns a NullFormatter (you would think it would return a Bryan> LogFormatter). This made me think that both major and Bryan> minor ticks were handled by the major formatter (which Bryan> distinguishes them based on it's internal isDecade() call). Well, I use a NullFormatter because minor tick labels are turned off by default. Otherwise the labels could get quite busy. Note that there are 4 players here major and minor tick locators and major and minor tick formatters The minor tick locator is a LogLocator which recognizes the subs -- the minor tick formatter by default is a NullFormatter. This places tick lines and empty tick labels. JDH |
From: Bryan C. <bry...@te...> - 2005-02-16 15:20:30
|
> > ax.xaxis.set_major_locator(majorLocator) > ax.xaxis.set_major_formatter(majorFormatter) > > #for the minor ticks, use no labels; default NullFormatter > ax.xaxis.set_minor_locator(minorLocator) > > From this you might guess ax.xaxis.set_minor_formatter. > Yeay! Thanks for these pointers; it now works great. Something that confused me is that for a log plot, >>> ax.xaxis.get_minor_formatter() returns a NullFormatter (you would think it would return a LogFormatter). This made me think that both major and minor ticks were handled by the major formatter (which distinguishes them based on it's internal isDecade() call). Anyway, thanks again for your help. Bryan |
From: John H. <jdh...@ac...> - 2005-02-16 14:41:58
|
>>>>> "daniele" =3D=3D daniele <dga...@gm...> writes: daniele> Thank you very much for your advice. Unfortunately when daniele> I try to run the script I get: daniele> File daniele> "C:\Python24\Lib\site-packages\pythonwin\pywin\framework\scr= iptutils.py", daniele> line 310, in RunScript exec codeObject in daniele> __main__.__dict__ File daniele> "C:\Python24\MathPlot_examples\examples\embedding_in_wx3.py"= , daniele> line 156, in ? app =3D MyApp(0) File daniele> "C:\Python24\Lib\site-packages\wx-2.5.3-msw-ansi\wx\_core.py= ", daniele> line 5301, in __init__ self._BootstrapApp() File daniele> "C:\Python24\Lib\site-packages\wx-2.5.3-msw-ansi\wx\_core.py= ", daniele> line 4980, in _BootstrapApp return daniele> _core_.PyApp__BootstrapApp(*args, **kwargs) File daniele> "C:\Python24\MathPlot_examples\examples\embedding_in_wx3.py"= , daniele> line 111, in OnInit self.panel =3D daniele> XRCCTRL(self.frame,"MainPanel") File daniele> "C:\Python24\Lib\site-packages\wx-2.5.3-msw-ansi\wx\xrc.py", daniele> line 203, in XRCCTRL return daniele> window.FindWindowById(XRCID(str_id)) AttributeError: daniele> 'NoneType' object has no attribute 'FindWindowById' daniele> Which frankly I don=B4t understand. Any further advice? daniele> Thank you, DG This looks either like a wx version problem or a bad wx install.=20 wx gurus, is app =3D MyApp(0) expected to work on wx-2.5.3 ? Can anyone test this examples/embedding_in_wx3.py under a similar configuration? JDH |
From: John H. <jdh...@ac...> - 2005-02-16 14:39:08
|
>>>>> "Robert" == Robert Leftwich <ro...@le...> writes: Robert> Is it possible to include a marker from one or more Robert> scatter plots in the legend? Robert This is a bit tricky -- scatter plots can vary in size and color. What should one use for the legend marker? So the short answer is no. My question for you is, "how *should* it work?" Not if you are using homogeneous marker sizes and colors, I suggest using plot markers tweaking the properties, as in line, = plot(x,y,linestyle='None', marker='s', markerfacecolor='red', markeredgecolor='g', markersize=20, markeredgewith=3) or the pithy line, = plot(x, y, ls='None', marker='s', mfc='red', mec='g', ms=20,, mew=3) These you can add to the legend. legend((line,), ('label',)) In matplotlib-0.72, this will be as fast or faster than scatter for the agg backend. Probably faster. If this is not an option -- eg you need variation in size but not color, you can use a line as a stand-in in your legend. Create the line, don't add it to the axes, but pass it to the legend sizes = 20*rand(len(x)) scatter(x,y,s=sizes, marker='o', c='red') # now create the proxy line but don't add it to axes for drawing line = Line2D(x,y,marker='o', color='red') legend((line,), ('label',)) This is untested, so let me know how it goes... JDH |
From: John H. <jdh...@ac...> - 2005-02-16 14:32:23
|
>>>>> "Bryan" == Bryan Cole <bry...@te...> writes: Bryan> Is it possible to have labels on minor ticks, on log plots? Bryan> I've tried >>>> gca().get_major_formatter().label_minor(True) Bryan> but it doesn't work. Just some advice on how to help you get to where you want to go. Have you seen the matplotlib examples directory in the src distribution, at http://matplotlib.sf.net/examples and zipped at http://matplotlib.sourceforge.net/matplotlib_examples_0.72.zip ? If you scroll through there, sometimes you see and example that will help with the problem at hand. In this case major_minor_demo1.py, major_minor_demo2.py, custom_ticker1.py, and log_demo.py will probably all offer some insight. Though none explicitly address the problem at hand, the would have shown you the right syntax to set minor formatters. Eg from major_minor_demo1.py ax.xaxis.set_major_locator(majorLocator) ax.xaxis.set_major_formatter(majorFormatter) #for the minor ticks, use no labels; default NullFormatter ax.xaxis.set_minor_locator(minorLocator) From this you might guess ax.xaxis.set_minor_formatter. Also, if you fire up a python shell, and get the type of ax.xaxis, you can get more information >>> ax = subplot(111) >>> dir(ax.xaxis) >>> help(ax.xaxis.set_minor_formatter) The class docs are also helpful here, eg the Axis docs at http://matplotlib.sourceforge.net/matplotlib.axis.html . This is not meant as criticism or RTFM -- the docs are admittedly a bit sparse -- just giving you some guidance to help you the next time. Now on to your the problem at hand. Something like this... from pylab import * #formatter = LogFormatterMathtext(base=10, labelOnlyBase=False) minorFormatter = LogFormatter(base=10, labelOnlyBase=False) majorFormatter = LogFormatter(base=10, labelOnlyBase=True) ax = subplot(111) x = arange(1, 2000.0, 0.1) y = exp(-x/10) semilogx(x, y, subsx=(2,5)) # tick minors on 2s and 5s ax.xaxis.set_minor_formatter(minorFormatter) ax.xaxis.set_major_formatter(majorFormatter) show() The LogFormatterMathtext does superscript tick formatting, eg 10^2. This can look funny for minor ticks, because it does things like 10^{2.3} for 20. You can of course, design your own formatter..... http://matplotlib.sf.net/matplotlib.ticker.html Hope this helps, JDH |
From: Bryan C. <bry...@te...> - 2005-02-16 13:13:02
|
Is it possible to have labels on minor ticks, on log plots? I've tried >>> gca().get_major_formatter().label_minor(True) but it doesn't work. Any ideas? Bryan |
From: Robert L. <ro...@le...> - 2005-02-15 22:08:57
|
Having just had a call from a client saying 'love the new graph, but why is the background sky blue' and thinking 'I've never done anything with sky blue in my life! - what have I broken', I then proceeded to learn more about Microsoft's lack of standards support than I really wanted or could spare the time to do. The upshot is that transparent png's work perfectly in all tested browsers, as well as sundry image viewers/editors but not in IE, sigh! I wondered why I hadn't struck this problem before so I looked at a few of my older, gnuplot generated, transparent png's, which worked perfectly in IE. A quick look with gimp shows that gnuplot uses a different technique for transparency than does Matplotlib. The transparent colour info for the gnuplot image is R:0, G:0, B:0, Alpha:0, Index:254 while for Matplotlib it is R:255, G:255, B:255, Alpha:0, with no Index. Now I don't know enough (er, anything) about the low level detail of the png format, but I wonder if it is possible to achieve the same result in Matplotlib or do I need to post-process (using ImageMagick or similar) to generate the same style of png or possibly gif's? Robert |
From: John H. <jdh...@ac...> - 2005-02-15 13:57:22
|
>>>>> "Fl=E1vio" =3D=3D Fl=E1vio Code=E7o Coelho <fcc...@fi...> wr= ites: Fl=E1vio> I just want to let you know that neither 'cla', 'clf' nor Fl=E1vio> 'figure' solved the issue but 'close' did it. I must Fl=E1vio> point out that the only element that was being carried out Fl=E1vio> from figure to figure was the colorbar, not the plot Fl=E1vio> itself. Apparently 'close' is the only one of these Fl=E1vio> functions that gets rid of the colorbar. Yep, cla would not be expected to do anything, since both the image and colorbar are spearate axes. So cla, clf and close are working as advertised -- and that's a good thing :-) JDH |
From: <fcc...@fi...> - 2005-02-15 12:08:54
|
On Monday 14 February 2005 12:24, John Hunter wrote: > >>>>> "Flávio" == Flávio Codeço Coelho <fcc...@fi...> writes: > > Flávio> I just want to let you know that neither 'cla', 'clf' nor > Flávio> 'figure' solved the issue but 'close' did it. I must > Flávio> point out that the only element that was being carried out > Flávio> from figure to figure was the colorbar, not the plot > Flávio> itself. Apparently 'close' is the only one of these > Flávio> functions that gets rid of the colorbar. > > Hi Flávio, > > clf *should* work. Could you send me a script which includes a clf > that replicates the problem so I can fix it. Thanks. > Hi John, clf does work, sorry. Its cla that does not (though I am not sure it should serve this purpose...) i am sending the code attached |
From: Chris B. <Chr...@no...> - 2005-02-15 00:52:33
|
>>also, how am i going to assign to a variable anything that a user >>inputs to a wxTxtCtrl? >> >>any help would greatly be appreciated. thanks and more power You've bitten off quite a bit here all in one part. Start by looking at the wxPython Demo and Wiki for various code samples, and try to build a little app that just takes a value for input and does something with it. In fact, look at the "embedded in wx" matplotlib samples, there may be one that takes a value and generates a plot based on it. As a hint, you'll need to use wxTextCtrl.GetValue() to get the input value, and convert it to a number with float(). As you start small, ask questions on the wxPython mailing list, we're very helpful there! -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: Robert L. <ro...@le...> - 2005-02-15 00:50:27
|
Is it possible to include a marker from one or more scatter plots in the legend? Robert |
From: Jan R. G. <jr...@gm...> - 2005-02-15 00:19:31
|
On Fri, 28 Jan 2005 15:18:53 +0800, Jan Rienyer Gadil <jr...@gm...> wrote: > i'm currently using python 2.3(enthought edition) on win 2000/xp. > i'm using boa constructor on the GUI part and matplotlib 0.71 on > plotting the graph. > > i am using an MDIParentFrame. one of the child frame will be used for > the table part. then another child frame will be used to show the > graph, how am i going to do this? will i just import the child frame > containing the tables and then i'll be able to just get the data from > the table and use it to plot a graph? > how am i going to assign to a variable each input to the table? > can you please show me a sample code to do this? > i'm a little lost since i'm a bit new to python. > > also, how am i going to assign to a variable anything that a user > inputs to a wxTxtCtrl? > > any help would greatly be appreciated. thanks and more power > anybody could help me on this? |
From: Robert L. <ro...@le...> - 2005-02-14 23:58:20
|
John Hunter wrote: > > figure(frameon=False) > > must work for the figure frame. Sorry, finger/brain trouble at this end - it works perfectly. Robert |
From: John H. <jdh...@ac...> - 2005-02-14 23:42:15
|
>>>>> "Robert" == Robert Leftwich <ro...@le...> writes: Robert> I'd like to be able to generate a png with a transparent Robert> background so that I can overly multiple graphs on top of Robert> each other (in a web page). I've tried the frameOn-False Robert> discussed a couple of times in the mailing list it doesn't Robert> produce the desired result. Is this possible? figure(frameon=False) must work for the figure frame. Do you need the axes to be transparent too. Note that the figure and axes frames are both matplotlib rectangles. You can control the transparency of the rectangle by calling rect.set_alpha(0.5) You can access the figure Rectangle instance as fig.figPatch and the Axes Rectangle instance as ax.axesPatch Passing one of these instances to "help" or "set" will give more info. JDH |