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
|
|
From: Jonathan S. <js...@cf...> - 2013-01-23 17:36:07
|
Hi, I'm wondering if there is some straightforward way to combine two PathCollection objects to create a new PathCollection object. My goal is to include two points that use different axes (one twin'ed to the other) into a single legend item (different point types, same label). Each call to scatter creates a new PathCollection object. If I could just combine two (or more) PathCollection objects -- either extending them or concatenating or whatever -- then I could give that to legend and it would work correctly. But it's not clear to me how I can do that. I tried providing the two objects as a tuple to legend, but it doesn't work (only point characteristics of one of them is used). Really, I think this should be easier -- both the combining of such objects (which after all, are collections) and providing legend with simple arguments to produce what you want. As far as I can tell I can't just tell leged directly the symbol type(s) and colors of point(s) per each label. Though in general the automatic method whereby you provide the object to the legend is nice and easy, a more crude and direct way would be a good option for special cases. Jon -- ______________________________________________________________ Jonathan D. Slavin Harvard-Smithsonian CfA js...@cf... 60 Garden Street, MS 83 phone: (617) 496-7981 Cambridge, MA 02138-1516 cell: (781) 363-0035 USA ______________________________________________________________ |
|
From: Andrew D. <da...@at...> - 2013-01-23 10:19:04
|
Hi all,
[TL;DR: is it possible to control the length of the dashes in dashed
contours, if so how?]
I'd like to be able to control the length of dashes for dashed contours. My
motivation is that I'm making a contour plot that uses dashes for the
negative contours, and the plot needs to be a specific (small) size for the
particular journal, so the small size of the plot makes the dashes look
rather long and is a problem for some tight contours.
I have tried using some a dashes-style argument for the linestyles keyword
of contour but I can't get it to work (although I appreciate it is not
documented as something one can do). For example I tried:
import matplotlib.pyplot as plt
import numpy as np
x = y = np.linspace(-np.pi, np.pi, 100)
X, Y = np.meshgrid(x, y)
Z = np.sin(X) * np.cos(Y)
plt.contour(x, y, Z, linestyles=[(3, 3)])
plt.show()
This fails at the point where I show (or save, doesn't matter which
backend) the plot with a PyCXX error:
TypeError: PyCXX: Error creating object of type
N2Py7SeqBaseINS_6ObjectEEE from 3
I've fiddled with several other styles of argument and all fail in a
similar way.
What I'd like to know is: is it possible to control the dash length of
dashed contours at all? It seems like it should be as one can do this with
lines easy enough. I looked through the code, and a dashes-style argument
seems to get passed through the stack correctly, but fails when the
Collection is drawn. It would be a really nice feature if this could be
implemented in matplotlib.
Thanks,
Andrew
|
|
From: Sterling S. <sm...@fu...> - 2013-01-23 06:34:07
|
On Jan 22, 2013, at 7:01PM, Benjamin Root wrote:
>
>
> On Tue, Jan 22, 2013 at 9:10 PM, Drain, Theodore R (343P) <the...@jp...> wrote:
> I have to say I disagree with this "fix". None was a nice, very intuitive way to hide the label. Many Python systems use None in that kind of role and I really doubt anyone is going to use None when they meant "None" so converting it to a string seems like a bad idea.
>
> Ted
>
>
> IIRC, the problem is that in matplotlib, the python None has a special meaning in most places ("do the default thing"). Legends, by default, will create default labels. For some time, we were capable of distinguishing when someone submitted label=None and didn't state anything at all for labels. This often causes confusion down the draw stack, and we have been working towards getting rid of such distinctions.
>
> Of course, this is all from memory, which is notoriously bad. If someone else can bisect the commit that changed this, maybe that can refresh my memory and maybe I could see a reason to re-instate this behavior. Also, if anyone can spot where it is stated in the documentation or examples that None acts the same as "_nolegend_", then we can consider this a regression and get it fixed.
>
> Cheers!
> Ben Root
If None means do the default thing, then great. I always interpreted the default for a plot command (line, patch, scatter, bar, etc.) to be no legend entry, unless explicitly given. While not the specification as you have given it (default is default labels), this is my working specification (I have not yet migrated to 1.2.0).
Cheers,
Sterling
PS Notwithstanding this possible point of difference of opinion, I think the matplotlib team is awesome, and puts out a great product. So I am willing to concede the point if no reversion is made.
|
|
From: Benjamin R. <ben...@ou...> - 2013-01-23 03:02:07
|
On Tue, Jan 22, 2013 at 9:10 PM, Drain, Theodore R (343P) <
the...@jp...> wrote:
> I have to say I disagree with this "fix". None was a nice, very intuitive
> way to hide the label. Many Python systems use None in that kind of role
> and I really doubt anyone is going to use None when they meant "None" so
> converting it to a string seems like a bad idea.
>
> Ted
>
>
IIRC, the problem is that in matplotlib, the python None has a special
meaning in most places ("do the default thing"). Legends, by default, will
create default labels. For some time, we were capable of distinguishing
when someone submitted label=None and didn't state anything at all for
labels. This often causes confusion down the draw stack, and we have been
working towards getting rid of such distinctions.
Of course, this is all from memory, which is notoriously bad. If someone
else can bisect the commit that changed this, maybe that can refresh my
memory and maybe I could see a reason to re-instate this behavior. Also,
if anyone can spot where it is stated in the documentation or examples that
None acts the same as "_nolegend_", then we can consider this a regression
and get it fixed.
Cheers!
Ben Root
|
|
From: Drain, T. R (343P) <the...@jp...> - 2013-01-23 02:14:52
|
I have to say I disagree with this "fix". None was a nice, very intuitive way to hide the label. Many Python systems use None in that kind of role and I really doubt anyone is going to use None when they meant "None" so converting it to a string seems like a bad idea. Ted ________________________________________ From: David Erickson [hal...@gm...] Sent: Tuesday, January 22, 2013 4:47 PM To: Benjamin Root Cc: mat...@li... Subject: Re: [Matplotlib-users] Hiding labels in a legend? On Tue, Jan 22, 2013 at 1:20 PM, Benjamin Root <ben...@ou...> wrote: > > > On Tue, Jan 22, 2013 at 1:57 PM, David Erickson <hal...@gm...> > wrote: >> >> Hello- >> Prior to version 1.2 of MPL I was able to hide labels for certain >> lines in the legend by setting the label=None when plotting a line, >> however in 1.2 it is now showing the legend entry and visibly printing >> "None". Is there a workaround to hide the label? >> >> Thanks, >> David >> > > I think you want "_nolegend_" for those labels. The hiding of the labels > for None was an undocumented feature, I think, and has been "fixed". > > http://matplotlib.org/api/axes_api.html#matplotlib.axes.Axes.legend > Perfect, thanks Ben! -David ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d _______________________________________________ Matplotlib-users mailing list Mat...@li... https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
|
From: David E. <hal...@gm...> - 2013-01-23 00:47:42
|
On Tue, Jan 22, 2013 at 1:20 PM, Benjamin Root <ben...@ou...> wrote: > > > On Tue, Jan 22, 2013 at 1:57 PM, David Erickson <hal...@gm...> > wrote: >> >> Hello- >> Prior to version 1.2 of MPL I was able to hide labels for certain >> lines in the legend by setting the label=None when plotting a line, >> however in 1.2 it is now showing the legend entry and visibly printing >> "None". Is there a workaround to hide the label? >> >> Thanks, >> David >> > > I think you want "_nolegend_" for those labels. The hiding of the labels > for None was an undocumented feature, I think, and has been "fixed". > > http://matplotlib.org/api/axes_api.html#matplotlib.axes.Axes.legend > Perfect, thanks Ben! -David |
|
From: Benjamin R. <ben...@ou...> - 2013-01-22 21:20:39
|
On Tue, Jan 22, 2013 at 1:57 PM, David Erickson <hal...@gm...>wrote: > Hello- > Prior to version 1.2 of MPL I was able to hide labels for certain > lines in the legend by setting the label=None when plotting a line, > however in 1.2 it is now showing the legend entry and visibly printing > "None". Is there a workaround to hide the label? > > Thanks, > David > > I think you want "_nolegend_" for those labels. The hiding of the labels for None was an undocumented feature, I think, and has been "fixed". http://matplotlib.org/api/axes_api.html#matplotlib.axes.Axes.legend Cheers! Ben Root |
|
From: Jonathan S. <js...@cf...> - 2013-01-22 21:10:43
|
Hi Paul,
This doesn't solve my problem since the whole point was to have two
separate x axes with different scales, etc. One thing that I found that
does help is to use the suptitle() method of figure. This at least puts
the title at the top of the figure and I can then fiddle with the top
offset for the subplot to get the title to not overlap the axis label.
Jon
On Tue, 2013-01-22 at 13:02 -0800, Paul Hobson wrote:
>
> On Tue, Jan 22, 2013 at 12:22 PM, Jonathan Slavin
> <js...@cf...> wrote:
> Hi,
>
> I'm having some trouble with using twiny and a title on the
> plot. The
> title is writing over the axis label -- and even the tick
> labels. I've
> tried tight_layout() but it doesn't seem to help. I could use
> fig.text
> instead of title and place the title text where I want it
> (with a bit of
> fiddling), but it'd be nice to have a more elegant solution.
>
>
> Try this is a workaround:
> fig, ax1 = plt.subplots()
> ax2 = ax1.twiny()
> ax1.plot(np.random.randn(50), 'gs')
> ax2.plot(np.random.randn(50), 'bo')
> ax1.set_title('Test Title')
> ax2.xaxis.tick_bottom()
> plt.show()
>
> Does that help?
> -paul
>
>
--
______________________________________________________________
Jonathan D. Slavin Harvard-Smithsonian CfA
js...@cf... 60 Garden Street, MS 83
phone: (617) 496-7981 Cambridge, MA 02138-1516
cell: (781) 363-0035 USA
______________________________________________________________
|
|
From: Paul H. <pmh...@gm...> - 2013-01-22 21:02:12
|
On Tue, Jan 22, 2013 at 12:22 PM, Jonathan Slavin
<js...@cf...>wrote:
> Hi,
>
> I'm having some trouble with using twiny and a title on the plot. The
> title is writing over the axis label -- and even the tick labels. I've
> tried tight_layout() but it doesn't seem to help. I could use fig.text
> instead of title and place the title text where I want it (with a bit of
> fiddling), but it'd be nice to have a more elegant solution.
>
Try this is a workaround:
fig, ax1 = plt.subplots()
ax2 = ax1.twiny()
ax1.plot(np.random.randn(50), 'gs')
ax2.plot(np.random.randn(50), 'bo')
ax1.set_title('Test Title')
ax2.xaxis.tick_bottom()
plt.show()
Does that help?
-paul
|
|
From: Jonathan S. <js...@cf...> - 2013-01-22 20:23:04
|
Hi, I'm having some trouble with using twiny and a title on the plot. The title is writing over the axis label -- and even the tick labels. I've tried tight_layout() but it doesn't seem to help. I could use fig.text instead of title and place the title text where I want it (with a bit of fiddling), but it'd be nice to have a more elegant solution. Jon -- ______________________________________________________________ Jonathan D. Slavin Harvard-Smithsonian CfA js...@cf... 60 Garden Street, MS 83 phone: (617) 496-7981 Cambridge, MA 02138-1516 cell: (781) 363-0035 USA ______________________________________________________________ |
|
From: David E. <hal...@gm...> - 2013-01-22 18:57:16
|
Hello- Prior to version 1.2 of MPL I was able to hide labels for certain lines in the legend by setting the label=None when plotting a line, however in 1.2 it is now showing the legend entry and visibly printing "None". Is there a workaround to hide the label? Thanks, David |
|
From: Benjamin R. <ben...@ou...> - 2013-01-22 14:29:48
|
On Mon, Jan 21, 2013 at 8:06 PM, Pau <vim...@go...> wrote: > Hi, > > I am somehow new to matplotlib and I am trying to plot this function of x > ,y ,z > > F(x,y,z)= > 38244.74787*Pi*(x^2+y^2+z^2)^.125+1615.975261*Pi*z^2/(x^2+y^2+z^2)^.875-1292.780210*Pi*z^2/((x^2+y^2+z^2)^.875*(1+y^2/x^2))+1292.78*Pi*(x^2+y^2+z^2)^.125/(1+y^2/x^2) > > in a similar way as > > http://matplotlib.org/mpl_examples/mplot3d/contour3d_demo3.hires.png > > The code is > http://matplotlib.org/mpl_examples/mplot3d/contour3d_demo3.py > > But I have no idea where to start... > > some help would be appreciated... > > thanks > > The reason you are having difficulty coming up with a way to plot this is because you have 3 input dimensions, and 1 output dimension that you wish to plot. If you were to plot this in 3D space, it would have to be done as F(x,y,z) as a colored "mist" in the domain of (x,y,z). While a "mist" can't be done in mplot3d, you could plot out scatter points to emulate this. One could also use contourf3d(..., zdir='z', offset=...) to create slices of the filled contours, similar to this example: http://matplotlib.org/examples/mplot3d/contourf3d_demo2.html Now, if the domain of (x,y,z) can be parameterized as a surface (i.e., a sphere or a cylinder), then you are looking to do an image of F(x,y,z) plotted on that surface, which is a little bit difficult, but also do-able using the plot_surface() function. Cheers! Ben Root |
|
From: Massimiliano C. <mas...@ms...> - 2013-01-22 13:33:20
|
Hello everyone, in my program I'm encountering an error when calling the function axes.set_xticks (Matplotlib 1.2.0 on python 2.7-64 bit). It is really difficult for me to build a test case, because my program is really complex. Here is the error traceback: File "C:\Python27\Lib\site-packages\matplotlib\axes.py", line 2596, in set_xticks return self.xaxis.set_ticks(ticks, minor=minor) File "C:\Python27\Lib\site-packages\matplotlib\axis.py", line 1489, in set_ticks self.set_view_interval(min(ticks), max(ticks)) File "C:\Python27\Lib\site-packages\matplotlib\axis.py", line 1771, in set_view_interval max(vmin, vmax, Vmax)) File "C:\Python27\Lib\site-packages\matplotlib\transforms.py", line 932, in _set_intervalx self.invalidate() File "C:\Python27\Lib\site-packages\matplotlib\transforms.py", line 131, in invalidate return self._invalidate_internal(value, invalidating_node=self) File "C:\Python27\Lib\site-packages\matplotlib\transforms.py", line 155, in _invalidate_internal invalidating_node=self) File "C:\Python27\Lib\site-packages\matplotlib\transforms.py", line 155, in _invalidate_internal invalidating_node=self) File "C:\Python27\Lib\site-packages\matplotlib\transforms.py", line 155, in _invalidate_internal invalidating_node=self) File "C:\Python27\Lib\site-packages\matplotlib\transforms.py", line 2141, in _invalidate_internal invalidating_node=invalidating_node) File "C:\Python27\Lib\site-packages\matplotlib\transforms.py", line 155, in _invalidate_internal invalidating_node=self) File "C:\Python27\Lib\site-packages\matplotlib\transforms.py", line 2141, in _invalidate_internal invalidating_node=invalidating_node) File "C:\Python27\Lib\site-packages\matplotlib\transforms.py", line 153, in _invalidate_internal for parent in self._parents.itervalues(): File "C:\Python27\Lib\weakref.py", line 147, in itervalues for wr in self.data.itervalues(): RuntimeError: dictionary changed size during iteration I googled and found that this is a well known bug due to the use of self.data.itervalues() in the for loop (i think the correct syntax should be for wr in iter(self.data.items()). So I would like to point out the bug (if it is) to the matplotlib guys, how can I do it? In the meantime, how can I work around it without changing the source code? Thanks in advance! |
|
From: <jos...@gm...> - 2013-01-22 03:54:13
|
On Mon, Jan 21, 2013 at 10:12 PM, <jos...@gm...> wrote: > On Mon, Jan 21, 2013 at 5:01 AM, cnorn <ch...@gm...> wrote: >> Are there any way to make column scatter plots with matplotlib. They are also >> called beeswarm plot. plotSpread is implemented in matlab, which seems to do >> the job, but I can't find it in matplotlib. > > > somewhat similar, with random jitter and violins > > http://statsmodels.sourceforge.net/devel/generated/statsmodels.graphics.boxplots.beanplot.html > https://picasaweb.google.com/lh/photo/SF2eFYvMcgEknynXlSYEG9MTjNZETYmyPJy0liipFm0?feat=directlink turning off some colors (full set of options are available): https://picasaweb.google.com/lh/photo/41edXo0ZeO6qUreNeUvJmdMTjNZETYmyPJy0liipFm0?feat=directlink > > plotSpread looks like it might have a fancier point selection If someone can come up with more regular "bees" like here http://stackoverflow.com/questions/9777592/beeswarm-boxplot-scatterplot-for-categorical-data-in-matlab then it would make a nice enhancement. Josef > > Josef > >> >> Thanks, >> Chris >> >> >> >> >> -- >> View this message in context: http://matplotlib.1069221.n5.nabble.com/How-to-make-column-scatter-plots-tp40276.html >> Sent from the matplotlib - users mailing list archive at Nabble.com. >> >> ------------------------------------------------------------------------------ >> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, >> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current >> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft >> MVPs and experts. SALE $99.99 this month only -- learn more at: >> http://p.sf.net/sfu/learnmore_122412 >> _______________________________________________ >> Matplotlib-users mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
|
From: <jos...@gm...> - 2013-01-22 03:12:36
|
On Mon, Jan 21, 2013 at 5:01 AM, cnorn <ch...@gm...> wrote: > Are there any way to make column scatter plots with matplotlib. They are also > called beeswarm plot. plotSpread is implemented in matlab, which seems to do > the job, but I can't find it in matplotlib. somewhat similar, with random jitter and violins http://statsmodels.sourceforge.net/devel/generated/statsmodels.graphics.boxplots.beanplot.html https://picasaweb.google.com/lh/photo/SF2eFYvMcgEknynXlSYEG9MTjNZETYmyPJy0liipFm0?feat=directlink plotSpread looks like it might have a fancier point selection Josef > > Thanks, > Chris > > > > > -- > View this message in context: http://matplotlib.1069221.n5.nabble.com/How-to-make-column-scatter-plots-tp40276.html > Sent from the matplotlib - users mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. SALE $99.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122412 > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
|
From: Pau <vim...@go...> - 2013-01-22 02:11:07
|
Hi, I am somehow new to matplotlib and I am trying to plot this function of x ,y ,z F(x,y,z)= 38244.74787*Pi*(x^2+y^2+z^2)^.125+1615.975261*Pi*z^2/(x^2+y^2+z^2)^.875-1292.780210*Pi*z^2/((x^2+y^2+z^2)^.875*(1+y^2/x^2))+1292.78*Pi*(x^2+y^2+z^2)^.125/(1+y^2/x^2) in a similar way as http://matplotlib.org/mpl_examples/mplot3d/contour3d_demo3.hires.png The code is http://matplotlib.org/mpl_examples/mplot3d/contour3d_demo3.py But I have no idea where to start... some help would be appreciated... thanks |
|
From: Damon M. <dam...@gm...> - 2013-01-21 18:42:30
|
On Mon, Jan 21, 2013 at 11:44 AM, Ryan May <rm...@gm...> wrote: > Hi, > > Just ran across this article that shows a familiar looking graph. Just > another encounter of matplotlib in daily life. > > http://www.wired.com/wiredenterprise/2013/01/google-password/2/ Here's another one, too: http://www.wired.com/wiredscience/2013/01/why-are-lego-sets-expensive/ Maybe the next wired article will use the SVG backend :) > > Ryan > > > -- > Ryan May > Graduate Research Assistant > School of Meteorology > University of Oklahoma > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. SALE $99.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122412 > _______________________________________________ > Matplotlib-devel mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > -- Damon McDougall http://www.damon-is-a-geek.com Institute for Computational Engineering Sciences 201 E. 24th St. Stop C0200 The University of Texas at Austin Austin, TX 78712-1229 |
|
From: Ryan M. <rm...@gm...> - 2013-01-21 17:45:12
|
Hi, Just ran across this article that shows a familiar looking graph. Just another encounter of matplotlib in daily life. http://www.wired.com/wiredenterprise/2013/01/google-password/2/ Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma |
|
From: Thomas S. <spr...@hd...> - 2013-01-21 17:24:29
|
done! https://github.com/matplotlib/matplotlib/issues/1692 cheers Thomas Am 21.01.2013 um 18:04 schrieb Benjamin Root: > Hi folks! > maybe you can point me in the right direction: > > I have a list of colour measurements in Lab-Space(stored in an h5 table). Now, 3d-scatterplotting them was easy, also, assigning the corresponding rgb colour value to the spots is relatively easy. > > For the plot i use: > > p=ax.scatter3D(table.cols.Lab_a[:],table.cols.Lab_b[:],table.cols.Lab_L[:],c=cols) > > Now, the annoying part: when i move around the figure with the mouse, the points in the background get "dimmed" or shaded down to less saturation. Now in my case, i want to turn this behaviour off, since i want the points to be the colour they represent, all the time. > > How do i do this? > > thanks for your help > > Thomas > > > > Unfortunately, there is no setting to turn this feature off. However, I don't see why it couldn't be done. It would be great if you could file a feature request on our github page. > > Cheers! > Ben Root |
|
From: Benjamin R. <ben...@ou...> - 2013-01-21 17:05:03
|
On Mon, Jan 21, 2013 at 7:42 AM, Thomas Sprinzing < spr...@hd...> wrote: > Hi folks! > maybe you can point me in the right direction: > > I have a list of colour measurements in Lab-Space(stored in an h5 table). > Now, 3d-scatterplotting them was easy, also, assigning the corresponding > rgb colour value to the spots is relatively easy. > > For the plot i use: > > > p=ax.scatter3D(table.cols.Lab_a[:],table.cols.Lab_b[:],table.cols.Lab_L[:],c=cols) > > Now, the annoying part: when i move around the figure with the mouse, the > points in the background get "dimmed" or shaded down to less saturation. > Now in my case, i want to turn this behaviour off, since i want the points > to be the colour they represent, all the time. > > How do i do this? > > thanks for your help > > Thomas > > > Unfortunately, there is no setting to turn this feature off. However, I don't see why it couldn't be done. It would be great if you could file a feature request on our github page. Cheers! Ben Root |
|
From: Fabien L. <laf...@gm...> - 2013-01-21 13:52:03
|
I have installed MPL 1.2.0 but it's still laggy... 2013/1/18 Paul Hobson <pmh...@gm...> > > On Thu, Jan 17, 2013 at 8:10 AM, Fabien Lafont <laf...@gm...>wrote: > >> Thanks! I have: Qt4Agg >> >> >> >> 2013/1/17 Benjamin Root <ben...@ou...> >> >>> >>> On Thu, Jan 17, 2013 at 8:43 AM, Fabien Lafont <laf...@gm...>wrote: >>> >>>> What is a backend??? The version number? I'm using Matplotlib 1.1.1 >>>> >>>> >>> from pylab import * >>> get_backend() >>> >>> Ben Root >>> >>> > It is probably coincidence, but I noted MPL running way faster when I > stopped using QT4Agg and upgraded to 1.2.0. > > Try upgrading and report back. > -paul > |
|
From: Thomas S. <spr...@hd...> - 2013-01-21 13:09:46
|
Hi folks!
maybe you can point me in the right direction:
I have a list of colour measurements in Lab-Space(stored in an h5 table). Now, 3d-scatterplotting them was easy, also, assigning the corresponding rgb colour value to the spots is relatively easy.
For the plot i use:
p=ax.scatter3D(table.cols.Lab_a[:],table.cols.Lab_b[:],table.cols.Lab_L[:],c=cols)
Now, the annoying part: when i move around the figure with the mouse, the points in the background get "dimmed" or shaded down to less saturation. Now in my case, i want to turn this behaviour off, since i want the points to be the colour they represent, all the time.
How do i do this?
thanks for your help
Thomas
## values in "table"
from colormath.color_objects import LabColor
cols=[]
for row in table[:]:
cols.append(LabColor(lab_l=row['Lab_L'],lab_a=row['Lab_a'],lab_b=row['Lab_b']).convert_to('rgb').get_rgb_hex())
from mpl_toolkits.mplot3d import Axes3D
import matplotlib.pyplot as plt
fig = plt.figure()
ax = fig.add_subplot(111, projection='3d')
ax.set_xlabel('a')
ax.set_ylabel('b')
ax.set_zlabel('L')
ax.set_xlim(-100,100)
ax.set_ylim(-100,100)
ax.set_zlim(0,100)
fig.show()
|
|
From: Kelson Z. <kb...@co...> - 2013-01-21 12:28:30
|
I am making a heat map and want to label each row. I thus need the font size of the text to scale with the number of rows in the heat map. Is there a way to find out the length in points of an axes object so I can divide this by the number of rows and thus figure out how big to make the text? Thanks for the help |
|
From: cnorn <ch...@gm...> - 2013-01-21 10:01:38
|
Are there any way to make column scatter plots with matplotlib. They are also called beeswarm plot. plotSpread is implemented in matlab, which seems to do the job, but I can't find it in matplotlib. Thanks, Chris -- View this message in context: http://matplotlib.1069221.n5.nabble.com/How-to-make-column-scatter-plots-tp40276.html Sent from the matplotlib - users mailing list archive at Nabble.com. |
|
From: Scott H. <st...@co...> - 2013-01-20 21:05:20
|
Jeff, I'm not to experienced with these installations, so I really don't know. If you send a link to another installation I could try it. For what it's worth, If I run python setup.py build for basemap-1.0.5 I do not get this error. --Scott On Jan 20, 2013, at 3:44 PM, Jeff Whitaker <jef...@no...> wrote: > Scott Henderson wrote: >> >> Hello, >> >> I've tried installing the latest version of basemap on OSX Lion and am getting the following error: >> >> >> >> # ------------------- >> scotthenderson@basemap-1.0.6:python setup.py build >> ld: warning: ld: warning: ignoring file nad2bin.o, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 1 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): nad2bin.oignoring file src/pj_malloc.o, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 1 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): src/pj_malloc.o >> >> Undefined symbols for architecture i386: >> "_main", referenced from: >> -u command line option >> ld: symbol(s) not found for architecture i386 >> clang: error: linker command failed with exit code 1 (use -v to see invocation) >> ld: warning: ld: warning: ignoring file nad2bin.o, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 1 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): nad2bin.oignoring file src/pj_malloc.o, file was built for unsupported file format ( 0xcf 0xfa 0xed 0xfe 0x 7 0x 0 0x 0 0x 1 0x 3 0x 0 0x 0 0x 0 0x 1 0x 0 0x 0 0x 0 ) which is not the architecture being linked (i386): src/pj_malloc.o >> >> Undefined symbols for architecture i386: >> "_main", referenced from: >> -u command line option >> ld: symbol(s) not found for architecture i386 >> clang: error: linker command failed with exit code 1 (use -v to see invocation) >> Traceback (most recent call last): >> File "setup.py", line 97, in<module> >> cc.link_executable(objects, execname) >> File "/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/distutils/ccompiler.py", line 698, in link_executable >> debug, extra_preargs, extra_postargs, None, target_lang) >> File "/Library/Frameworks/Python.framework/Versions/7.3/lib/python2.7/distutils/unixccompiler.py", line 262, in link >> raise LinkError, msg >> distutils.errors.LinkError: Command "cc -arch i386 nad2bin.o src/pj_malloc.o -o nad2bin" failed with exit status 1 > > > Scott: > > Don't really know, but here's a guess: > > Looks like a problem with your python installation - distutils is trying to use the -arch i386 compiler flag and you're probably on a 64 bit system (x86_64). > > I've built this on several macos x Mountain Lion systems without incident. Can you build other C extensions on your system? > > -Jeff |