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
(2) |
2
(1) |
3
(6) |
4
(19) |
5
(11) |
6
(2) |
7
|
|
8
(5) |
9
(13) |
10
(25) |
11
(28) |
12
(6) |
13
(10) |
14
(3) |
|
15
(4) |
16
(8) |
17
(16) |
18
(12) |
19
(16) |
20
(12) |
21
(11) |
|
22
(13) |
23
(11) |
24
(22) |
25
(28) |
26
(11) |
27
(8) |
28
(7) |
|
29
(19) |
30
(3) |
31
(20) |
|
|
|
|
|
From: Charlie M. <cw...@gm...> - 2006-01-10 21:01:13
|
Latest release of matplotlib available with the usual slew of
updates. Notable changes are:
- Support for numpy (was scipy_core)
- Support for setuptools (eggs to appear soon on cheeseshop)
-- more on eggs: http://peak.telecommunity.com/DevCenter/setuptoo=
ls
- Matplotlib data files moved inside the matplotlib module for
better portability
http://sourceforge.net/project/showfiles.php?group_id=3D80706&package_id=3D=
82474&release_id=3D384391
http://cheeseshop.python.org/pypi/matplotlib/
Full changelog below....
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
2006-1-9 Released 0.86
2006-1-4 Changed to support numpy (new name for scipy_core) - TEO
2006-1-4 Added Mark's scaled axes patch for shared axis
2005-12-28 Added Chris Barker's build_wxagg patch - JDH
2005-12-27 Altered numerix/scipy to support new scipy package
structure - TEO
2005-12-20 Fixed Jame's Boyles date tick reversal problem - JDH
2005-12-20 Added Jouni's rc patch to support lists of keys to set on -
JDH
2005-12-12 Updated pyparsing and mathtext for some speed enhancements
(Thanks Paul McGuire) and minor fixes to scipy numerix and
setuptools
2005-12-12 Matplotlib data is now installed as package_data in
the matplotlib module. This gets rid of checking the
many possibilities in matplotlib._get_data_path() - CM
2005-12-11 Support for setuptools/pkg_resources to build and use
matplotlib as an egg. Still allows matplotlib to exist
using a traditional distutils install. - ADS
2005-12-03 Modified setup to build matplotlibrc based on compile time
findings. It will set numerix in the order of scipy,
numarray, Numeric depending on which are founds, and
backend as in preference order GTKAgg, WXAgg, TkAgg, GTK,
Agg, PS
2005-12-03 Modified scipy patch to support Numeric, scipy and numarray
=09 Some work remains to be done because some of the scipy
=09 imports are broken if only the core is installed. Eg
=09 apparently we need from scipy.basic.fftpack import * rather
=09 than from scipy.fftpack import *
2005-12-03 Applied some fixes to Nicholas Young's nonuniform image
patch
2005-12-01 Applied Alex Gontmakher hatch patch - PS only for now
2005-11-30 Added Rob McMullen's EMF patch
2005-11-30 Added Daishi's patch for scipy
2005-11-30 Fixed out of bounds draw markers segfault in agg
2005-11-28 Got TkAgg blitting working 100% (cross fingers) correctly. - CM
2005-11-27 Multiple changes in cm.py, colors.py, figure.py, image.py,
contour.py, contour_demo.py; new _cm.py, examples/image_masked.p=
y.
1) Separated the color table data from cm.py out into
a new file, _cm.py, to make it easier to find the actual
code in cm.py and to add new colormaps. Also added
some line breaks to the color data dictionaries. Everything
from _cm.py is imported by cm.py, so the split should be
transparent.
2) Enabled automatic generation of a colormap from
a list of colors in contour; see modified
examples/contour_demo.py.
3) Support for imshow of a masked array, with the
ability to specify colors (or no color at all) for
masked regions, and for regions that are above or
below the normally mapped region. See
examples/image_masked.py.
4) In support of the above, added two new classes,
ListedColormap, and no_norm, to colors.py, and modified
the Colormap class to include common functionality. Added
a clip kwarg to the normalize class. Reworked color
handling in contour.py, especially in the ContourLabeller
mixin.
- EF
2005-11-25 Changed text.py to ensure color is hashable. EF
|
|
From: Glen W. M. <Gle...@sw...> - 2006-01-10 20:52:54
|
On Tue, Jan 10, 2006 at 01:09:59PM -0700, Bowen, Brian M wrote: > Is there an easy way to add a toolbar to the "embedding_in_qt.py" > example? Have you found this link already? http://www.scipy.org/wikis/topical_software/QtWithIPythonAndDesigner Glen |
|
From: Bowen, B. M <bm...@sa...> - 2006-01-10 20:10:29
|
Is there an easy way to add a toolbar to the "embedding_in_qt.py" example?=20 Thanks, Brian |
|
From: Bowen, B. M <bm...@sa...> - 2006-01-10 20:03:07
|
It is fixed in 0.86.
Thanks,
Brian =20
-----Original Message-----
From: John Hunter [mailto:jdh...@ac...]=20
Sent: Monday, January 09, 2006 4:59 PM
To: Bowen, Brian M
Cc: mat...@li...
Subject: Re: [Matplotlib-users] setp/xticklabel problem
>>>>> "Bowen," =3D=3D Bowen, Brian M <bm...@sa...> writes:
Brian> TypeError: list indices must be integers Traceback (most
Brian> recent call last): File Brian>
=20
"/usr/lib/python2.4/site-packages/matplotlib/backends/backend_gtk.py",
Brian> line 188, in motion_notify_event Brian>
FigureCanvasBase.motion_notify_event(self, x, y) File Brian>
"/usr/lib/python2.4/site-packages/matplotlib/backend_bases.py",
Brian> line 797, in motion_notify_event func(event) File Brian>
"/usr/lib/python2.4/site-packages/matplotlib/backend_bases.py",=20
I think this is fixed in CVS, and the 0.86 pre-release that Charlie Moad
has generously put together
http://euclid.uits.iupui.edu/~cmoad/matplotlib-0.86.win32-py2.3.exe
http://euclid.uits.iupui.edu/~cmoad/matplotlib-0.86.win32-py2.4.exe
=20
http://cheeseshop.python.org/packages/source/m/matplotlib/matplotlib-0.8
6.tar.gz
Let us know!
JDH
|
|
From: Charles R. T. <ct...@gm...> - 2006-01-10 19:37:11
|
Alas, another question. I want to place text inside the plot, just below the top xaxis ticks. Previously I had hacked this as: sp.text(0.5, 0.96, title_str, font, transform=3Dax.transAxes) But as the graphs get taller, the text gets too far away from the top line. What I think I want is to put the top-aligned text at something like: (top - markerlen) in pixel coordinates. But where to find the properties and transforms I need? Many thanks. I will await a question I can answer. -C -- Charles R. Twardy |
|
From: Charles R. T. <ct...@gm...> - 2006-01-10 19:28:44
|
Hello all,
When using twinx(), how do I keep the second axis from drawing xticklabels?
The default rewrites the xticklabels, making them blurry. I tried this:
ax2 =3D twinx()
plot(xvals, yvals, 'g')
ax2.set_xticklabels([])
But that turns off ALL xticklabels (even for the original axis).
-Charles
--
Charles R. Twardy
|
|
From: Charles R. T. <ct...@gm...> - 2006-01-10 19:20:42
|
(first reply mistakenly went only to Giandomenico) Hi, I have a guess. I didn't download NetworkX to give it a try, but both pylab and networkx have draw() functions, and the example just does a "from blah import *" for both. At a guess, the pylab draw() function is clobbering the intended NetworkX draw() function. Try this: try: import pylab # DON'T DO: from pylab import * except: print "pylab not found: see https://networkx.lanl.gov/Drawing.html for i= nfo" raise from networkx import * G=3Dgrid_2d_graph(4,4) #4x4 grid pos=3Dspring_layout(G) draw(G,pos,alpha=3D0.5,with_labels=3DFalse) draw(G,pos,nodelist=3D[1,2,3,4],node_color=3D'b') # blue pylab.savefig("grid.png") # save as png pylab.show() # display > File "draw_colors.py", line 27, in ? > draw(G,pos,node_color=3Darray([G.degree(v) for v in G])) > TypeError: draw() takes exactly 1 non-keyword argument (2 given) -- Charles R. Twardy |
|
From: John H. <jdh...@ac...> - 2006-01-10 18:38:30
|
>>>>> "Christopher" == Christopher Barker <Chr...@no...> writes:
Christopher> I was afraid I'd have to do that. Do you have some
Christopher> fairly simple sample code, that would help some.
What you want to do is use a line collection, see
http://matplotlib.sf.net/matplotlib.collections.py. You can specify a
list of line segments which can be in one coordinate system (eg
oriented lines with origin at 0 and lengths in points) and pass the
collection a list off offsets which can be in another coordinate
system (eg the locations of the lines in data coordinates). This is
just the kinds of thing that is useful for a vector field, where you
want oriented lines at x,y coords in data coords but lengths and
orientation of the lines in some physical coordinate system.
Here is a little example -- you'll also want to read up on mpl
transforms at http://matplotlib.sf.net/matplotlib.transforms.html
from matplotlib.transforms import scale_transform, Value
from matplotlib.collections import LineCollection
from pylab import figure, show
import matplotlib.numerix as nx
N = 100
angles = nx.mlab.rand(N)*2*nx.pi
radii = nx.mlab.rand(N)*144. # max line should be 2 inches long
segments = [((0,0), (r*nx.cos(theta), r*nx.sin(theta))) for r,theta in zip(radii, angles)]
offsets = zip(10*nx.mlab.rand(N),20*nx.mlab.randn(N))
fig = figure()
ax = fig.add_subplot(111)
coll = LineCollection(segments, offsets=offsets,
transOffset=ax.transData, # transforms the x,y offsets
)
# points/72.*dpi = pixels -- see matplotlib.transforms
trans = scale_transform(fig.dpi/Value(72.), fig.dpi/Value(72.))
coll.set_transform(trans) # the points to pixels transform
ax.add_collection(coll)
ax.set_xlim(0,10)
ax.set_ylim(0,20)
show()
|
|
From: Christopher B. <Chr...@no...> - 2006-01-10 18:05:24
|
Rich Shepard wrote:
> Have you looked at PSTricks?
I haven't looked at that for ages. I need this in a wxPython app, as
well as other formats, so MPL only would be nice.
> I know that it can draw this type of plot
> from real data in a file, and I suspect that once you define the arrows as going
> from one point to another, that's how they'll stay. If the spacing between
> those points varies with the size of the image, I don't know of any
> application that will automatically recalculate each vector and keep it a
> fixed length.
actually, it's the other way around in a way: the application has to
re-calculate the data to make the length change. After all the actual
drawing happens in pixel coordinates.
> All the 2D drawing/plotting programs I've used (e.g., Gri,
> tgif, jpicedt, PSTricks, ipe)
Yes and no. In MPL, and others, some things are fixed: text size,
markers, etc. In this case, what I want is really like a marker, except
that each marker needs to be rotated differently.
The PNG I enclosed was generated with my wxPython FloatCanvas. I
designed that to present data graphically in arbitrary coordinates, and
it felt very natural to have objects that done' scale as you zoom: text,
dots, bitmaps, line widths, etc, etc. I also have scalable objects.
However, I haven't written code to handle axes, etc, so I prefer to use
MPL for traditional plotting.
Hugo Gamboa wrote:
> I'm quite new to matplotlib, and I had a problem with zooming, and I
> solved it by catching the draw event, obtain the new axis, recalculate
> the data and presenting it again.
I was afraid I'd have to do that. Do you have some fairly simple sample
code, that would help some.
I'm also going to dig into how markers are done. maybe I can leverage
that somehow. What I'm hoping to find is a way to define a new patch or
something, that can draw in pixel (or pt) units at a location in axes
coordinates. Maybe I'm just stuck thinking about it in that way because
of how I've written my code, but it seems useful.
I'd be interested in what John thinks about this:
-- is there an easy way to do this?
-- If not, do you thing it would be worth adding?
Are you reading, John?
thanks,
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chr...@no...
|
|
From: Eric F. <ef...@ha...> - 2006-01-10 17:55:42
|
Chris, Your previous post did get through. This is something that I will need also, and I would like to look into it, but I haven't been able to find the time yet. I have worked on this sort of thing in Matlab--I added the vector-plotting capability (m_vec) to Rich Pawlowicz's m_map package. (I realize that what you are talking about is a little bit different from what m_vec does, but it requires the same type of control over how plotting is done.) My guess is that in the long run it will be possible to do it much more easily and directly in mpl than in Matlab, but this may require some modifications or additions to mpl internals. Eric Christopher Barker wrote: > Hi all, > > This is a re-post, which I don't' ordinarily do, but I got not a single > reply, so I wonder if it never actually got posted. > > I'm trying to figure out how to draw something in pixel or "real" > units(inches, mm, etc). what I want is to be able to place an object > according to axes units, but not have it change size as I zoom in and > out, kind of like a marker. > > The big picture: > > I'm trying to make a plot that shows a vector value over time (in this > case ocean current velocity and direction). The x axis is time, the y > axis is magnitude, and at each point I want to draw an arrow pointing in > the direction of the vector at that time. However, I don't want the size > (or angle) of that arrow to change as you zoom in and out. > > Any ideas how I can accomplish this? > > See the enclosed PNG for an example with fake data. > > -Chris > > > > > ------------------------------------------------------------------------ > |
|
From: Sophana K. <sop...@ar...> - 2006-01-10 17:41:37
|
Hi
I'm trying to compile matplotlib on centos3 (redhat el3). it has python
2.2.3
I get a gcc error:
building 'matplotlib._na_cntr' extension
gcc -DNDEBUG -O2 -g -pipe -march=i386 -mcpu=i686 -D_GNU_SOURCE -fPIC
-fPIC -I/usr/local/include -I/usr/include -I. -I/usr/include/python2.2
-c src/_na_cntr.c -o build/temp.linux-i686-2.2/_na_cntr.o -DNUMARRAY=1
-O3 -Wall -fPIC -m32 -Wa,--32
src/_na_cntr.c:1701: error: parse error before "init_na_cntr"
src/_na_cntr.c:1702: warning: return type defaults to `int'
src/_na_cntr.c: In function `init_na_cntr':
src/_na_cntr.c:1706: warning: `return' with no value, in function
returning non-void
src/_na_cntr.c:1712: warning: `return' with no value, in function
returning non-void
src/_na_cntr.c:1716: warning: dereferencing type-punned pointer will
break strict-aliasing rules
error: command 'gcc' failed with exit status 1
seems that PyMODINIT_FUNC is unknown.
I added
#define PyMODINIT_FUNC DL_EXPORT(void) in cntr.c
and it compiles.
But, I try to launch a example, I get the same error:
python image_demo2.py
Traceback (most recent call last):
File "image_demo2.py", line 2, in ?
from pylab import *
File "/usr/lib/python2.2/site-packages/pylab.py", line 1, in ?
from matplotlib.pylab import *
File "/usr/lib/python2.2/site-packages/matplotlib/__init__.py", line
869, in ?
rcParams = rc_params()
File "/usr/lib/python2.2/site-packages/matplotlib/__init__.py", line
817, in rc_params
fname = matplotlib_fname()
File "/usr/lib/python2.2/site-packages/matplotlib/__init__.py", line
793, in matplotlib_fname
fname = os.path.join(get_configdir(), 'matplotlibrc')
File "/usr/lib/python2.2/site-packages/matplotlib/__init__.py", line
261, in wrapper
ret = func(*args, **kwargs)
File "/usr/lib/python2.2/site-packages/matplotlib/__init__.py", line
351, in _get_configdir
if not _is_writable_dir(h):
File "/usr/lib/python2.2/site-packages/matplotlib/__init__.py", line
199, in _is_writable_dir
t = tempfile.TemporaryFile(dir=p)
TypeError: TemporaryFile() got an unexpected keyword argument 'dir'
Is python2.2 no more supported?
Thanks
|
|
From: Bowen, B. M <bm...@sa...> - 2006-01-10 16:28:55
|
=20 I am trying to add graphing support to a qt application, which runs on Linux. Can anyone tell me the advantages and disadvantages of using pylab over qwt? Thanks, Brian Bowen |
|
From: Giandomenico S. <gia...@po...> - 2006-01-10 16:15:20
|
Hi, I've a problem with the draw function. I've tried to execute the python code available at the web-page https://networkx.lanl.gov/wiki/file/networkx/trunk/doc/examples/draw_colors.py It uses matplotlib + networkx. By executing this code, I receive the following error message: File "draw_colors.py", line 27, in ? draw(G,pos,node_color=array([G.degree(v) for v in G])) TypeError: draw() takes exactly 1 non-keyword argument (2 given) By executing similar codes, I receive similar message. It seems I have a problem with the draw function. Can you help me to understand why I have this problem and how is it possible to solve it? I suppose it's related to the use of matplotlib more then to the use of networkx. Many thanks. All the best, Nic |
|
From: Fernando P. <Fer...@co...> - 2006-01-10 09:02:13
|
[ Sorry for the cross-post, but I know that a number of matplotlib member= s are also ipython users, and not necessarily on the ipython lists. This relea= se has a number of significant enhancements, so hopefully this will be of interest. Please send any ipython-related requests directly to the ipyth= on lists, to keep the matplotlib ones clear of such traffic. ] Hi all, After a long hiatus (0.6.15 was out in June of 2005), I'm glad to announc= e the release of IPython 0.7.0, with lots of new features (the _code_ diff from= the previous release is almost 9000 lines long, so there's quite a bit in her= e). IPython's homepage is at: http://ipython.scipy.org and downloads are at: http://ipython.scipy.org/dist I've provided: - source downloads (.tar.gz) - RPMs (for Python 2.3 and 2.4, built under Fedora Core 3). - Python Eggs (http://peak.telecommunity.com/DevCenter/PythonEggs). - a native win32 installer for both Python 2.3 and 2.4. Fedora users should note that IPython is now officially part of the Extra= s repository, so they can get the update from there as well (though it may = lag by a few days). Debian, Fink and BSD packages for this version should be coming soon, as = the respective maintainers (many thanks to Jack Moffit, Andrea Riciputi and D= ryice Liu) have the time to follow their packaging procedures. A lot of new features have gone into this release, the bulk of which were driven by user feedback and requests, and more importantly by patches fro= m IPython users. I greatly appreciate these contributions, and hope they w= ill continue in the future. In particular, thanks to Vivian de Smedt, Jorgen Stenarsson and Ville Vainio, who contributed large patches with much of t= he new significant functionality. I've tried to provide credit in the notes below and the project's ChangeLog, please let me know if I've accidentall= y ommitted you. Many thanks to Enthought for their continued hosting support for IPython. Release notes ------------- *** WARNING: compatibility changes *** - IPython now requires at least Python 2.3. If you can't upgrade = from 2.2, you'll need to continue using IPython 0.6.15. *** End warning. As always, the NEWS file can be found at http://ipython.scipy.org/NEWS, a= nd the full ChangeLog at http://ipython.scipy.org/ChangeLog. The highlights= of this release follow. - Wildcard patterns in searches, supported by the %psearch magic,= as well as the '?' operator. Type psearch? for the full details. Extremely usefu= l, thanks to J=F6rgen Stenarson. - Major improvements to the pdb mode. It now has tab-completion,= syntax highlighting and better stack handling. Thanks to Vivian De Smedt for th= is work (double-points given that pdb has a well-deserved reputation for bei= ng very unpleasant to work with). - Support for input with empty lines. If you have auto-indent on= , this means that you need to either hit enter _twice_, or add/remove a space to= your last blank line, to indicate you're done entering input. These changes a= lso allow us to provide copy/paste of code with blank lines. - Support for pasting multiline input even with autoindent on. T= he code will look wrong on screen, but it will be stored and executed correctly internally. - TAB on an otherwise empty line actually inserts a tab. Conveni= ent for indenting (for those who don't use autoindent). - Significant improvements for all multithreaded versions of ipyt= hon.=20 Now, if your threaded code raises exceptions, instead of seeing a crash report= , a normal (colored, verbose, etc.) exception is printed. Additionally, if y= ou have pdb on, it will activate in your threaded code. Very nice for interactively debugging GUI programs. - Many fixes to embedded ipython, including proper handling of gl= obals and tab completion. - New -t and -o options to %logstart, to respectively put timesta= mps in your logs, and to also log all output (tagged as #[Out]#). The default l= og name is now ipython_log.py, to better reflect that logs remain valid Pyth= on source. - Lightweight persistence mechanism via %store. IPython had alwa= ys had %save, to write out a group of input lines directly to a file. Now, its %store companion stores persistently (associated with your profile, and auto-loaded at startup) not just source, but any python variable which ca= n be pickled. Thanks to Matt Wilkie for the request, and ville for the patche= s. - Macros (created with %macro) can now be edited with %edit (just= say '%edit macroname'). This, coupled with the ability to store them persistently, makes the macro system much more useful. - New guarantee that, if you disable autocalling, ipython will ne= ver call getattr() on your objects. This solves problems with code that has side-effects on attribute access. Note that TAB-completion inevitably do= es call getattr(), so not all forms of side-effects can be eliminated. - Unicode support for prompts. - Improvements to path handling under win32. Thanks to Ville and= Jorgen for the patches. - Improvements to pager under win32. Contributed by Alexander Be= lchenko. - Demo class for interactive demos using ipython. - %pycat magic for showing syntax-highlighted python sources - support for download_url in setup.py, so PyPI (and setuptools) = work transparently with ipython. - New exit/quit magics to exit, conditionally asking (%Exit/%Quit= don't) - Automatically reopen the editor if your file has a syntax error= in it (when using the %edit system). - New notation N-M for indicating the range of lines N,...,M (inc= luding both endpoints), in magic commands such as %macro, %save and %edit. - The IPython instance has a new attribute, .meta, which is an em= pty namespace (an instance of 'class Bunch:pass'). This is meant to provide extension writers with a safe namespace to store metadata of any kind, wi= thout the risk of name clashes with IPython's internals. - Added tab-completion support for objects with Traits, a sophist= icated type definition system for Python: http://code.enthought.com/traits. - Several patches related to Emacs support. Thanks to Alex Schmo= lck and John Barnard. - New 'smart' autocall mode, which avoids autocalling if a functi= on with no arguments is the input. The old 'full' mode can be obtained by settin= g the autocall parameter in the ipythonrc to 2, or via the %autocall magic. - A large amount of internal reorganization and cleanup, to allow= the code to be more readily moved over to the chainsaw branch (see below). - Many other small fixes and enhancements. The changelog has ful= l=20 details. Enjoy, and as usual please report any problems. Regards, Fernando. |
|
From: Christopher B. <Chr...@no...> - 2006-01-10 00:51:12
|
Hi all,
This is a re-post, which I don't' ordinarily do, but I got not a single
reply, so I wonder if it never actually got posted.
I'm trying to figure out how to draw something in pixel or "real"
units(inches, mm, etc). what I want is to be able to place an object
according to axes units, but not have it change size as I zoom in and
out, kind of like a marker.
The big picture:
I'm trying to make a plot that shows a vector value over time (in this
case ocean current velocity and direction). The x axis is time, the y
axis is magnitude, and at each point I want to draw an arrow pointing in
the direction of the vector at that time. However, I don't want the size
(or angle) of that arrow to change as you zoom in and out.
Any ideas how I can accomplish this?
See the enclosed PNG for an example with fake data.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chr...@no...
--
Christopher Barker, Ph.D.
Oceanographer
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chr...@no...
|
|
From: Philip A. <pa...@eo...> - 2006-01-10 00:51:05
|
John Hunter writes: > matplotlib embeds the entire font file into the generated, and if on > your system some huge font is being found by the font matching > mechanism, it may be screwing up your printer driver. Try setting the > > ps.useafm : True > > option in your rc file and see if this helps. > > Also, if you run with --verbose-debug it will give you information > about which font files are being loaded (and lots of other useless > junk too... > Thanks, John -- if I set (ps.useafm : True) and also (text.usetex : False) then findfont locates a helvetca font and the file prints fine: (http://clouds.eos.ubc.ca/~phil/matplotlib_postscript/debug_notex.txt, http://clouds.eos.ubc.ca/~phil/matplotlib_postscript/file1_notex.ps) If I set (text.usetex : True) then (ps.useafm : True) is overridden, dvips is invoked and I get the same erroneous postscript file as previously. generated by dvips using cmr10: (http://clouds.eos.ubc.ca/~phil/matplotlib_postscript/debug_withtex.txt, http://clouds.eos.ubc.ca/~phil/matplotlib_postscript/file1.ps) (Note that TeX/latex is definitely working on this machine). best, Phil |
|
From: John H. <jdh...@ac...> - 2006-01-10 00:08:01
|
>>>>> "Bowen," == Bowen, Brian M <bm...@sa...> writes:
Brian> TypeError: list indices must be integers Traceback (most
Brian> recent call last): File Brian>
"/usr/lib/python2.4/site-packages/matplotlib/backends/backend_gtk.py",
Brian> line 188, in motion_notify_event Brian>
FigureCanvasBase.motion_notify_event(self, x, y) File Brian>
"/usr/lib/python2.4/site-packages/matplotlib/backend_bases.py",
Brian> line 797, in motion_notify_event func(event) File Brian>
"/usr/lib/python2.4/site-packages/matplotlib/backend_bases.py",
I think this is fixed in CVS, and the 0.86 pre-release that Charlie
Moad has generously put together
http://euclid.uits.iupui.edu/~cmoad/matplotlib-0.86.win32-py2.3.exe
http://euclid.uits.iupui.edu/~cmoad/matplotlib-0.86.win32-py2.4.exe
http://cheeseshop.python.org/packages/source/m/matplotlib/matplotlib-0.86.tar.gz
Let us know!
JDH
|
|
From: John H. <jdh...@ac...> - 2006-01-10 00:04:29
|
>>>>> "Philip" == Philip Austin <pa...@eo...> writes:
Philip> Thanks for that. I found my printer manual and toggled
Philip> error printing. I get a simalr message:
Philip> ERROR: invalidfont OFFENDING COMMAND: stringwidth
Philip> STACK:
Philip> (psmarker0)
matplotlib embeds the entire font file into the generated, and if on
your system some huge font is being found by the font matching
mechanism, it may be screwing up your printer driver. Try setting the
ps.useafm : True
option in your rc file and see if this helps.
Also, if you run with --verbose-debug it will give you information
about which font files are being loaded (and lots of other useless
junk too...
JDH
|
|
From: Philip A. <pa...@eo...> - 2006-01-09 19:56:40
|
Vincent Favre-Nicolin writes: > I was going to blame hp, but my brother printer (HL5170DN) does not print > it either - all I get is a postscript error: > ERROR NAME; > invalidfont > COMMAND; > stringwidth > OPERAND STACK > --stringtype-- Thanks for that. I found my printer manual and toggled error printing. I get a simalr message: ERROR: invalidfont OFFENDING COMMAND: stringwidth STACK: (psmarker0) |
|
From: Bowen, B. M <bm...@sa...> - 2006-01-09 19:49:26
|
I was able to get it to work by doing something similar. However, the x coordinate does not show up in the lower right corner of the plot. I am thinking this might be part of the underlying problem. Thanks for your help, Brian=20 -----Original Message----- From: mat...@li... [mailto:mat...@li...] On Behalf Of Darren Dale Sent: Monday, January 09, 2006 12:33 PM To: mat...@li... Subject: Re: [Matplotlib-users] setp/xticklabel problem On Monday 09 January 2006 14:24, Bowen, Brian M wrote: > The value of 'pos' is 'None'. See the output: Ok, what happens if you replace line 177 with this: if (pos=3D=3DNone) or (pos>=3Dlen(self.seq)): return '' > pos =3D None > Traceback (most recent call last): > File > "/usr/lib/python2.4/site-packages/matplotlib/backends/backend_gtk.py", > line 188, in motion_notify_event > FigureCanvasBase.motion_notify_event(self, x, y) > File "/usr/lib/python2.4/site-packages/matplotlib/backend_bases.py", > line 797, in motion_notify_event > func(event) > File "/usr/lib/python2.4/site-packages/matplotlib/backend_bases.py", > line 1085, in mouse_move > try: s =3D event.inaxes.format_coord(event.xdata, event.ydata) > File "/usr/lib/python2.4/site-packages/matplotlib/axes.py", line=20 > 611, in format_coord > xs =3D self.format_xdata(x) > File "/usr/lib/python2.4/site-packages/matplotlib/axes.py", line=20 > 593, in format_xdata > val =3D func(x) > File "/usr/lib/python2.4/site-packages/matplotlib/ticker.py", line=20 > 152, in format_data > return self.__call__(value) > File "/usr/lib/python2.4/site-packages/matplotlib/ticker.py", line=20 > 179, in __call__ > else: return self.seq[pos] > TypeError: list indices must be integers > > Brian > > -----Original Message----- > From: mat...@li... > [mailto:mat...@li...] On Behalf Of=20 > Darren Dale > Sent: Monday, January 09, 2006 10:32 AM > To: mat...@li... > Subject: Re: [Matplotlib-users] setp/xticklabel problem > > On Monday 09 January 2006 12:02, Bowen, Brian M wrote: > > Matplotlib-users, > > > > I am stuck on a problem in trying to label the xaxis for some plots. > > I > > > > am trying to do something similar to the following: > > > > plot([1,2,3,4], [1,4,9,16]) > > labels =3D setp(gca(), 'xticklabels', ['one', 'two', 'three', = 'four']) > > set(labels, 'rotation', 'vertical') > > show() > > > > > > Once the plot is displayed, moving the mouse causes the following=20 > > stack > > trace: > > > > TypeError: list indices must be integers Traceback (most recent call > > last): > > File > > "/usr/lib/python2.4/site-packages/matplotlib/backends/backend_gtk.py > > ", > > line 188, in motion_notify_event > > FigureCanvasBase.motion_notify_event(self, x, y) > > File=20 > > "/usr/lib/python2.4/site-packages/matplotlib/backend_bases.py", > > line 797, in motion_notify_event > > func(event) > > File=20 > > "/usr/lib/python2.4/site-packages/matplotlib/backend_bases.py", > > line 1085, in mouse_move > > try: s =3D event.inaxes.format_coord(event.xdata, event.ydata) > > File "/usr/lib/python2.4/site-packages/matplotlib/axes.py", line=20 > > 611, in format_coord > > xs =3D self.format_xdata(x) > > File "/usr/lib/python2.4/site-packages/matplotlib/axes.py", line=20 > > 593, in format_xdata > > val =3D func(x) > > File "/usr/lib/python2.4/site-packages/matplotlib/ticker.py", line > > 152, in format_data > > return self.__call__(value) > > File "/usr/lib/python2.4/site-packages/matplotlib/ticker.py", line > > 178, in __call__ > > else: return self.seq[pos] > > > > > > Line 3 of the code seems to be the culprit. Does anyone have any=20 > > idea on how I might be able to workaround this? I have seen posts=20 > > describing issues that seem to be related to the same problem, but I > > have not seen a solution. > > That doesnt make any sense to me. Line 152 calls self.__call__ with=20 > only one argument, which means the pos argument is initialized to=20 > none, and an empty string should be returned. We need to know what the > value of pos is, please replace line 178 with this: > > else: > print pos > return self.seq[pos] > > and post the result. > > Darren > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files for problems? Stop! Download the new AJAX search engine that=20 > makes searching your log files as easy as surfing the web. DOWNLOAD=20 > SPLUNK! > http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files for problems? Stop! Download the new AJAX search engine that=20 > makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_idv37&alloc_id=16865&op=3DClick > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Darren S. Dale, Ph.D. Cornell High Energy Synchrotron Source Cornell University 200L Wilson Lab Rt. 366 & Pine Tree Road Ithaca, NY 14853 dd...@co... office: (607) 255-9894 fax: (607) 255-9001 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick _______________________________________________ Matplotlib-users mailing list Mat...@li... https://lists.sourceforge.net/lists/listinfo/matplotlib-users |
|
From: Darren D. <dd...@co...> - 2006-01-09 19:33:03
|
On Monday 09 January 2006 14:24, Bowen, Brian M wrote: > The value of 'pos' is 'None'. See the output: Ok, what happens if you replace line 177 with this: if (pos==None) or (pos>=len(self.seq)): return '' > pos = None > Traceback (most recent call last): > File > "/usr/lib/python2.4/site-packages/matplotlib/backends/backend_gtk.py", > line 188, in motion_notify_event > FigureCanvasBase.motion_notify_event(self, x, y) > File "/usr/lib/python2.4/site-packages/matplotlib/backend_bases.py", > line 797, in motion_notify_event > func(event) > File "/usr/lib/python2.4/site-packages/matplotlib/backend_bases.py", > line 1085, in mouse_move > try: s = event.inaxes.format_coord(event.xdata, event.ydata) > File "/usr/lib/python2.4/site-packages/matplotlib/axes.py", line 611, > in format_coord > xs = self.format_xdata(x) > File "/usr/lib/python2.4/site-packages/matplotlib/axes.py", line 593, > in format_xdata > val = func(x) > File "/usr/lib/python2.4/site-packages/matplotlib/ticker.py", line > 152, in format_data > return self.__call__(value) > File "/usr/lib/python2.4/site-packages/matplotlib/ticker.py", line > 179, in __call__ > else: return self.seq[pos] > TypeError: list indices must be integers > > Brian > > -----Original Message----- > From: mat...@li... > [mailto:mat...@li...] On Behalf Of > Darren Dale > Sent: Monday, January 09, 2006 10:32 AM > To: mat...@li... > Subject: Re: [Matplotlib-users] setp/xticklabel problem > > On Monday 09 January 2006 12:02, Bowen, Brian M wrote: > > Matplotlib-users, > > > > I am stuck on a problem in trying to label the xaxis for some plots. I > > > > am trying to do something similar to the following: > > > > plot([1,2,3,4], [1,4,9,16]) > > labels = setp(gca(), 'xticklabels', ['one', 'two', 'three', 'four']) > > set(labels, 'rotation', 'vertical') > > show() > > > > > > Once the plot is displayed, moving the mouse causes the following > > stack > > trace: > > > > TypeError: list indices must be integers Traceback (most recent call > > last): > > File > > "/usr/lib/python2.4/site-packages/matplotlib/backends/backend_gtk.py", > > line 188, in motion_notify_event > > FigureCanvasBase.motion_notify_event(self, x, y) > > File "/usr/lib/python2.4/site-packages/matplotlib/backend_bases.py", > > line 797, in motion_notify_event > > func(event) > > File "/usr/lib/python2.4/site-packages/matplotlib/backend_bases.py", > > line 1085, in mouse_move > > try: s = event.inaxes.format_coord(event.xdata, event.ydata) > > File "/usr/lib/python2.4/site-packages/matplotlib/axes.py", line > > 611, in format_coord > > xs = self.format_xdata(x) > > File "/usr/lib/python2.4/site-packages/matplotlib/axes.py", line > > 593, in format_xdata > > val = func(x) > > File "/usr/lib/python2.4/site-packages/matplotlib/ticker.py", line > > 152, in format_data > > return self.__call__(value) > > File "/usr/lib/python2.4/site-packages/matplotlib/ticker.py", line > > 178, in __call__ > > else: return self.seq[pos] > > > > > > Line 3 of the code seems to be the culprit. Does anyone have any idea > > on how I might be able to workaround this? I have seen posts > > describing issues that seem to be related to the same problem, but I > > have not seen a solution. > > That doesnt make any sense to me. Line 152 calls self.__call__ with only > one argument, which means the pos argument is initialized to none, and > an empty string should be returned. We need to know what the value of > pos is, please replace line 178 with this: > > else: > print pos > return self.seq[pos] > > and post the result. > > Darren > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files for problems? Stop! Download the new AJAX search engine that > makes searching your log files as easy as surfing the web. DOWNLOAD > SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_idv37&alloc_id865&op=Click > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- Darren S. Dale, Ph.D. Cornell High Energy Synchrotron Source Cornell University 200L Wilson Lab Rt. 366 & Pine Tree Road Ithaca, NY 14853 dd...@co... office: (607) 255-9894 fax: (607) 255-9001 |
|
From: Bowen, B. M <bm...@sa...> - 2006-01-09 19:24:56
|
The value of 'pos' is 'None'. See the output:
pos =3D None
Traceback (most recent call last):
File
"/usr/lib/python2.4/site-packages/matplotlib/backends/backend_gtk.py",
line 188, in motion_notify_event
FigureCanvasBase.motion_notify_event(self, x, y)
File "/usr/lib/python2.4/site-packages/matplotlib/backend_bases.py",
line 797, in motion_notify_event
func(event)
File "/usr/lib/python2.4/site-packages/matplotlib/backend_bases.py",
line 1085, in mouse_move
try: s =3D event.inaxes.format_coord(event.xdata, event.ydata)
File "/usr/lib/python2.4/site-packages/matplotlib/axes.py", line 611,
in format_coord
xs =3D self.format_xdata(x)
File "/usr/lib/python2.4/site-packages/matplotlib/axes.py", line 593,
in format_xdata
val =3D func(x)
File "/usr/lib/python2.4/site-packages/matplotlib/ticker.py", line
152, in format_data
return self.__call__(value)
File "/usr/lib/python2.4/site-packages/matplotlib/ticker.py", line
179, in __call__
else: return self.seq[pos]
TypeError: list indices must be integers
Brian=20
-----Original Message-----
From: mat...@li...
[mailto:mat...@li...] On Behalf Of
Darren Dale
Sent: Monday, January 09, 2006 10:32 AM
To: mat...@li...
Subject: Re: [Matplotlib-users] setp/xticklabel problem
On Monday 09 January 2006 12:02, Bowen, Brian M wrote:
> Matplotlib-users,
>
> I am stuck on a problem in trying to label the xaxis for some plots. I
> am trying to do something similar to the following:
>
> plot([1,2,3,4], [1,4,9,16])
> labels =3D setp(gca(), 'xticklabels', ['one', 'two', 'three', 'four']) =
> set(labels, 'rotation', 'vertical')
> show()
>
>
> Once the plot is displayed, moving the mouse causes the following=20
> stack
> trace:
>
> TypeError: list indices must be integers Traceback (most recent call
> last):
> File
> "/usr/lib/python2.4/site-packages/matplotlib/backends/backend_gtk.py",
> line 188, in motion_notify_event
> FigureCanvasBase.motion_notify_event(self, x, y)
> File "/usr/lib/python2.4/site-packages/matplotlib/backend_bases.py",
> line 797, in motion_notify_event
> func(event)
> File "/usr/lib/python2.4/site-packages/matplotlib/backend_bases.py",
> line 1085, in mouse_move
> try: s =3D event.inaxes.format_coord(event.xdata, event.ydata)
> File "/usr/lib/python2.4/site-packages/matplotlib/axes.py", line=20
> 611, in format_coord
> xs =3D self.format_xdata(x)
> File "/usr/lib/python2.4/site-packages/matplotlib/axes.py", line=20
> 593, in format_xdata
> val =3D func(x)
> File "/usr/lib/python2.4/site-packages/matplotlib/ticker.py", line=20
> 152, in format_data
> return self.__call__(value)
> File "/usr/lib/python2.4/site-packages/matplotlib/ticker.py", line=20
> 178, in __call__
> else: return self.seq[pos]
>
>
> Line 3 of the code seems to be the culprit. Does anyone have any idea=20
> on how I might be able to workaround this? I have seen posts=20
> describing issues that seem to be related to the same problem, but I=20
> have not seen a solution.
That doesnt make any sense to me. Line 152 calls self.__call__ with only
one argument, which means the pos argument is initialized to none, and
an empty string should be returned. We need to know what the value of
pos is, please replace line 178 with this:
else:=20
print pos
return self.seq[pos]
and post the result.
Darren
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files for problems? Stop! Download the new AJAX search engine that
makes searching your log files as easy as surfing the web. DOWNLOAD
SPLUNK!
http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick
_______________________________________________
Matplotlib-users mailing list
Mat...@li...
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
|
|
From: Ryan K. <rya...@gm...> - 2006-01-09 18:40:08
|
You can scale the PNG by setting the dpi keyword argument in savefig.=20
You can also adjust the size of a plot using the set_figsize_inches
method of the figure:
In [31]: t=3Darange(0,1,0.01)
In [32]: y=3Dsin(2*pi*t)
In [33]: temp=3Dfigure(1)
In [34]: temp.set_figsize_inches((2,10),forward=3DTrue)
In [35]: plot(t,y)
Out[35]: [<matplotlib.lines.Line2D instance at 0xb4a9196c>]
In [36]: savefig('test.png',dpi=3D50)
In [37]:
On 1/9/06, Christian Seberino <seb...@sp...> wrote:
> Is there an easy way to stretch/shrink dimensions of PNG
> generated by savefig to ANYTHING you want in addition
> to 800 x 600 pixels?
>
> e.g. can you make 704 x 1107?
> 120 x 1020?
> 4008 x 3653?
>
> Chris
>
>
>
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
>
> iQEVAwUAQ8Kh8MXAD6FzhZH3AQKESgf/TgzuvMobvVPcXqf6R3fLjtZxBB2q8qRV
> yMOMn5KSw4+R/t0ZOJ/hCB89ZJ+7gNbJtMHIu+HRdVKZvVv6Z0Aww5jjKrOaHocP
> d7LmqemMYmbaxfPrDnDo79Idyg1XCSNNkI5kml06633f5HqpvQ8rE7XlVNn+DtJY
> b25fSA2gLRukI92BSBozCbDadXmejFBd9aAG13JcxuOLwLp7ZqDbNib7KU9u6SpN
> I7xIZaNceHMWwbRqR0Op4MSRIMeAovDOjEq1kGI6piCR0mmge8ARGXwxRDxy5WZ4
> 4Z86sqG89w4nGo6r2mKwbNsvwI2xkoscECN7JttZfjZlKpnoy0t8pA=3D=3D
> =3D/rpn
> -----END PGP SIGNATURE-----
>
>
>
|
|
From: Christopher B. <Chr...@no...> - 2006-01-09 18:33:28
|
Christian Seberino wrote: > Is there an easy way to stretch/shrink dimensions of PNG > generated by savefig to ANYTHING you want in addition > to 800 x 600 pixels? Yes: http://www.scipy.org/wikis/topical_software/AdjustingImageSize -Chris -- Christopher Barker, Ph.D. Oceanographer NOAA/OR&R/HAZMAT (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception Chr...@no... |
|
From: Christian S. <seb...@sp...> - 2006-01-09 17:48:37
|
Is there an easy way to stretch/shrink dimensions of PNG
generated by savefig to ANYTHING you want in addition
to 800 x 600 pixels?
e.g. can you make 704 x 1107?=20
120 x 1020?=20
4008 x 3653?
Chris
|