Hi Chaitanya (and everyone else),
thanks for some nice advice! The font and legend frame tips worked
quite well.
I would appreciate it if it was possible to remove the legend frame by
default, i.e. in the matplotlibrc file, if possible. In my opinion,
this frame clutters the plot
When I started using PyQt and matplotlib, I look at these 2 examples:
http://eli.thegreenplace.net/2009/01/20/matplotlib-with-pyqt-guis/
http://matplotlib.sourceforge.net/examples/user_interfaces/embedding_in_qt4.html
Regards,
Christophe
-Original Message-
From: projetmbc
That's great, Pierre. Merci.
Christophe
-Original Message-
From: Pierre Raybaut [mailto:cont...@pythonxy.com]
Sent: 04 June 2009 18:36
To: matplotlib-users@lists.sourceforge.net
Subject: Re: [Matplotlib-users] matplotlib and qtdesigner
matplotlib-users-requ...@lists.sourceforge.net a
Hi All,
i try to get a colorbar to work with:
if not hasattr(self, 'subplot3'):
self.subplot3 = self.figure.add_subplot(111)
self.subplot3.grid(True)
x,y,z = self.computehistogramm(min,min+self.maxitems)
X,Y = meshgrid(x,y)
plot =
On Fri, Jun 5, 2009 at 4:56 AM, Paul Anton
Letnespaul.anton.let...@gmail.com wrote:
Hi Chaitanya (and everyone else),
thanks for some nice advice! The font and legend frame tips worked
quite well.
I would appreciate it if it was possible to remove the legend frame by
default, i.e. in the
I have 2 float arrays of the same dimension which I use to generate a
3rd array, again of the same dimension, containing integers from a small
set (I obtain the 3rd array via clustering in the 2 dimensional space of
points obtained as values from the same location in the initial 2
arrays).
On Thu, Jun 4, 2009 at 5:33 PM, Sandro Tosi matrixh...@gmail.com wrote:
Hi,
On Thu, Jun 4, 2009 at 23:26, citronade ricit...@mac.com wrote:
I am trying to set the x and y axis range on a log-log plot. The ranges I
give are automatically adjusted to the nearest power of 10, but I would like
On Thu, Jun 4, 2009 at 6:38 PM, Karl Youngkarl.yo...@ucsf.edu wrote:
I have 2 float arrays of the same dimension which I use to generate a
3rd array, again of the same dimension, containing integers from a small
set (I obtain the 3rd array via clustering in the 2 dimensional space of
points
On Thu, Jun 4, 2009 at 12:16 PM, Jae-Joon Leelee.j.j...@gmail.com wrote:
I hope the code below gives you some idea.
def Tc(Tf): return (5./9.)*(Tf-32)
ax1 = subplot(111) # y-axis in F
ax2 = twinx() # y-axis in C
def update_ax2(ax1):
y1, y2 = ax1.get_ylim()
ax2.set_ylim(Tc(y1),
Hi,
The matplotlib.collections.Collection documentation reads: All properties in a
collection must be sequences or scalars; if scalars, they will be converted to
sequences. The property of the ith element of the collection is: prop[i %
len(props)]. I had a look at the docstring documentation
Alan G Isaac alan.is...@... writes:
snip
That's all, as long as you don't mind destroying
the Window manually. (Otherwise, you need just
a couple more lines.)
Thanks, I'll give this a try.
Jorge
--
OpenSolaris
Thanks for the tip and sorry I didn't include a complete code snippet; the
current code involves images (scipy.ndimage) and clustering code and I thought
that was a little too much too include; I'll try to extract something simpler.
I guess the main question is how to use a set of integers to
John Hunter wrote:
On Thu, Jun 4, 2009 at 12:16 PM, Jae-Joon Leelee.j.j...@gmail.com wrote:
I hope the code below gives you some idea.
def Tc(Tf): return (5./9.)*(Tf-32)
ax1 = subplot(111) # y-axis in F
ax2 = twinx() # y-axis in C
def update_ax2(ax1):
y1, y2 = ax1.get_ylim()
On Fri, Jun 5, 2009 at 11:44 AM, Andrew Strawstraw...@astraw.com wrote:
I think this would be a good direction, as well. It would also allow
disabling the tick mark labels in some axes that share the same axis --
because the ticks/labels would belong to the spine, which itself
wouldn't
Markus Feldmann wrote:
Hi All,
i try to get a colorbar to work with:
if not hasattr(self, 'subplot3'):
self.subplot3 = self.figure.add_subplot(111)
self.subplot3.grid(True)
x,y,z = self.computehistogramm(min,min+self.maxitems)
X,Y =
Young, Karl wrote:
Thanks for the tip and sorry I didn't include a complete code
snippet; the current code involves images (scipy.ndimage) and
clustering code and I thought that was a little too much too include;
I'll try to extract something simpler. I guess the main question is
how to use a
Hi Eric,
Thanks much - I'll try that.
From: Eric Firing [efir...@hawaii.edu]
Sent: Friday, June 05, 2009 10:43 AM
To: Young, Karl
Cc: John Hunter; matplotlib-users@lists.sourceforge.net
Subject: Re: [Matplotlib-users] consistent colors between imshow and
Hi,
A quick (probably easy) question: how do you do a label in two lines and
with both lines centered?
xlabel('first line \n second line') don't center both :(
best,
-Yva.
--
OpenSolaris 2009.06 is a cutting edge
On Fri, Jun 5, 2009 at 2:32 PM, Yves-Alexandre yvesalexan...@hotmail.comwrote:
Hi,
A quick (probably easy) question: how do you do a label in two lines and
with both lines centered?
xlabel('first line \n second line') don't center both :(
Try removing the spaces, that makes it look good
Hi,
I sometimes create matplotlib plots without any labels on them -figures
only. Then I add appropriate titles and/or labels using either MS Word or OO
Writer.
A few times used GIMP too to add additional texts. When I can't easily
figure out things in matplotlib this method turns out helpful to
hmmm... in response to John's earlier request I cobbled a simple example
but that seems to work; either there's a strange error in the more
complex version or my misunderstanding of color maps is messing with me.
Anyway, for the record, here's an example of what I want to do (that
actually
John,
These ideas have been part of motivation behind my axes_grid toolkit.
In the module documentation of
lib/mpl_toolkits/axes_grid/axislines.py, I tried to briefly explain
what I wanted and what I implemented, although the explanation is very
far from complete (also some examples are found in
22 matches
Mail list logo