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
(9) |
2
(8) |
3
(6) |
4
(5) |
5
(10) |
6
(1) |
7
|
8
(5) |
9
(3) |
10
(12) |
11
(24) |
12
(28) |
13
(16) |
14
(3) |
15
(10) |
16
(17) |
17
(19) |
18
(10) |
19
(20) |
20
(7) |
21
(11) |
22
(7) |
23
(5) |
24
(4) |
25
(11) |
26
(19) |
27
(1) |
28
(1) |
29
(13) |
30
(7) |
31
(22) |
|
|
|
From: Michael D. <md...@st...> - 2011-08-22 22:11:24
|
You want to call "set_yscale('symlog')" on the axes. Mike On 08/19/2011 01:07 PM, Jonny Milliken wrote: > Hi, > > I am having some trouble establishing how to use > matplotlib.scale.SymmetricalLogScale() to draw a log scale on the > positive and negative axis of a plot. Assuming of course that is the > correct way to go about it > > The code at the moment I am looking at goes something like this, with > arbitrary data generated. I need SubplotHost for parasite axis later on. > > <><><> > > import matplotlib > import pylab > import numpy > from mpl_toolkits.axes_grid.parasite_axes import SubplotHost > > fig = pylab.figure(1) > main = SubplotHost(fig,111) > fig.add_subplot(main) > > x,y = [] > for i in range(100): > > y.append(numpy.random.rand()) > y.append(-numpy.random.rand()) > y.append(numpy.random.rand() * 100) > y.append(-numpy.random.rand() * 100) > > > x = range(len(y)) > > main.plot(x,y) > > <><><> > > At this point I was expecting to be able to run with > SymmetricalLogScale in the same way main.set_yscale('log') transforms > after the plot but could not work out how to transform it other than: > > <><><> > main.yaxis = matplotlib.scale.SymmetricalLogScale(main.yaxis) > <><><> > > But that obviously didnt work, since SymmetricalLogScale doesnt have > get_scale > > If anyone could shed some light on the way to invoke this I'd be much > obliged!? I havent been able to find an example of it's usage anywhere > > Cheers > > Jonny > > > ------------------------------------------------------------------------------ > Get a FREE DOWNLOAD! and learn more about uberSVN rich system, > user administration capabilities and model configuration. Take > the hassle out of deploying and managing Subversion and the > tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 > > > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
From: Albert K. <alb...@gm...> - 2011-08-22 22:01:16
|
As the subject states, I am trying to use a geotiff (shaded relief) that I have downloaded from seamless.usgs.gov as the background in a map. Mostly I am just confused about the seamless image projection and bounds. The metadata defines the latitude of the top and bottom, and longitude of the left and right sides. I assume that a mercator projection is what I should use, but I am not sure. The bounds of the image are also confusing, but they don't match the values specified in the metadata or the values that I requested. Any suggestions? Albert |
From: Stan W. <sta...@nr...> - 2011-08-22 21:06:21
|
import numpy as np import matplotlib.ticker as mticker class RStripScalarFormatter(mticker.ScalarFormatter): """ Formats as ScalarFormatter but without trailing zeros. The 'format' attribute of ScalarFormatter instances contains the basic number formatting as well as the formatting for TeX or MathText. Here we separate those into the 'format' and 'wrapformat' attributes, respectively. """ # Code adapted from mticker.ScalarFormatter. def __init__(self, useOffset=True, useMathText=False): mticker.ScalarFormatter.__init__( self, useOffset=useOffset, useMathText=useMathText ) if self._usetex: self.wrapformat = '$%s$' elif self._useMathText: self.wrapformat = '$\mathdefault{%s}$' else: self.wrapformat = '%s' def _set_format(self): # set the format string to format all the ticklabels # The floating point black magic (adding 1e-15 and formatting # to 8 digits) may warrant review and cleanup. locs = ( (np.asarray(self.locs) - self.offset) / 10**self.orderOfMagnitude ) + 1e-15 maxsigfigs = max( len(str('%1.8f' % loc).split('.')[1].rstrip('0')) for loc in locs ) self.format = '%1.' + str(maxsigfigs) + 'f' def pprint_val(self, x): xp = (x - self.offset) / 10**self.orderOfMagnitude if np.absolute(xp) < 1e-8: xp = 0 xpstr = ( (self.format % xp).rstrip('0').rstrip('.') or '0' ) # If nothing is left, it must've been zero. return self.wrapformat % xpstr if __name__ == '__main__': import matplotlib.pyplot as plt plt.plot([-0.005, 0.02]) axes = plt.gca() axes.yaxis.set_major_formatter(RStripScalarFormatter()) plt.show() |
From: Jeff K. <kl...@wi...> - 2011-08-22 19:23:28
|
On Sun, Aug 21, 2011 at 1:01 PM, Jouni K. Seppänen <jk...@ik...> wrote: > Jeff Klukas <kl...@wi...> writes: > >> File "/Library/Frameworks/EPD64.framework/Versions/7.1/lib/python2.7/site-packages/matplotlib/dviread.py", >> line 727, in _register >> assert encoding is None >> AssertionError > > This sounds like this issue: > https://github.com/matplotlib/matplotlib/issues/191 > > There is a workaround in git commit 708c451 (patch below), which you > could apply to your local copy of dviread. It works! Thanks for a simple fix. || Jeff Klukas, Research Assistant || Dept. of Physics, Univ. of Wisconsin || http://jeff.klukas.net |
From: Jakob G. <ga...@il...> - 2011-08-22 12:23:37
|
Hi, is there a way to define the line width in data units, i.e. no in screen based but in data coordinate system based units? This way the line thickness would scale during zooming (which is intended!). This way parallel areas would be much easier to plot. If this is not possible has anyone found a workaround the get something similar? Thanks Jakob |
From: CAB <ca...@ya...> - 2011-08-22 05:03:30
|
Hi, Eric, Yes, the code you sent works. Many thanks for your help! Chad ________________________________ From: Eric Firing <ef...@ha...> To: mat...@li... Sent: Sunday, August 21, 2011 2:05 PM Subject: Re: [Matplotlib-users] tkinter bug? That's probably why the button was commented out. I think the problem here is that using these gui toolkits is tricky, and the tk examples were never worked out adequately. There are various ways of putting a quit button back into the example. Try the one attached. If it works for you, I will make it replace the present example, and I will delete the embedding_in_tk2.py example because it adds nothing of interest. Eric |
From: Daniel O'C. <doc...@gs...> - 2011-08-22 03:29:34
|
On 22/08/2011, at 5:36, Benjamin Root wrote: > Ok, there has been a lot of useful discussion (for both MacOSX and Windows), but in the end, I want to know this: Is it possible for matplotlib to provide a single, recommended, fully-supported-by-us method for installing our package (possibly for each platform?). Could it be pip? Or some other option? > > It is kinda sad that the linux install instructions are easier than the other platform instructions, and I don't think we even provide a linux installer. It's pretty easy using MacPorts (thank you MacPorts maintainers :) sudo port install py27-matplotlib Obviously that doesn't help when building a dev version, although you can build out of tree ports. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C |