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
(24) |
2
(35) |
3
(21) |
4
(15) |
5
(1) |
|
6
(2) |
7
(30) |
8
(16) |
9
(11) |
10
(10) |
11
(10) |
12
(4) |
|
13
(2) |
14
(14) |
15
(21) |
16
(7) |
17
(5) |
18
(2) |
19
(5) |
|
20
|
21
(4) |
22
(8) |
23
(4) |
24
(6) |
25
(2) |
26
(2) |
|
27
(5) |
28
(9) |
29
(16) |
30
(14) |
31
(5) |
|
|
|
From: Gary R. <gr...@bi...> - 2009-12-07 23:51:28
|
In Windows I recommend running iPython inside Console <http://sourceforge.net/projects/console/> particularly for its vastly improved copy and pasting. Gary R. PH...@Ge... wrote: > Third Google result for "copy paste in DOS prompt" > http://www.copy--paste.org/copy-paste-between-dos-windows.htm > > Note that right-clicking is going to execute behavior, not bring up a contextual menu. > > -p > >> -----Original Message----- >> From: Wayne Watson [mailto:sie...@sb...] >> Sent: Monday, December 07, 2009 12:57 PM >> To: Gary Pajer >> Cc: mat...@li... >> Subject: Re: [Matplotlib-users] I Need a Couple of Tips for Windows to >> Get Started on IPython >> >> Right-click does nothing on the IPython window. >> >> The Windows command console is, I think, a lost cause all together. I've >> tried a right-click on it with the same result as in IPython. >> I'm using Win XP, and I hope they improve on Win 7, which I plan to >> install on all my machines this month. >> |
|
From: <PH...@Ge...> - 2009-12-07 21:56:47
|
Third Google result for "copy paste in DOS prompt" http://www.copy--paste.org/copy-paste-between-dos-windows.htm Note that right-clicking is going to execute behavior, not bring up a contextual menu. -p > -----Original Message----- > From: Wayne Watson [mailto:sie...@sb...] > Sent: Monday, December 07, 2009 12:57 PM > To: Gary Pajer > Cc: mat...@li... > Subject: Re: [Matplotlib-users] I Need a Couple of Tips for Windows to > Get Started on IPython > > Right-click does nothing on the IPython window. > > The Windows command console is, I think, a lost cause all together. I've > tried a right-click on it with the same result as in IPython. > I'm using Win XP, and I hope they improve on Win 7, which I plan to > install on all my machines this month. > > Gary Pajer wrote: > > On Mon, Dec 7, 2009 at 11:41 AM, Wayne Watson > > <sie...@sb... <mailto:sie...@sb...>> > > wrote: > > > > Good. Thanks. Interesting that ls and pwd are used for Win, but > that's > > fine. How do I copy parts of the window? All I can do at the > > moment is > > sweep out a rectangular area with the mouse. It looks like I > > underestimated the need for automagic. > > > > > > > > Copy and paste from a Windows command shell is different that copy and > > paste from *nix command shell. > > > > Right-click in the command window > > Choose Mark from the drop-down menu > > Select the (rectangular) region of text you want to copy. > > Hit Return. > > > > That does a copy operation. Then go to your other application, and > > paste however you like. > > > > > > > > > > > > David Arnold wrote: > > > Depends on whether "automagic" is enabled or not. If automagic > > is OFF, > > > you need to enter the %, as in %cd. If automagic is ON (the > > default), > > > then you don't need to enter the %, as in cd. > > > > > > automagic can be toggled on and off as follows: > > > > > > In [8]: automagic > > > > > > Automagic is OFF, % prefix IS needed for magic functions. > > > > > > In [9]: %automagic > > > > > > Automagic is ON, % prefix NOT needed for magic functions. > > > > > > On my mac, I can change to my "home" directory as follows: > > > > > > In [10]: cd > > > /Users/darnold > > > > > > I can list the files in this directory with: > > > > > > In [11]: ls > > > Desktop/ Movies/ context/ > > > Documents/ Music/ java.log.344 > > > Downloads/ NetBeansProjects/ java.log.415 > > > Dropbox/ Pictures/ luatex-cache/ > > > Library/ Public/ matlab_crash_dump.344 > > > LizThesis/ Sites/ matlab_crash_dump.415 > > > > > > I can cd into my Sites folder with: > > > > > > In [12]: cd Sites > > > /Users/darnold/Sites > > > > > > I can get the current directory with: > > > > > > In [13]: pwd > > > Out[13]: '/Users/darnold/Sites' > > > > > > I can move up a directory level with: > > > > > > In [14]: cd .. > > > /Users/darnold > > > > > > > > > Hope this helps. > > > > > > D. > > > > > > > > > On Dec 6, 2009, at 3:01 PM, Wayne Watson wrote: > > > > > >> I've seen the tutorial, but need something more. How do I know > what > > >> folder I'm in? How do I move from where I am to, for example, > > >> C:\abc\def? So far I've tried various combinations like this: > > >> > > >> cd .. > > >> cd C:\ > > >> pwd (yes, I know it's not windows) > > >> > > >> I tried %cd .., and that may have moved me but I seem to get > > back to the > > >> same place. > > >> > > >> I seem to be in C:\Documents and Settings\administrator. If I > > doa %cp > > >> ..\\ it looks like I get to C:\, but follwing that with pwd > > gets me back > > >> to where I started--C:\Documents and Settings\administrator. > > >> > > >> If I want to execute a program with %run, I need to be where > > abc.py is > > >> or, perhaps say something like %run C:\myPyPrograms\abc.py. > > >> Dir doesn't work and I haven't been able to even see what's in > the > > >> folder. > > >> > > >> > > >> -- > > >> Wayne Watson (Watson Adventures, Prop., Nevada City, > CA) > > >> > > >> (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) > > >> Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet > > >> > > >> "... humans'innate skills with numbers isn't much > > >> better than that of rats and dolphins." > > >> -- Stanislas Dehaene, neurosurgeon > > >> > > >> Web Page: <www.speckledwithstars.net/ > > <http://www.speckledwithstars.net/>> > > >> > > >> > > >> > > ------------------------------------------------------------------- > ----------- > > >> > > >> Join us December 9, 2009 for the Red Hat Virtual Experience, > > >> a free event focused on virtualization and cloud computing. > > >> Attend in-depth sessions from your desk. Your couch. Anywhere. > > >> http://p.sf.net/sfu/redhat-sfdev2dev > > >> _______________________________________________ > > >> Matplotlib-users mailing list > > >> Mat...@li... > > <mailto:Mat...@li...> > > >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > > > > > > > > -- > > Wayne Watson (Watson Adventures, Prop., Nevada City, CA) > > > > (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) > > Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet > > > > "... humans'innate skills with numbers isn't much > > better than that of rats and dolphins." > > -- Stanislas Dehaene, neurosurgeon > > > > Web Page: <www.speckledwithstars.net/ > > <http://www.speckledwithstars.net/>> > > > > > > ------------------------------------------------------------------- > ----------- > > Join us December 9, 2009 for the Red Hat Virtual Experience, > > a free event focused on virtualization and cloud computing. > > Attend in-depth sessions from your desk. Your couch. Anywhere. > > http://p.sf.net/sfu/redhat-sfdev2dev > > _______________________________________________ > > Matplotlib-users mailing list > > Mat...@li... > > <mailto:Mat...@li...> > > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > > > > -- > Wayne Watson (Watson Adventures, Prop., Nevada City, CA) > > (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) > Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet > > "... humans'innate skills with numbers isn't much > better than that of rats and dolphins." > -- Stanislas Dehaene, neurosurgeon > > Web Page: <www.speckledwithstars.net/> > > > ------------------------------------------------------------------------- > ----- > Join us December 9, 2009 for the Red Hat Virtual Experience, > a free event focused on virtualization and cloud computing. > Attend in-depth sessions from your desk. Your couch. Anywhere. > http://p.sf.net/sfu/redhat-sfdev2dev > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
|
From: Wayne W. <sie...@sb...> - 2009-12-07 20:57:17
|
Right-click does nothing on the IPython window. The Windows command console is, I think, a lost cause all together. I've tried a right-click on it with the same result as in IPython. I'm using Win XP, and I hope they improve on Win 7, which I plan to install on all my machines this month. Gary Pajer wrote: > On Mon, Dec 7, 2009 at 11:41 AM, Wayne Watson > <sie...@sb... <mailto:sie...@sb...>> > wrote: > > Good. Thanks. Interesting that ls and pwd are used for Win, but that's > fine. How do I copy parts of the window? All I can do at the > moment is > sweep out a rectangular area with the mouse. It looks like I > underestimated the need for automagic. > > > > Copy and paste from a Windows command shell is different that copy and > paste from *nix command shell. > > Right-click in the command window > Choose Mark from the drop-down menu > Select the (rectangular) region of text you want to copy. > Hit Return. > > That does a copy operation. Then go to your other application, and > paste however you like. > > > > > > David Arnold wrote: > > Depends on whether "automagic" is enabled or not. If automagic > is OFF, > > you need to enter the %, as in %cd. If automagic is ON (the > default), > > then you don't need to enter the %, as in cd. > > > > automagic can be toggled on and off as follows: > > > > In [8]: automagic > > > > Automagic is OFF, % prefix IS needed for magic functions. > > > > In [9]: %automagic > > > > Automagic is ON, % prefix NOT needed for magic functions. > > > > On my mac, I can change to my "home" directory as follows: > > > > In [10]: cd > > /Users/darnold > > > > I can list the files in this directory with: > > > > In [11]: ls > > Desktop/ Movies/ context/ > > Documents/ Music/ java.log.344 > > Downloads/ NetBeansProjects/ java.log.415 > > Dropbox/ Pictures/ luatex-cache/ > > Library/ Public/ matlab_crash_dump.344 > > LizThesis/ Sites/ matlab_crash_dump.415 > > > > I can cd into my Sites folder with: > > > > In [12]: cd Sites > > /Users/darnold/Sites > > > > I can get the current directory with: > > > > In [13]: pwd > > Out[13]: '/Users/darnold/Sites' > > > > I can move up a directory level with: > > > > In [14]: cd .. > > /Users/darnold > > > > > > Hope this helps. > > > > D. > > > > > > On Dec 6, 2009, at 3:01 PM, Wayne Watson wrote: > > > >> I've seen the tutorial, but need something more. How do I know what > >> folder I'm in? How do I move from where I am to, for example, > >> C:\abc\def? So far I've tried various combinations like this: > >> > >> cd .. > >> cd C:\ > >> pwd (yes, I know it's not windows) > >> > >> I tried %cd .., and that may have moved me but I seem to get > back to the > >> same place. > >> > >> I seem to be in C:\Documents and Settings\administrator. If I > doa %cp > >> ..\\ it looks like I get to C:\, but follwing that with pwd > gets me back > >> to where I started--C:\Documents and Settings\administrator. > >> > >> If I want to execute a program with %run, I need to be where > abc.py is > >> or, perhaps say something like %run C:\myPyPrograms\abc.py. > >> Dir doesn't work and I haven't been able to even see what's in the > >> folder. > >> > >> > >> -- > >> Wayne Watson (Watson Adventures, Prop., Nevada City, CA) > >> > >> (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) > >> Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet > >> > >> "... humans'innate skills with numbers isn't much > >> better than that of rats and dolphins." > >> -- Stanislas Dehaene, neurosurgeon > >> > >> Web Page: <www.speckledwithstars.net/ > <http://www.speckledwithstars.net/>> > >> > >> > >> > ------------------------------------------------------------------------------ > >> > >> Join us December 9, 2009 for the Red Hat Virtual Experience, > >> a free event focused on virtualization and cloud computing. > >> Attend in-depth sessions from your desk. Your couch. Anywhere. > >> http://p.sf.net/sfu/redhat-sfdev2dev > >> _______________________________________________ > >> Matplotlib-users mailing list > >> Mat...@li... > <mailto:Mat...@li...> > >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > > > > -- > Wayne Watson (Watson Adventures, Prop., Nevada City, CA) > > (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) > Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet > > "... humans'innate skills with numbers isn't much > better than that of rats and dolphins." > -- Stanislas Dehaene, neurosurgeon > > Web Page: <www.speckledwithstars.net/ > <http://www.speckledwithstars.net/>> > > > ------------------------------------------------------------------------------ > Join us December 9, 2009 for the Red Hat Virtual Experience, > a free event focused on virtualization and cloud computing. > Attend in-depth sessions from your desk. Your couch. Anywhere. > http://p.sf.net/sfu/redhat-sfdev2dev > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > <mailto:Mat...@li...> > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > -- Wayne Watson (Watson Adventures, Prop., Nevada City, CA) (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet "... humans'innate skills with numbers isn't much better than that of rats and dolphins." -- Stanislas Dehaene, neurosurgeon Web Page: <www.speckledwithstars.net/> |
|
From: Abhimanyu L. <abh...@gm...> - 2009-12-07 20:38:49
|
Hi, How do I get the coordinates of the ticks and their labels in a coordinate system that I can feed to figtext or text? I want to display some additional text near one of the ticklabels on the x axis. Although I could get the coordinates for figtext using trial and error, but is there a correct way of doing this (using transformations?) so that my text does not move relative to the tick labels. Thanks! Abhi |
|
From: Chuck Pepe-R. <cp...@mi...> - 2009-12-07 20:10:12
|
I apologize for my previous posts. I see that the PolyCollection object is not supported by the legend command. I will use a proxy artist as described here <http://matplotlib.sourceforge.net/users/legend_guide.html>. - Chuck |
|
From: Chuck Pepe-R. <cp...@mi...> - 2009-12-07 19:41:57
|
How might create a legend for an area chart made with PolyCollection objects
via the fill_between method? For example, on the following chart,
import matplotlib.pyplot as plt
import numpy as np
fig = plt.figure()
ax = fig.add_subplot(111)
ind = np.arange(3)
y1 = np.array([1,2,3])
y2 = y1 * 2
a = ax.fill_between(ind, y1, np.zeros(len(ind)), facecolor='r', label='a')
b = ax.fill_between(ind, y2, y1, facecolor='b', label='b')
plt.show()
I would like to create a legend that displays the label for a and b and the
corresponding fill color. Unlike with non-collections objects, when I call
ax.legend() I get an AttributeError and the following output,
AttributeError Traceback (most recent call last)
/home/chuck/<ipython console> in <module>()
/home/chuck/matplotlib/trunk/matplotlib/lib/matplotlib/axes.pyc in
legend(self, *args, **kwargs)
4004
4005 handles = cbook.flatten(handles)
-> 4006 self.legend_ = mlegend.Legend(self, handles, labels,
**kwargs)
4007 return self.legend_
4008
/home/chuck/matplotlib/trunk/matplotlib/lib/matplotlib/legend.pyc in
__init__(self, parent, handles, labels, loc, numpoints, markerscale,
scatterpoints, scatteryoffsets, prop, pad, labelsep, handlelen,
handletextsep, axespad, borderpad, labelspacing, handlelength,
handletextpad, borderaxespad, columnspacing, ncol, mode, fancybox, shadow,
title, bbox_to_anchor, bbox_transform)
307
308 # init with null renderer
--> 309 self._init_legend_box(handles, labels)
310
311 self.set_title(title)
/home/chuck/matplotlib/trunk/matplotlib/lib/matplotlib/legend.pyc in
_init_legend_box(self, handles, labels)
584
585 handle = handle_list[-1]
--> 586 handlebox.add_artist(handle)
587 if hasattr(handle, "_legmarker"):
588 handlebox.add_artist(handle._legmarker)
/home/chuck/matplotlib/trunk/matplotlib/lib/matplotlib/offsetbox.pyc in
add_artist(self, a)
489 'Add any :class:`~matplotlib.artist.Artist` to the container
box'
490 self._children.append(a)
--> 491 a.set_transform(self.get_transform())
492
493
AttributeError: 'NoneType' object has no attribute 'set_transform'
|
|
From: Jae-Joon L. <lee...@gm...> - 2009-12-07 19:25:39
|
I updated the axes_grid toolkit in the svn, and I hope it is more useful. Check the example examples/axes_grid/demo_floating_axes.py The output is attached. -JJ On Wed, Nov 4, 2009 at 9:19 AM, Jae-Joon Lee <lee...@gm...> wrote: > Are you running svn version of mpl? > Also, as I said, the example is based on the patch yet to be submitted. > So, I can send you the example, but it will take me sometime to commit > the patch. > I'll give you a notice when this happen. > > As far as rotating the ticks, if you're using markers, than I guess > you need a custom artist class. > So, I recommend you to just use simple lines. > > Whatever path you take (even with my example), it will not be easy. > So, again, finding other plotting tool that support cone plots may be > more practical (unless someone comes up with a working example). > > Regards, > > -JJ > > > > On Wed, Nov 4, 2009 at 2:44 AM, ifriad <if...@gm...> wrote: >> >> Hi, >> Thanks, I think the attached sample is good enough for me, In fact I got >> something similar except for the ticks I didn't know how to make them >> slanted, so If I can get the code for you plot this will be really great. >> >> I can then fine tune it to my needs. >> >> Thanks Ihab >> >> Jae-Joon Lee wrote: >>> >>> Unfortunately, I don't think something like cone plots can be easily >>> done with current matplotlib. >>> >>> I guess you can define custom projection and such, as in the example below >>> >>> http://matplotlib.sourceforge.net/examples/api/custom_projection_example.html >>> >>> but this will involve some (maybe a lot) coding + some knowledge of >>> mpl internals. >>> >>> With the experimental curvelinear coordinate support in axes_grid >>> toolkit (and with yet-to-be-committed patch), one can draw very basic >>> cone plot (see the attached). However, the current support is far from >>> complete. I'm willing to make it better, but I'm afraid that this may >>> not happen in a near future (likely not in this year). >>> >>> Of course, you can try to plot everything (axes boundary, ticks, >>> ticklabels etc.) manually if you want, and maybe this is the best way >>> currently available. >>> >>> Regards, >>> >>> -JJ >>> >>> On Sat, Oct 31, 2009 at 4:15 AM, ifriad <if...@gm...> wrote: >>>> >>>> Hi, >>>> Does any one knows how to do those cone plots, >>>> >>>> I am attaching a sample plot. >>>> >>>> Thanks Ihab >>>> http://old.nabble.com/file/p26140834/cone.png cone.png >>>> -- >>>> View this message in context: >>>> http://old.nabble.com/cone-plots-tp26140834p26140834.html >>>> Sent from the matplotlib - users mailing list archive at Nabble.com. >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >>>> is the only developer event you need to attend this year. Jumpstart your >>>> developing skills, take BlackBerry mobile applications to market and stay >>>> ahead of the curve. Join us from November 9 - 12, 2009. Register now! >>>> http://p.sf.net/sfu/devconference >>>> _______________________________________________ >>>> Matplotlib-users mailing list >>>> Mat...@li... >>>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >>>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >>> is the only developer event you need to attend this year. Jumpstart your >>> developing skills, take BlackBerry mobile applications to market and stay >>> ahead of the curve. Join us from November 9 - 12, 2009. Register now! >>> http://p.sf.net/sfu/devconference >>> _______________________________________________ >>> Matplotlib-users mailing list >>> Mat...@li... >>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >>> >>> >> >> -- >> View this message in context: http://old.nabble.com/cone-plots-tp26140834p26192193.html >> Sent from the matplotlib - users mailing list archive at Nabble.com. >> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Matplotlib-users mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> > |
|
From: Wayne W. <sie...@sb...> - 2009-12-07 18:48:45
|
Hi, I'm using IPython raw. I guess I'm not sure what a shell is in this
case. I used to work with Linux years ago and the shell concept was
clear there. I'm now simply a Win XP user. What advantages would be
available to use a shell?
In part of the thread above,(posted 57 minutes after the hour, I asked
how copy and paste operate? Quick IPyton seems to think it works quite
like a Win copy and paste. It doesn't work for me.
Below you've manage to post a session. How did that happen? Is there a
file that I can pick up that contains the log? From the ref manual, I
see this:
===============
Manual capture of command output¶
<http://ipython.scipy.org/doc/manual/html/interactive/reference.html#manual-capture-of-command-output>
If the input line begins with two exclamation marks, !!, the command is
executed but its output is captured and returned as a python list, split
on newlines. Any output sent by the subprocess to standard error is
printed separately, so that the resulting list only captures standard
output. The !! syntax is a shorthand for the %sx magic command.
Finally, the %sc magic (short for ‘shell capture’) is similar to %sx,
but allowing more fine-grained control of the capture details, and ...
===============end
Maybe this is somehow you did it?
PH...@Ge... wrote:
> Wayne,
>
> Are you using the IPython shell? If so, cd, pwd, ls, etc will work just fine.
>
> If you using the standard python shell, AFAIK, you need to import the os module and use that to navigate.
>
> Ipython session:
> C:\Documents and Settings\phobson>ipython
> Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)]
> Type "copyright", "credits" or "license" for more information.
>
> IPython 0.10 -- An enhanced Interactive Python.
> ? -> Introduction and overview of IPython's features.
> %quickref -> Quick reference.
> help -> Python's own help system.
> object? -> Details about 'object'. ?object also works, ?? prints more.
>
> In [1]: pwd
> Out[1]: 'C:\\Documents and Settings\\phobson'
>
> In [2]: cd c:\stuff\utils\py
> c:\stuff\utils\py
>
> In [3]: pwd
> Out[3]: 'c:\\stuff\\utils\\py'
>
> In [4]: cd c:\
> c:\
>
> In [5]: cd c:\stuff\utils\py
> c:\stuff\utils\py
>
> In [6]: ls *.pdf
> Volume in drive C has no label.
> Volume Serial Number is 24FD-DA13
>
> Directory of c:\stuff\utils\py
>
> 09/11/2009 11:39 AM 1,515,182 elev_test5.pdf
> 10/18/2009 01:06 PM 147,663 frLarch_elev.pdf
> 05/12/2009 10:30 AM 28,029 gear.pdf
> 03/11/2009 09:56 AM 30,622 test.pdf
> 08/27/2009 09:18 AM 17,175 tidal_cdf.pdf
> 11/16/2009 08:20 AM 118,902 zoom_test.pdf
> 11/16/2009 08:18 AM 124,000 zoom_test_final.pdf
> 7 File(s) 1,981,573 bytes
> 0 Dir(s) 82,894,716,928 bytes free
>
> Paul M. Hobson
> Senior Staff Engineer
>
--
Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet
"... humans'innate skills with numbers isn't much
better than that of rats and dolphins."
-- Stanislas Dehaene, neurosurgeon
Web Page: <www.speckledwithstars.net/>
|
|
From: Michael D. <md...@st...> - 2009-12-07 18:38:36
|
Do you have the LaTeX preview package installed and "pngmath_use_preview" set to True in your conf.py? See here: http://sphinx.pocoo.org/ext/math.html#confval-pngmath_use_preview Mike David Arnold wrote: > All, > > I tried using sphinx.ext.pngmath. See: http://msemac.redwoods.edu/~darnold/html/cylinders.html > > Note in Exercise 1 how z = 6 - 2x^2 is placed so its baseline does not > align (it's lower) with the baseline of the text. How can I align the > baselines? > > David. > > ------------------------------------------------------------------------------ > Join us December 9, 2009 for the Red Hat Virtual Experience, > a free event focused on virtualization and cloud computing. > Attend in-depth sessions from your desk. Your couch. Anywhere. > http://p.sf.net/sfu/redhat-sfdev2dev > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA |
|
From: Gary P. <gar...@gm...> - 2009-12-07 18:35:44
|
On Mon, Dec 7, 2009 at 11:41 AM, Wayne Watson <sie...@sb...>wrote: > Good. Thanks. Interesting that ls and pwd are used for Win, but that's > fine. How do I copy parts of the window? All I can do at the moment is > sweep out a rectangular area with the mouse. It looks like I > underestimated the need for automagic. > Copy and paste from a Windows command shell is different that copy and paste from *nix command shell. Right-click in the command window Choose Mark from the drop-down menu Select the (rectangular) region of text you want to copy. Hit Return. That does a copy operation. Then go to your other application, and paste however you like. > > David Arnold wrote: > > Depends on whether "automagic" is enabled or not. If automagic is OFF, > > you need to enter the %, as in %cd. If automagic is ON (the default), > > then you don't need to enter the %, as in cd. > > > > automagic can be toggled on and off as follows: > > > > In [8]: automagic > > > > Automagic is OFF, % prefix IS needed for magic functions. > > > > In [9]: %automagic > > > > Automagic is ON, % prefix NOT needed for magic functions. > > > > On my mac, I can change to my "home" directory as follows: > > > > In [10]: cd > > /Users/darnold > > > > I can list the files in this directory with: > > > > In [11]: ls > > Desktop/ Movies/ context/ > > Documents/ Music/ java.log.344 > > Downloads/ NetBeansProjects/ java.log.415 > > Dropbox/ Pictures/ luatex-cache/ > > Library/ Public/ matlab_crash_dump.344 > > LizThesis/ Sites/ matlab_crash_dump.415 > > > > I can cd into my Sites folder with: > > > > In [12]: cd Sites > > /Users/darnold/Sites > > > > I can get the current directory with: > > > > In [13]: pwd > > Out[13]: '/Users/darnold/Sites' > > > > I can move up a directory level with: > > > > In [14]: cd .. > > /Users/darnold > > > > > > Hope this helps. > > > > D. > > > > > > On Dec 6, 2009, at 3:01 PM, Wayne Watson wrote: > > > >> I've seen the tutorial, but need something more. How do I know what > >> folder I'm in? How do I move from where I am to, for example, > >> C:\abc\def? So far I've tried various combinations like this: > >> > >> cd .. > >> cd C:\ > >> pwd (yes, I know it's not windows) > >> > >> I tried %cd .., and that may have moved me but I seem to get back to the > >> same place. > >> > >> I seem to be in C:\Documents and Settings\administrator. If I doa %cp > >> ..\\ it looks like I get to C:\, but follwing that with pwd gets me back > >> to where I started--C:\Documents and Settings\administrator. > >> > >> If I want to execute a program with %run, I need to be where abc.py is > >> or, perhaps say something like %run C:\myPyPrograms\abc.py. > >> Dir doesn't work and I haven't been able to even see what's in the > >> folder. > >> > >> > >> -- > >> Wayne Watson (Watson Adventures, Prop., Nevada City, CA) > >> > >> (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) > >> Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet > >> > >> "... humans'innate skills with numbers isn't much > >> better than that of rats and dolphins." > >> -- Stanislas Dehaene, neurosurgeon > >> > >> Web Page: <www.speckledwithstars.net/> > >> > >> > >> > ------------------------------------------------------------------------------ > >> > >> Join us December 9, 2009 for the Red Hat Virtual Experience, > >> a free event focused on virtualization and cloud computing. > >> Attend in-depth sessions from your desk. Your couch. Anywhere. > >> http://p.sf.net/sfu/redhat-sfdev2dev > >> _______________________________________________ > >> Matplotlib-users mailing list > >> Mat...@li... > >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > > > > -- > Wayne Watson (Watson Adventures, Prop., Nevada City, CA) > > (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) > Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet > > "... humans'innate skills with numbers isn't much > better than that of rats and dolphins." > -- Stanislas Dehaene, neurosurgeon > > Web Page: <www.speckledwithstars.net/> > > > > ------------------------------------------------------------------------------ > Join us December 9, 2009 for the Red Hat Virtual Experience, > a free event focused on virtualization and cloud computing. > Attend in-depth sessions from your desk. Your couch. Anywhere. > http://p.sf.net/sfu/redhat-sfdev2dev > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > |
|
From: Wayne W. <sie...@sb...> - 2009-12-07 17:57:24
|
Well, that's interesting, but how did you copy and paste?
Quick Python offers this, but no explanation how to copy and paste.
The %hist command can show you all previous input, without line numbers
if desired (option -n) so you can directly copy and paste code either
back in IPython or in a text editor. You can also save all your history
by turning on logging via %logstart; these logs can later be either
reloaded as IPython sessions or used as code for your programs.
Aside from that, here's an example of what I'd like to copy. If it
doesn't make it through, it's just a screen capture of part of the
window's contents show the result of ls, cd, etc.
Image above this.
Over and out ...
David Arnold wrote:
> In [13]: history
> 1 : #?edit
> 2 : hist
> 3 : a=12
> 4 : b=3
> 5 : c=4
> 6 : f=a*b+c
> 7 : hist
> 8 : _ip.magic("magic ")
> 9 : _ip.magic("automagic ")
> 10: _ip.magic("automagic ")
> 11: his 1-4
> 12: hist(1-4)
> 13: _ip.magic("history ")
>
> In [14]: edit 3-6
>
>
>
> On Dec 7, 2009, at 8:41 AM, Wayne Watson wrote:
>
>> Good. Thanks. Interesting that ls and pwd are used for Win, but
>> that's fine. How do I copy parts of the window? All I can do at the
>> moment is sweep out a rectangular area with the mouse. It looks like
>> I underestimated the need for automagic.
>>
>> David Arnold wrote:
>>> Depends on whether "automagic" is enabled or not. If automagic is
>>> OFF, you need to enter the %, as in %cd. If automagic is ON (the
>>> default), then you don't need to enter the %, as in cd.
>>>
>>> automagic can be toggled on and off as follows:
>>>
>>> In [8]: automagic
>>>
>>> Automagic is OFF, % prefix IS needed for magic functions.
>>>
>>> In [9]: %automagic
>>>
>>> Automagic is ON, % prefix NOT needed for magic functions.
>>>
>>> On my mac, I can change to my "home" directory as follows:
>>>
>>> In [10]: cd
>>> /Users/darnold
>>>
>>> I can list the files in this directory with:
>>>
>>> In [11]: ls
>>> Desktop/ Movies/ context/
>>> Documents/ Music/ java.log.344
>>> Downloads/ NetBeansProjects/ java.log.415
>>> Dropbox/ Pictures/ luatex-cache/
>>> Library/ Public/ matlab_crash_dump.344
>>> LizThesis/ Sites/ matlab_crash_dump.415
>>>
>>> I can cd into my Sites folder with:
>>>
>>> In [12]: cd Sites
>>> /Users/darnold/Sites
>>>
>>> I can get the current directory with:
>>>
>>> In [13]: pwd
>>> Out[13]: '/Users/darnold/Sites'
>>>
>>> I can move up a directory level with:
>>>
>>> In [14]: cd ..
>>> /Users/darnold
>>>
>>>
>>> Hope this helps.
>>>
>>> D.
>>>
>>>
>>> On Dec 6, 2009, at 3:01 PM, Wayne Watson wrote:
>>>
>>>> I've seen the tutorial, but need something more. How do I know what
>>>> folder I'm in? How do I move from where I am to, for example,
>>>> C:\abc\def? So far I've tried various combinations like this:
>>>>
>>>> cd ..
>>>> cd C:\
>>>> pwd (yes, I know it's not windows)
>>>>
>>>> I tried %cd .., and that may have moved me but I seem to get back
>>>> to the
>>>> same place.
>>>>
>>>> I seem to be in C:\Documents and Settings\administrator. If I doa %cp
>>>> ..\\ it looks like I get to C:\, but follwing that with pwd gets me
>>>> back
>>>> to where I started--C:\Documents and Settings\administrator.
>>>>
>>>> If I want to execute a program with %run, I need to be where abc.py is
>>>> or, perhaps say something like %run C:\myPyPrograms\abc.py.
>>>> Dir doesn't work and I haven't been able to even see what's in the
>>>> folder.
>>>>
>>>>
>>>> --
>>>> Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
>>>>
>>>> (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
>>>> Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet
>>>>
>>>> "... humans'innate skills with numbers isn't much
>>>> better than that of rats and dolphins."
>>>> -- Stanislas Dehaene, neurosurgeon
>>>>
>>>> Web Page: <www.speckledwithstars.net/>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>>
>>>> Join us December 9, 2009 for the Red Hat Virtual Experience,
>>>> a free event focused on virtualization and cloud computing.
>>>> Attend in-depth sessions from your desk. Your couch. Anywhere.
>>>> http://p.sf.net/sfu/redhat-sfdev2dev
>>>> _______________________________________________
>>>> Matplotlib-users mailing list
>>>> Mat...@li...
>>>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>>>
>>>
>>
>> --
>> Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
>>
>> (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
>> Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700
>> feet "... humans'innate skills with
>> numbers isn't much
>> better than that of rats and
>> dolphins." -- Stanislas Dehaene,
>> neurosurgeon Web Page: <www.speckledwithstars.net/>
>>
>
>
--
Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet
"... humans'innate skills with numbers isn't much
better than that of rats and dolphins."
-- Stanislas Dehaene, neurosurgeon
Web Page: <www.speckledwithstars.net/>
|
|
From: Yeates, M. C (388D) <mat...@jp...> - 2009-12-07 17:51:46
|
Hi I discovered "forrmlayout" by Pierre Raybaut (http://code.google.com/p/formlayout/) and I would like to use it for plot configuration. Is it only for the PyQt backend? I'm using GtkAgg. Mathew |
|
From: David A. <dwa...@su...> - 2009-12-07 17:51:21
|
All, I tried using sphinx.ext.pngmath. See: http://msemac.redwoods.edu/~darnold/html/cylinders.html Note in Exercise 1 how z = 6 - 2x^2 is placed so its baseline does not align (it's lower) with the baseline of the text. How can I align the baselines? David. |
|
From: David A. <dwa...@su...> - 2009-12-07 17:30:07
|
All, Is there an "axis equal" command for mplot3d? D. |
|
From: Wayne W. <sie...@sb...> - 2009-12-07 16:52:18
|
I see a variance with replying to a post on this list and other Python
lists. It appears to be a difference between the way people post. If I
see From: ab...@xy... and To: mat...@li...,
then Reply All gets both. If I see, From: jo...@xy... and To: my
e-mail address (or any personal e-address), then Reply All only goes to
the From e-address, which means I have to fill in the e-address for this
mail list. Apparently, some people from outside using a mail program
like Thunderbird. How do I get two for price of one, so to speak?
Comments?
--
Wayne Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet
"... humans'innate skills with numbers isn't much
better than that of rats and dolphins."
-- Stanislas Dehaene, neurosurgeon
Web Page: <www.speckledwithstars.net/>
|
|
From: Wayne W. <sie...@sb...> - 2009-12-07 16:41:31
|
Good. Thanks. Interesting that ls and pwd are used for Win, but that's fine. How do I copy parts of the window? All I can do at the moment is sweep out a rectangular area with the mouse. It looks like I underestimated the need for automagic. David Arnold wrote: > Depends on whether "automagic" is enabled or not. If automagic is OFF, > you need to enter the %, as in %cd. If automagic is ON (the default), > then you don't need to enter the %, as in cd. > > automagic can be toggled on and off as follows: > > In [8]: automagic > > Automagic is OFF, % prefix IS needed for magic functions. > > In [9]: %automagic > > Automagic is ON, % prefix NOT needed for magic functions. > > On my mac, I can change to my "home" directory as follows: > > In [10]: cd > /Users/darnold > > I can list the files in this directory with: > > In [11]: ls > Desktop/ Movies/ context/ > Documents/ Music/ java.log.344 > Downloads/ NetBeansProjects/ java.log.415 > Dropbox/ Pictures/ luatex-cache/ > Library/ Public/ matlab_crash_dump.344 > LizThesis/ Sites/ matlab_crash_dump.415 > > I can cd into my Sites folder with: > > In [12]: cd Sites > /Users/darnold/Sites > > I can get the current directory with: > > In [13]: pwd > Out[13]: '/Users/darnold/Sites' > > I can move up a directory level with: > > In [14]: cd .. > /Users/darnold > > > Hope this helps. > > D. > > > On Dec 6, 2009, at 3:01 PM, Wayne Watson wrote: > >> I've seen the tutorial, but need something more. How do I know what >> folder I'm in? How do I move from where I am to, for example, >> C:\abc\def? So far I've tried various combinations like this: >> >> cd .. >> cd C:\ >> pwd (yes, I know it's not windows) >> >> I tried %cd .., and that may have moved me but I seem to get back to the >> same place. >> >> I seem to be in C:\Documents and Settings\administrator. If I doa %cp >> ..\\ it looks like I get to C:\, but follwing that with pwd gets me back >> to where I started--C:\Documents and Settings\administrator. >> >> If I want to execute a program with %run, I need to be where abc.py is >> or, perhaps say something like %run C:\myPyPrograms\abc.py. >> Dir doesn't work and I haven't been able to even see what's in the >> folder. >> >> >> -- >> Wayne Watson (Watson Adventures, Prop., Nevada City, CA) >> >> (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) >> Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet >> >> "... humans'innate skills with numbers isn't much >> better than that of rats and dolphins." >> -- Stanislas Dehaene, neurosurgeon >> >> Web Page: <www.speckledwithstars.net/> >> >> >> ------------------------------------------------------------------------------ >> >> Join us December 9, 2009 for the Red Hat Virtual Experience, >> a free event focused on virtualization and cloud computing. >> Attend in-depth sessions from your desk. Your couch. Anywhere. >> http://p.sf.net/sfu/redhat-sfdev2dev >> _______________________________________________ >> Matplotlib-users mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > -- Wayne Watson (Watson Adventures, Prop., Nevada City, CA) (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet "... humans'innate skills with numbers isn't much better than that of rats and dolphins." -- Stanislas Dehaene, neurosurgeon Web Page: <www.speckledwithstars.net/> |
|
From: denis <den...@t-...> - 2009-12-07 16:24:20
|
(Old) folks,
is there a greppable list of matplotlib functions and attributes
along the lines of PyQt4.api
PyQt4.QtGui.QAbstractScrollArea.viewport() -> QWidget
PyQt4.QtGui.QAbstractScrollArea.maximumViewportSize() -> QSize
...
Grep is really fast, really simple, and can | less
to grep again / highlight to home in.
Thanks, cheers
-- denis
|
|
From: David A. <dwa...@su...> - 2009-12-07 16:00:40
|
All, Is there anything resembling Matlab's comet command? D. |
|
From: David A. <dwa...@su...> - 2009-12-07 16:00:16
|
All, Is there any way to rotate a 3D plot_wireframe? D. |
|
From: avee <av...@bl...> - 2009-12-07 15:07:26
|
andreyd wrote:
>
>
> This worked for me:
> to remove axis temporary and than to take background of the whole picture
> but without ticks and labels of this axis:
>
>
This suggestion did not resolve the problem.
But here is the solution. I have no idea why the first version is not
working.
I changed the threading technique:
- from gobject.idle_add(run) to the fig.canvas.mpl_connect('draw_event',
start_anim)
I think it can be only that... Any ideas?
import matplotlib
matplotlib.use('GTKAgg')
from pylab import figure, show
import gobject, gtk
import time
fig = figure()
ax = fig.add_subplot(111)
ax.set_xlim(0, 30)
#fig.subplots_adjust(left=0.3, bottom=0.3) # check for flipy bugs
ax.grid() # to ensure proper background restore
ax.get_xaxis().set_animated(True)
fig.canvas.draw()
def run():
if run.background is None:
run.background = fig.canvas.copy_from_bbox(fig.bbox)
fig.canvas.restore_region(run.background)
i = run.cnt
ax.set_xlim(0+i,30+i)
fig.draw_artist(ax.get_xaxis())
fig.canvas.blit()
if run.cnt == 180:
gtk.main_quit()
raise SystemExit
run.cnt += 1
time.sleep(0.1)
return True
def start_anim(event):
gobject.idle_add(run)
fig.canvas.mpl_disconnect(start_anim.cid)
start_anim.cid = fig.canvas.mpl_connect('draw_event', start_anim)
run.background = None
run.cnt = 0
show()
--
View this message in context: http://old.nabble.com/animated-axis-tp26635860p26678529.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
|
|
From: Dali L. <dal...@pr...> - 2009-12-07 13:54:20
|
Thanks a lot. Effectively, that was the missing headers ------ yum install libpng-devel.x86_64 yum install freetype-devel.x86_64 ------ Thanks, Dali ----- Original Message ----- From: "Darren Dale" <dsd...@gm...> To: "Dali Laadhar" <dal...@pr...> Cc: mat...@li... Sent: Monday, December 7, 2009 2:05:27 PM Subject: Re: [Matplotlib-users] Matplotlib build/install error On Mon, Dec 7, 2009 at 7:26 AM, Dali Laadhar <dal...@pr...> wrote: > Hey ALL > > I've been trying to install matplotlib-0.99.1.1. > Getting build errors : > > 1/ > [user@MyMachine ~]$ uname -a > Linux target-datalog 2.6.21.7-2.fc8xen #1 SMP Fri Feb 15 12:34:28 EST 2008 x86_64 x86_64 x86_64 GNU/Linux > > 2/ Used this link to download matplotlib: > http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-0.99.1/matplotlib-0.99.1.2.tar.gz/download > > 3/ Used python 2.6.2 > > 4/ STEPS: > [user@MyMachine downloads]$ wget http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-0.99.1/matplotlib-0.99.1.2.tar.gz/download > [user@MyMachine downloads]$ tar -xzvf matplotlib-0.99.1.2.tar.gz > [user@MyMachine downloads]$ cd matplotlib-0.99.1.1 > [user@MyMachine matplotlib-0.99.1.1]$ python setup.py build > > Got this error: > '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' > cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ > In file included from src/ft2font.cpp:1: > src/ft2font.h:13:22: error: ft2build.h: No such file or directory You do not have the freetype2 headers installed. On ubuntu, I think they are provided by the libfreetype6-dev package. Darren |
|
From: Michael D. <md...@st...> - 2009-12-07 13:50:38
|
The mathmpl uses matplotlib's built-in mathtext rendering engine to
render the math, which does not currently support any of the "grid"
environments from ams-latex, such as "align". If you need those, look
at sphinx.ext.pngmath.
Mike
David Arnold wrote:
> All,
>
> If I am using this in my conf.py in Sphinx:
>
> extensions = ['matplotlib.sphinxext.mathmpl',
> 'matplotlib.sphinxext.only_directives',
> 'matplotlib.sphinxext.plot_directive']
>
> Is there a way I can use ams-latex constructs such as:
>
> \begin{align*}
> x+2y&=3\\
> 2x-3y&=4
> \end{align*}
>
> D.
>
> ------------------------------------------------------------------------------
> Join us December 9, 2009 for the Red Hat Virtual Experience,
> a free event focused on virtualization and cloud computing.
> Attend in-depth sessions from your desk. Your couch. Anywhere.
> http://p.sf.net/sfu/redhat-sfdev2dev
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
--
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA
|
|
From: Darren D. <dsd...@gm...> - 2009-12-07 13:05:41
|
On Mon, Dec 7, 2009 at 7:26 AM, Dali Laadhar <dal...@pr...> wrote: > Hey ALL > > I've been trying to install matplotlib-0.99.1.1. > Getting build errors : > > 1/ > [user@MyMachine ~]$ uname -a > Linux target-datalog 2.6.21.7-2.fc8xen #1 SMP Fri Feb 15 12:34:28 EST 2008 x86_64 x86_64 x86_64 GNU/Linux > > 2/ Used this link to download matplotlib: > http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-0.99.1/matplotlib-0.99.1.2.tar.gz/download > > 3/ Used python 2.6.2 > > 4/ STEPS: > [user@MyMachine downloads]$ wget http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-0.99.1/matplotlib-0.99.1.2.tar.gz/download > [user@MyMachine downloads]$ tar -xzvf matplotlib-0.99.1.2.tar.gz > [user@MyMachine downloads]$ cd matplotlib-0.99.1.1 > [user@MyMachine matplotlib-0.99.1.1]$ python setup.py build > > Got this error: > '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' > cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ > In file included from src/ft2font.cpp:1: > src/ft2font.h:13:22: error: ft2build.h: No such file or directory You do not have the freetype2 headers installed. On ubuntu, I think they are provided by the libfreetype6-dev package. Darren |
|
From: Dali L. <dal...@pr...> - 2009-12-07 12:46:26
|
Hey ALL I've been trying to install matplotlib-0.99.1.1. Getting build errors : 1/ [user@MyMachine ~]$ uname -a Linux target-datalog 2.6.21.7-2.fc8xen #1 SMP Fri Feb 15 12:34:28 EST 2008 x86_64 x86_64 x86_64 GNU/Linux 2/ Used this link to download matplotlib: http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-0.99.1/matplotlib-0.99.1.2.tar.gz/download 3/ Used python 2.6.2 4/ STEPS: [user@MyMachine downloads]$ wget http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-0.99.1/matplotlib-0.99.1.2.tar.gz/download [user@MyMachine downloads]$ tar -xzvf matplotlib-0.99.1.2.tar.gz [user@MyMachine downloads]$ cd matplotlib-0.99.1.1 [user@MyMachine matplotlib-0.99.1.1]$ python setup.py build Got this error: '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ In file included from src/ft2font.cpp:1: src/ft2font.h:13:22: error: ft2build.h: No such file or directory src/ft2font.h:14:10: error: #include expects "FILENAME" or <FILENAME> src/ft2font.h:15:10: error: #include expects "FILENAME" or <FILENAME> src/ft2font.h:16:10: error: #include expects "FILENAME" or <FILENAME> src/ft2font.h:17:10: error: #include expects "FILENAME" or <FILENAME> src/ft2font.h:18:10: error: #include expects "FILENAME" or <FILENAME> src/ft2font.h:31: error: 'FT_Bitmap' has not been declared src/ft2font.h:31: error: 'FT_Int' has not been declared src/ft2font.h:31: error: 'FT_Int' has not been declared src/ft2font.h:77: error: expected ',' or '...' before '&' token src/ft2font.h:77: error: ISO C++ forbids declaration of 'FT_Face' with no type src/ft2font.h:83: error: expected ',' or '...' before '&' token src/ft2font.h:83: error: ISO C++ forbids declaration of 'FT_Face' with no type src/ft2font.h:122: error: 'FT_Face' does not name a type src/ft2font.h:123: error: 'FT_Matrix' does not name a type src/ft2font.h:124: error: 'FT_Vector' does not name a type src/ft2font.h:125: error: 'FT_Error' does not name a type src/ft2font.h:126: error: 'FT_Glyph' was not declared in this scope src/ft2font.h:126: error: template argument 1 is invalid src/ft2font.h:126: error: template argument 2 is invalid src/ft2font.h:127: error: 'FT_Vector' was not declared in this scope src/ft2font.h:127: error: template argument 1 is invalid src/ft2font.h:127: error: template argument 2 is invalid src/ft2font.h:133: error: 'FT_BBox' does not name a type src/ft2font.cpp:45: error: 'FT_Library' does not name a type src/ft2font.cpp:96: error: variable or field 'draw_bitmap' declared void src/ft2font.cpp:96: error: 'int FT2Image::draw_bitmap' is not a static member of 'class FT2Image' src/ft2font.cpp:96: error: 'FT_Bitmap' was not declared in this scope src/ft2font.cpp:96: error: 'bitmap' was not declared in this scope src/ft2font.cpp:97: error: 'FT_Int' was not declared in this scope src/ft2font.cpp:98: error: 'FT_Int' was not declared in this scope src/ft2font.cpp:98: error: initializer expression list treated as compound expression src/ft2font.cpp:98: error: expected ',' or ';' before '{' token /home/lbuser/python/lbuser/lib/python2.6/site-packages/numpy/core/include/numpy/__multiarray_api.h:1187: warning: 'int _import_array()' defined but not used error: command 'gcc' failed with exit status 1 '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' Any idea? Thanks, Dali |
|
From: Pierre de B. <pd...@ul...> - 2009-12-07 08:11:50
|
Hello,
The Axes3D constructor accepts the keywords "azim" and "elev" to set
the viewpoint of the figure.
As for the title, I could not find information in the examples or the
api, so I suggest to add text with the text method. This solution
lacks an automatic placement for the title, however.
I give an example in your code:
from mpl_toolkits.mplot3d import axes3d
import matplotlib.pyplot as plt
import numpy as np
fig=plt.figure()
ax=axes3d.Axes3D(fig,azim=120)
x=np.linspace(-2,2,40)
y=np.linspace(-2,2,40)
X, Y=np.meshgrid(x,y)
Z=6-2*X**2
ax.plot_wireframe(X,Y,Z)
ax.set_xlabel('x-axis')
ax.set_ylabel('y-axis')
ax.set_zlabel('z-axis')
ax.text(0,0,9,'My Title')
plt.show()
Le 7 déc. 09 à 01:39, David Arnold a écrit :
> All, I have:
>
> from mpl_toolkits.mplot3d import axes3d
> import matplotlib.pyplot as plt
> import numpy as np
>
> fig=plt.figure()
> ax=axes3d.Axes3D(fig)
>
> x=np.linspace(-2,2,40)
> y=np.linspace(-2,2,40)
>
> X, Y=np.meshgrid(x,y)
> Z=6-2*X**2
>
> ax.plot_wireframe(X,Y,Z)
> ax.set_xlabel('x-axis')
> ax.set_ylabel('y-axis')
> ax.set_zlabel('z-axis')
>
> plt.show()
>
>
> How can I add a title and rotate the axes?
>
> D.
>
> ----------------------------------------------------------------------
> --------
> Join us December 9, 2009 for the Red Hat Virtual Experience,
> a free event focused on virtualization and cloud computing.
> Attend in-depth sessions from your desk. Your couch. Anywhere.
> http://p.sf.net/sfu/redhat-sfdev2dev
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
|