On 07/14/2010 12:52 PM, Steve McFarlin wrote:
Hello,
I am trying to create a color map that maps 18 colors across 50 levels. As an
example let say I have three colors [r,g,b] and want everything between 1 an 2
to be r, 3 through 10 to be g, and 11 through 50 to be b. From what I can tell
it
On 07/16/2010 01:32 AM, K.-Michael Aye wrote:
On 2010-07-14 19:11:58 +0200, K.-Michael Aye said:
On 2010-07-14 18:51:26 +0200, K.-Michael Aye said:
On 2010-07-14 18:45:35 +0200, John Hunter said:
On Wed, Jul 14, 2010 at 11:38 AM, K.-Michael Aye
kmichael@gmail.com wrote:
Out[12]: 1
I am always looking for ways to make mpl maintenance easier, and one way
is to delete unused code. In that spirit, I am wondering:
Is anyone out there actually using the fltkagg backend?
Thanks.
Eric
--
This SF.net
On 07/19/2010 11:59 PM, K.-Michael Aye wrote:
On 2010-07-16 18:48:48 +0200, Eric Firing said:
Furthermore,
deleting images from ax.images does not free memory :
Maybe because ipython is keeping a reference to every AxesImage object
that you make...
Eric
Well, maybe, but why does
On 07/21/2010 09:11 AM, Aman Thakral wrote:
Ok, so I've fixed it. Its just because the mouse goes outside the axes.
How do I make the change in the code?
Error: line 924 in widgets.py
old code:
x,y = event.xdata, event.ydata
fixed code:
if not event.xdata is None:
x = event.xdata
On 07/22/2010 03:40 PM, j vickroy wrote:
Christopher Barker wrote:
Jim Vickroy wrote:
The attachment is a simple script that creates a 2D array of unsigned,
8-bit integers and uses matplotlib to save it as a PNG file.
Unfortunately, the PNG file is much larger than expected -- apparently
You can post-process the image with something like ImageMagick.
Another alternative is to use PIL -- you can grab the matplotlib buffer,
make a PIL image out of it, and use PIL to convert to an 8-bit palleted
image.
For that matter, you could probably bypass MPL, and use numpy to create
On 07/26/2010 10:18 AM, Benjamin Root wrote:
On Mon, Jul 26, 2010 at 3:09 PM, David Mashburn
david.n.mashb...@gmail.com mailto:david.n.mashb...@gmail.com wrote:
Hello!
My name is David Mashburn, and I have been a very happy user of
matplotlib for almost 5 years now, so let me
On 07/26/2010 10:13 AM, Nikolaus Rath wrote:
Hello,
I would like to draw a couple of contour plots. The plots are on
separate figures, but they should all have exactly the same color
mapping (i.e, the same Z value should correspond to the same color in
all plots).
What's the best way to
On 07/26/2010 12:17 PM, David Mashburn wrote:
Ben and Eric,
Thanks so much for your help!
I'm trying to turn change some of the rcParams in my script... Here is a
test of what happens:
import matplotlib
matplotlib.rcParams['keymap.fullscreen']=''
Traceback (most recent call last):
On 07/27/2010 08:14 AM, Mathew Yeates wrote:
I installed matplotlib 1.0 and now I get a different error
s=[0,0,8,8]
ys=[0,8,8,0]
verts=zip(xs,ys)
poly = PolyCollection(verts)
fails at line 587 in collections because
xy = array([0, 0]) # xy.shape = (2,)
and line 587 says xy =
On 07/27/2010 08:55 AM, Mathew Yeates wrote:
I still get the error
ValueError: arrays must have same number of dimensions
at line 587 in collections.py
I think you are not actually doing what you think you are doing, and
what was explained by Tony.
Try the attached script.
Eric
This is
On 07/27/2010 09:43 AM, Mathew Yeates wrote:
I tried
xs=[0,0,8,8]
ys=[0,8,8,0]
verts=zip(xs,ys)
poly = PolyCollection([verts])
already but it doesn't work
Yes, I saw you say that, but---did you actually try running the script I
attached?
Please run it from the command line (python
On 07/27/2010 02:31 PM, Phil Rosenfield wrote:
Hi,
I'm 6 months into learning python and haven't been able to find a way
to do this, so I hope you don't mind a basic question.
I'd like to use the polygons contour makes but I can't figure out how
to get them from ContourSet. Any examples or
On 07/28/2010 05:48 AM, Benjamin Root wrote:
On Tue, Jul 27, 2010 at 1:31 PM, Friedrich Romstedt
friedrichromst...@gmail.com mailto:friedrichromst...@gmail.com wrote:
2010/7/26 Benjamin Root ben.r...@ou.edu mailto:ben.r...@ou.edu:
After some reading of sphinx documentation, it
On 07/29/2010 05:52 AM, bobnojio wrote:
I am trying to figure out how to set 'buffers' or something of the sort on my
matplotlib plots, so that my first and last data points are not centered
exactly on the left and right border of the axis.
my Y axis does this just fine (integer data), but my
On 08/01/2010 04:55 AM, Tom Arens wrote:
Hello everyone,
does anybody know why the contour3D function has a fixed set of levels?
contour3D(X, Y, Z, levels=10, **kwargs)
I want to plot only one line for one level. With contourf it works:
from mpl_toolkits.mplot3d import axes3d
import
On 08/01/2010 07:35 AM, Benjamin Root wrote:
On Sun, Aug 1, 2010 at 9:55 AM, Tom Arens tak...@gmx.de
mailto:tak...@gmx.de wrote:
Hello everyone,
does anybody know why the contour3D function has a fixed set of levels?
contour3D(X, Y, Z, levels=10, **kwargs)
I want to plot
On 08/04/2010 06:19 AM, John Hunter wrote:
On Wed, Aug 4, 2010 at 11:07 AM, Tommy Gravtg...@mac.com wrote:
A rather simple question, but I could not find the
answer while rummaging around on the matplotlib
webpages. Is there a way to increase the size of
the tick label sizes from say
On 08/05/2010 10:54 PM, Jorge Scandaliaris wrote:
Hi,
Looking for a way to analyze a set of images I found waitforbuttonpress, which
basically does what I need: allows me to display a few plots/scatter/etc for
as
long as I need; then when pressing a key move to the next image and redo all
On 08/07/2010 11:44 AM, Jorge Scandaliaris wrote:
Eric Firingefir...@... writes:
Running mpl from svn, with gtkagg backend, on ubuntu, but with ipython
0.11alpha1, I can't reproduce the problem; your example works for me. I
suspect the difference is that ipython 0.11 uses a non-threaded
On 08/10/2010 09:10 AM, Christoph Gohlke wrote:
On 8/10/2010 11:53 AM, stetrick wrote:
Should probably indicate that it is the MKV versions
stetrick wrote:
Christoph Gohlke wrote:
On 8/9/2010 3:09 PM, stetrick wrote:
I am now getting a message that says:
Fatal Python error:
On 08/10/2010 05:43 PM, Ryan Krauss wrote:
I just upgraded my windows machine to matplotlib 1.0.0 and a simple
script such as
from pylab import *
from scipy import *
t = arange(0,1,0.01)
y = sin(2*pi*t)
figure(1)
clf()
plot(t,y)
show()
Now halts execution when run from the ipython
On 08/11/2010 08:54 AM, Friedrich Romstedt wrote:
2010/8/11 tgabrieltravisgabri...@gmail.com:
I would like to have the colorbar displaying the same color scaling
regardless of the data input.
This /should/ be feasible with .contourf(.., vmin=VMIN, vmax=VMAX),
but from the doc this isn't
On 08/14/2010 04:47 AM, Daπid wrote:
Hello.
I have had an issue trying to plot an histogram with Matplotlib. The line is:
plt.hist([SNIa.angles, SNIbc.angles, SNII.angles], 11, range=[-pi, pi],
normed=True,histtype='stepfilled',color=['g', 'r',
'b'],alpha=[1, 0.6, 1])
The problem
On 08/16/2010 06:44 AM, Toby Burnett wrote:
It is good to know that both issues have been recognized and addressed.
I searched the bug list and I guess failed to use the right keyword, or
just didn’t recognize the title.
However, I am not in need of help, and certainly would not do a complete
On 08/19/2010 01:20 PM, Benjamin Root wrote:
On Thu, Aug 19, 2010 at 5:05 PM, Bala subramanian
bala.biophys...@gmail.com mailto:bala.biophys...@gmail.com wrote:
Friends,
I would like to place grid lines (precisely draw lines) at specific
(x,y) coordinates. If i am not wrong,
On 08/20/2010 05:24 AM, Benjamin Root wrote:
On Fri, Aug 20, 2010 at 10:12 AM, Ryan May rma...@gmail.com
mailto:rma...@gmail.com wrote:
On Fri, Aug 20, 2010 at 9:41 AM, Benjamin Root ben.r...@ou.edu
mailto:ben.r...@ou.edu wrote:
One possibility for this behavior might be that
On 08/20/2010 12:38 AM, Patricia wrote:
Hi all,
I start using matplotlib a month ago, so I'm still learning.
I'm trying to do a heatmap with matshow. My code is the following:
data = numpy.array(a).reshape(4, 4)
cax = ax.matshow(data, interpolation='nearest', cmap=cm.get_cmap('PuBu'),
On 08/20/2010 05:29 AM, Bruce Ford wrote:
I have a grid with values ranging from exactly 0.0 and 100.0. When I
plot this with colorbar, the base of the colorbar is labeled -0.0.
Is this a default for 0.0...to plot it with as a negative number? Any
workarounds?
Would you provide a minimal
On 08/20/2010 10:14 AM, Bruce Ford wrote:
This effect is happening within an web app that displays gridded
fields from multiple datasets (~4500 lines of code). So I it's tricky
to create an example. Although if I use numpy.min(grid) the minimum
is 0. So, I think colorbar or matplotlib is
On 08/20/2010 10:51 AM, Bruce Ford wrote:
Thanks I'll give this a try. numpy.min(grid) reports 0.0 (no
negative) yet it labels as -0.0, BTW, but let me give this a try.
Bruce,
What matters is not min(grid), but the value of the tick. Unless you are
forcing them to be the same via a kwarg
On 08/20/2010 12:18 PM, Joe Kington wrote:
Hi,
I've recently noticed that setting the y-tick locations on an image plot
changes the y-axis limits, while changing the x-tick locations does not
change the x-axis limits. I wouldn't have expected either to change the
axis limits, but it seems
On 08/20/2010 12:18 PM, Joe Kington wrote:
Hi,
I've recently noticed that setting the y-tick locations on an image plot
changes the y-axis limits, while changing the x-tick locations does not
change the x-axis limits. I wouldn't have expected either to change the
axis limits, but it seems
On 08/22/2010 04:51 AM, Daπid wrote:
On Sat, Aug 14, 2010 at 10:19 PM, Eric Firingefir...@hawaii.edu wrote:
The problem is that the alpha kwarg can never be other than a scalar
in mpl at present, as far as I know. The error message from to_rgba was
intended to be informative, but in this
On 08/26/2010 05:49 AM, Benjamin Root wrote:
On Thu, Aug 26, 2010 at 9:39 AM, Daπid davidmen...@gmail.com
mailto:davidmen...@gmail.com wrote:
Image Magick and Inkscape seem to work for this. Probably the first
one is easier to automatize in batch processing.
Quick warning about
On 08/27/2010 07:15 AM, Ryan May wrote:
On Thu, Aug 26, 2010 at 2:24 PM, Ben Edwardsbedwa...@cs.unm.edu wrote:
Hello, I've used matplotlib for a while but never had cause to ask a
question until now. I am trying to add a patch to an axis, but would like
the patch to remain the same size when,
On 08/27/2010 05:43 PM, Benjamin Root wrote:
On Fri, Aug 27, 2010 at 10:17 PM, Chiara Caronna
chiaracaro...@hotmail.com mailto:chiaracaro...@hotmail.com wrote:
Ok, it is a backend issue:
I checked and I was using Qt4Agg
as soon as I changed to TkAgg the script worked fine...
On 08/27/2010 05:17 PM, Chiara Caronna wrote:
Ok, it is a backend issue:
I checked and I was using Qt4Agg
as soon as I changed to TkAgg the script worked fine...
still is this normal or is it a bug?
thanks for your suggestion and help!
Chiara,
As a workaround for Qt4Agg, you can follow
On 08/28/2010 06:40 PM, xyz wrote:
Hello,
If I use autoscale_view than:
* plt.text appears outside x and y coordinates
* and the coordinates starts do not from 0 whereas I use ax.set_xlim(0)
and ax.set_ylim(0)
What did I wrong?
The call to autoscale_view overrides the earlier calls to
Mike,
Using svn trunk, I see exactly the problem Jens is talking about. Maybe
there is still a bug in the path simplification? If I try to plot after
turning simplification off, I don't get any image at all, so I can't
immediately say whether the problem is in the simplification.
To
On 09/02/2010 07:47 PM, Noam Yorav-Raphael wrote:
Hello,
I'm the developer of DreamPie, a new graphical Python shell (you can
check it out at http://dreampie.sourceforge.net )
I worked to make it work nicely with matplotlib -- it runs Tk/GTK/Qt
event loops when idle, so if matplotlib is in
On 09/07/2010 07:33 PM, Philippe Crave wrote:
hi,
sorry to bring this up again.
style haven't found how to draw my plot faster than
self.fig.canvas.draw(), after a set_data()
If you need to change the scale of the plot when you update the data,
then I don't see any alternative to redoing
On 09/10/2010 10:54 AM, Brian Larsen wrote:
Hello all,
I feel like this is possible but I am having trouble figuring it out.
I want to put extra labels on the ticks on the xaxis like in the upper
panel of the figure
http://sprg.ssl.berkeley.edu/fast/graphics/socfig1.gif
Following
On 09/11/2010 11:12 AM, freekk wrote:
Im trying to do a very simple x vs y plot. Where the x values range between
3247 and 3256 and y between 0 and 1. This data is stored in data.dat. I plot
it using the code below, the resulting plot is shown in the first of the two
plots below.
On 09/13/2010 12:08 PM, Virgil Stokes wrote:
On 2010-09-13 21:55, Benjamin Root wrote:
On Mon, Sep 13, 2010 at 2:38 PM, Virgil Stokes v...@it.uu.se
mailto:v...@it.uu.se wrote:
I have tried to produce a very simple plot with my recent
installation of matplotlib (1.0.0 64-bit) and
On 09/13/2010 04:46 PM, jules hummon wrote:
Virgil
The scheme illustrated below actually does work.
Message: 5
Date: Mon, 13 Sep 2010 12:55:43 -1000
From: Eric Firingefir...@hawaii.edu
Subject: Re: [Matplotlib-users] matplotlib on Ubuntu 10.04 (64-bit)
To:
On 09/13/2010 12:55 PM, Eric Firing wrote:
If you would like up-to-date versions of both numpy and matplotlib, then
you can either find and install the *dev packages individually, or do
something like this:
sudo apt-get build-dep python-matplotlib
sudo apt-get remove python
No! I meant
On 09/14/2010 01:36 PM, Dan Kortschak wrote:
Hello,
I just tried to have just tried to build matplotlib, but it fails - and
is unable to find wxPython (looking under 2.8 rather than 2.6 where is
lives - installed from source) or libgtk-2 headers (installed from apt
repo).
Can anyone
On 09/15/2010 03:50 AM, Benjamin Root wrote:
On Wed, Sep 15, 2010 at 5:34 AM, Dan Kortschak
dan.kortsc...@adelaide.edu.au mailto:dan.kortsc...@adelaide.edu.au
wrote:
I've just has a look at that and unfortunately it does not fix the
problem
Is there any other suggestion that
On 09/15/2010 04:55 AM, Benjamin Root wrote:
On Tue, Sep 14, 2010 at 11:12 AM, Jan Skowron jan.skow...@gmail.com
mailto:jan.skow...@gmail.com wrote:
Hi,
apropos this offset discussion.
matplotlib makes offsets not aligned to the full tens or some other
easy number with small
On 09/15/2010 08:25 AM, Benjamin Root wrote:
On Wed, Sep 15, 2010 at 12:37 PM, Eric Firing efir...@hawaii.edu
mailto:efir...@hawaii.edu wrote:
On 09/15/2010 04:55 AM, Benjamin Root wrote:
On Tue, Sep 14, 2010 at 11:12 AM, Jan Skowron
jan.skow...@gmail.com mailto:jan.skow
On 09/15/2010 01:17 PM, Dan Kortschak wrote:
That fixes the problem.
thanks
On Wed, 2010-09-15 at 07:30 -1000, Eric Firing wrote:
Looking again at the original build output, and at setup.py and
setupext.py, it appears that there is a bug in the latter. If the wrong
version of wx is found
On 09/22/2010 10:11 AM, Russell Owen wrote:
On Sep 22, 2010, at 11:16 AM, Benjamin Root wrote:
On Wed, Sep 22, 2010 at 12:04 PM, Russell E. Owen ro...@uw.edu
mailto:ro...@uw.edu wrote:
In article 4c935c08.1000...@gmail.com
mailto:4c935c08.1000...@gmail.com,
Alan G Isaac
On 09/26/2010 09:43 PM, Fernando Perez wrote:
Mmh,
On Sun, Sep 26, 2010 at 10:56 PM, Jae-Joon Leelee.j.j...@gmail.com wrote:
Did you try autoscale_view method?
http://matplotlib.sourceforge.net/api/axes_api.html?highlight=autoscale#matplotlib.axes.Axes.autoscale_view
Please post a sample
On 09/30/2010 08:28 AM, Joey Richards wrote:
When I use the errorbar() routine to plot data, unless I set hold=True as a
kwarg (or set it globally), the data are plotted without the errorbars. I
believe it is because the routine first plots the error bars, then overplots
the data points
On 10/05/2010 01:00 PM, Jorge Scandaliaris wrote:
Hi,
Today I tried to run some code in my new notebook, but I only got blank
figures
and high CPU usage as a result. This code did run on my previous laptop. I can
reproduce this behavior with the following code at the bottom of this message.
On 10/06/2010 06:18 PM, Collin Day wrote:
I have googled around and looked through the documents, but I can't
seem to find a description of the difference between running a script
inside and outside ipython (using ipython --pylab). For example, I
tried doing the following in a script and made
On 10/07/2010 07:11 PM, Åke Kullenberg wrote:
I am using Python 2.7 and Matplotlib 1.0.0 and I am having problems
getting events triggering in this example below. I have taken the
draggable rectangle example (with blit) code from the event handling
documentation
On 10/18/2010 09:42 AM, Gökhan Sever wrote:
On Mon, Oct 18, 2010 at 12:46 PM, Ted Kordteddy.k...@gmail.com wrote:
Hi
How do I make the tick size bigger as in thicker/bolder?
matplotlib.rc('ytick.major', size=5) makes it longer but 'not' thicker.
Ted
I[1]: plt.plot(range(100))
O[1]:
On 10/19/2010 05:44 AM, vaishu wrote:
Hey guys,
I am a new user to the python matplotlib, this might be a simple question
but I searched the internet for hours and couldn't find a solution for this.
I am plotting precipitation data from which is in the NetCDF format. What I
find weird is
On 10/20/2010 11:41 PM, Alexander Dietz wrote:
Hi,
I am generating a scatter plot with a colorbar, and want to pass on the
colorbar to some function to do something with it, like
plt.scatter(px, py, c=pz, ...)
cb = plt.colorbar()
foo(cb)
My question: How can I extract the range of the
On 10/26/2010 04:50 AM, Maarten Sneep wrote:
Hi,
I did solve my own question. For posterity, and perhaps for a more
elegant solution, I post my solution here.
On Tue, 2010-10-26 at 10:56 +0200, Maarten Sneep wrote:
I have an image with cloud pressures, 1000 at the surface, 200 at the
top
I don't know if there are any strict requirement on monotonicity for X
and Y, or if there are any cases where the plot is still valid even if
that property is violated. If it is a requirement, then I agree that
there should be a check.
For sensible output, it is a requirement. Contour and
On 11/02/2010 04:39 AM, Alan G Isaac wrote:
On 11/2/2010 10:06 AM, Benjamin Root wrote:
I have personally seen significant progress in this area, but there are a few
backends that aren't quite right (MacOSX backend, I believe?).
I believe multiple uses of ``show`` fail and are expected to
On 11/02/2010 03:18 PM, Jae-Joon Lee wrote:
A quick (and not safe) way w/ mpl v1.0 is,
ax = plt.subplot(111)
ax.plot(np.arange(3))
ax.set_xticks([0, 0.5, 1., 1.5, 2.])
mytick = ax.xaxis.majorTicks[2]
mytick._apply_params(tickdir=out)
I don't think there is a way
On 11/03/2010 09:01 AM, jgamble wrote:
Hi all,
I'm trying to visualize some data using countourf in pyplot, and I am having
a bit of trouble. For some reason, the y axis does not scale properly, and
an ugly white bar appears where there are no pixels to plot (see
screenshot). Ideally, I
On 11/13/2010 06:16 AM, Michiel de Hoon wrote:
--- On Sat, 11/13/10, John Hunterjdh2...@gmail.com wrote:
Ie if we have a script like
# some plotting commands
...
# some expensive non GUI computation
...
# some update to plot above
...
Would we not run the risk that
On 11/17/2010 07:35 AM, Ognjen Ilic wrote:
Hello all,
I posted about this problem on another forum (with an image attachment)
http://python-forum.org/pythonforum/viewtopic.php?f=18t=21951p=99290#p99290
In the figure below white space that forms a trapezoid to the right
(slope then constant)
On 11/17/2010 01:28 PM, Ognjen Ilic wrote:
Thanks for the help. However, when I change the matplotlibrc file I
get the following message
Bad key path.simplify on line 267 in
/HOME/.matplotlib/matplotlibrc.
You probably need to get an updated matplotlibrc file from
On 11/20/2010 09:05 PM, Garry Willgoose wrote:
I want to control the ratio of the size of the x and y axes of contour/
contourf() plot (in the same way that 'aspect' lets me control
imgshow()). Is there any way to do this?
Yes, use the set_aspect() method of the Axes object:
On 11/21/2010 11:21 AM, Tommy Grav wrote:
I have two questions:
1. Is there a way to increase the line width of the axes? I have figured out
how to do it
with the tick marks, but not the axes themselves.
for s in ax.spines.values():
s.set_linewidth(5)
2. When adding a label to
On 11/22/2010 06:15 AM, Benjamin Root wrote:
On Fri, Nov 19, 2010 at 3:14 PM, Caleb Constantine
cadamant...@gmail.com mailto:cadamant...@gmail.com wrote:
On Thu, Nov 18, 2010 at 4:50 PM, Benjamin Root ben.r...@ou.edu
mailto:ben.r...@ou.edu wrote:
Caleb,
On 01/02/2011 05:40 PM, Tom K. wrote:
[...]
FOURIER DEMO - PROBLEM AND FIX IN lines.py
Next I tried my wx-based gui http://wiki.wxpython.org/MatplotlibFourierDemo.
It raised assertions in lines.py, particularly the part where it tries to
access
path, affine =
On 01/12/2011 06:58 AM, Benjamin Root wrote:
On Wed, Jan 12, 2011 at 2:28 AM, Daniel Mader
danielstefanma...@googlemail.com
mailto:danielstefanma...@googlemail.com wrote:
Hi,
the same happens with regular colorbars, too. Me, too, I didn't
always have this issue but I can't tell
On 01/12/2011 07:11 AM, Hannes Kutza wrote:
Because of import- and compatibility issues I build everything from
scetch some days ago. Now i only have one Python (2.7.1) installation
and only one matplotlib version (1.0.1). In the
On 01/13/2011 01:40 PM, Daniel Mader wrote:
Hi,
I am trying to plot a set of simulation results of FEM simulations.
With a lot of help from Ben I can plot the deformed shape quite nicely
but I have trouble in applying a colorbar to the plot.
In the attached file there are three results with
On 01/14/2011 02:02 AM, Daniel Mader wrote:
Hi Eric,
thanks for your feedback, it helped a lot! I have some questions left,
see below.
2011/1/14 Eric Firingefir...@hawaii.edu:
Quick thoughts with no testing or concrete examples:
1) Don't set the cmap or norm for the colorbar; let it inherit
On 01/15/2011 09:35 AM, Daniel Mader wrote:
Hi,
for my thesis I have a large number of plots generated
by--again--a laaarge number of Python scripts.
Now I need a moderate font size for all of them for the thesis while
for a presentation and poster it needs to be much bigger.
In
On 01/17/2011 05:42 AM, Bala subramanian wrote:
Friends,
I have created a figure (with two rows and two columns) and i drew four
contourf plots (A,B,C,D etc). All the four contourf has the same
coloring and bounds. I do not want to draw a colorbar() for each of the
plots separately but only
On 01/17/2011 10:24 PM, sprobst wrote:
Hi all,
I want to make a contout plot with a slider element. But I am not sure if it
is possible at all and if it is possible how.
With contouring, you have to simply remake the ContourSet (that is,
re-run contour) with any change to the data being
On 01/22/2011 05:16 PM, Paul Ivanov wrote:
Paul Ivanov, on 2011-01-22 18:28, wrote:
Ilya Shlyakhter, on 2011-01-22 19:06, wrote:
Is it possible to create a break in the y-axis so that it has ticks
for value 0-.2, then ticks for values .8-1.0, but devotes only a token
amount of space to the
On 01/23/2011 11:46 PM, Paul Ivanov wrote:
[...]
Done in r8935, see examples/pylab_examples/broken_axis.py
Thank you.
I documented the above, used deterministic fake data, as Eric
suggested, and added the diagonal cut lines that usually
accompany a broken axis. Here's the tail end of the
On 01/24/2011 02:49 PM, Lionel (Lee) Brooks 3rd wrote:
Hello Gentlepeople,
I am plotting an integer array using: matplotlib.pyplot.plot().
For my purposes it is imperative that the x-axis be explicitly defined.
I have tried to achieve this by using: matplotlib.pyplot.axis(v).
Where v is a
On 01/25/2011 06:58 PM, Shrividya Ravi wrote:
[...]
On the same topic of the colorbar, how can I readjust the colors such
that it only goes between user-specified values? For example, I have one
imshow plot where the values range between 0 and 350. However, I only
want to look at the values
On 01/25/2011 08:51 PM, Paul Ivanov wrote:
Eric Firing, on 2011-01-25 19:52, wrote:
On 01/25/2011 06:58 PM, Shrividya Ravi wrote:
[...]
On the same topic of the colorbar, how can I readjust the colors such
that it only goes between user-specified values? For example, I have one
imshow plot
On 01/27/2011 09:21 AM, Daniel Fulger wrote:
Dear all,
contourset = pyplot.contour(..)
calculates the contourset but also grabs whatever figure is currently
active *somewhere* in the entire code
and whichever scope it was created. The contours are plotted into it.
While I could possibly
On 02/01/2011 02:18 PM, Benjamin Root wrote:
On Tue, Feb 1, 2011 at 6:05 PM, Jeremy Conlin jlcon...@gmail.com
mailto:jlcon...@gmail.com wrote:
On Tue, Feb 1, 2011 at 5:00 PM, Benjamin Root ben.r...@ou.edu
mailto:ben.r...@ou.edu wrote:
On Tue, Feb 1, 2011 at 5:48
On 02/02/2011 03:08 PM, Robert Abiad wrote:
On 2/2/2011 3:59 PM, Christoph Gohlke wrote:
On 2/2/2011 3:33 PM, Robert Abiad wrote:
Hello All,
I'm very new to python, so bear with me.
I'd like to use python to do my image processing, but I'm running into
behavior that doesn't make
sense to
On 02/02/2011 08:38 PM, Robert Abiad wrote:
[...]
I'll put it in as an enhancement, but I'm still unsure if there is a bug in
there as well. Is there something I should be doing to clear memory after the
first figure is closed other than close()? I don't understand why memory usage
grows
On 02/02/2011 10:17 PM, Eric Firing wrote:
On 02/02/2011 08:38 PM, Robert Abiad wrote:
[...]
I'll put it in as an enhancement, but I'm still unsure if there is a
bug in
there as well. Is there something I should be doing to clear memory
after the
first figure is closed other than close
On 02/03/2011 11:30 AM, Robert Abiad wrote:
On 2/3/2011 10:06 AM, Eric Firing wrote:
On 02/02/2011 10:17 PM, Eric Firing wrote:
On 02/02/2011 08:38 PM, Robert Abiad wrote:
[...]
I'll put it in as an enhancement, but I'm still unsure if there is a
bug in
there as well. Is there something I
On 02/03/2011 12:28 PM, Christoph Gohlke wrote:
On 2/3/2011 2:15 PM, Eric Firing wrote:
On 02/03/2011 11:30 AM, Robert Abiad wrote:
On 2/3/2011 10:06 AM, Eric Firing wrote:
On 02/02/2011 10:17 PM, Eric Firing wrote:
On 02/02/2011 08:38 PM, Robert Abiad wrote:
[...]
I'll put
On 02/03/2011 01:02 PM, Christoph Gohlke wrote:
On 2/3/2011 2:44 PM, Eric Firing wrote:
On 02/03/2011 12:28 PM, Christoph Gohlke wrote:
On 2/3/2011 2:15 PM, Eric Firing wrote:
On 02/03/2011 11:30 AM, Robert Abiad wrote:
On 2/3/2011 10:06 AM, Eric Firing wrote:
On 02/02/2011 10:17 PM
On 02/03/2011 03:04 PM, Benjamin Root wrote:
Also, not to sound too annoying, but has anyone considered the idea of
using compressed arrays for holding those rgba values?
I don't see how that really helps; as far as I know, a full rgba array
has to be passed into agg. What *does* help is
On 02/03/2011 05:35 PM, Christoph Gohlke wrote:
On 2/3/2011 6:50 PM, Eric Firing wrote:
On 02/03/2011 03:04 PM, Benjamin Root wrote:
Also, not to sound too annoying, but has anyone considered the idea of
using compressed arrays for holding those rgba values?
I don't see how that really
On 02/04/2011 10:28 AM, Christoph Gohlke wrote:
On 2/4/2011 11:54 AM, Eric Firing wrote:
On 02/03/2011 05:35 PM, Christoph Gohlke wrote:
On 2/3/2011 6:50 PM, Eric Firing wrote:
On 02/03/2011 03:04 PM, Benjamin Root wrote:
Also, not to sound too annoying, but has anyone considered
On 02/04/2011 11:33 AM, Eric Firing wrote:
On 02/04/2011 10:28 AM, Christoph Gohlke wrote:
On 2/4/2011 11:54 AM, Eric Firing wrote:
On 02/03/2011 05:35 PM, Christoph Gohlke wrote:
On 2/3/2011 6:50 PM, Eric Firing wrote:
On 02/03/2011 03:04 PM, Benjamin Root wrote:
Also, not to sound too
On 02/04/2011 12:33 PM, Christoph Gohlke wrote:
On 2/4/2011 2:14 PM, Eric Firing wrote:
On 02/04/2011 11:33 AM, Eric Firing wrote:
On 02/04/2011 10:28 AM, Christoph Gohlke wrote:
On 2/4/2011 11:54 AM, Eric Firing wrote:
On 02/03/2011 05:35 PM, Christoph Gohlke wrote:
On 2/3/2011 6:50
On 02/04/2011 02:03 PM, Christoph Gohlke wrote:
[...]
How about these changes to color.py (attached). This avoids copies, uses
in-place operations, and calculates single precision when normalizing
small integer and float32 arrays. Similar could be done for LogNorm. Do
masked arrays support
801 - 900 of 1297 matches
Mail list logo