Have a closer look at the example I gave.
The currently released version of matplotlib doesn't support PySide at
all. So I cheated and simply drew to the generic Agg backend and then
copied the whole figure (gcf = get current figure) into a PySide QImage
object at the end. The QImage can
There could be a few ways. What I recommend as a matter of fact is to
use other method to draw gridlines. On the other hand, given that you
have a working example, it could be better to have different axis to
draw ticklabels in locations where you want. Here is a diff.
Regards,
-JJ
***
Hello List,
I am trying to use the pylab.contourf(X,Y,Z,100) function but I would like
to mplot a 1 dimensional heatmap instead of a 2 dimensional heatmap, Perhaps
contourf is not the solution but I do like these plots.
Any suggestions?
TIA
On Wed, Jul 20, 2011 at 12:15 PM, Pete Shepard peter.shep...@gmail.comwrote:
Hello List,
I am trying to use the pylab.contourf(X,Y,Z,100) function but I would like
to mplot a 1 dimensional heatmap instead of a 2 dimensional heatmap, Perhaps
contourf is not the solution but I do like these
hi there,
I would like to draw a a set of lines on top of an image.
Somehow I do not get the result I want
these are the points ((267, 140), (380, 773), (267, 958))
one of my divers atempts is:
pic = plt.imread('../hlwd/effizienz_balken_01.jpg')
pic = np.fliplr(np.rot90(pic, k=2))
Sorry, this is super-simple, but I'm lost in the whole
locator/formatter part of the docs.
How can I make a locator that just places a tick at every multiple of
0.5 around the data? So the y axis would look like:
3.5 --
3.0 --
2.5 --
2.0 --
1.5 --
1.0 --
etc.
Thanks,
Che
-Original Message-
From: C M [mailto:cmpyt...@gmail.com]
Sorry, this is super-simple, but I'm lost in the whole
locator/formatter part of the docs.
How can I make a locator that just places a tick at every multiple of
0.5 around the data? So the y axis would look like:
3.5 --
3.0 --
On Wed, Jul 20, 2011 at 7:24 PM, Buchholz, Greg
gbuchh...@infiniacorp.com wrote:
-Original Message-
From: C M [mailto:cmpyt...@gmail.com]
Sorry, this is super-simple, but I'm lost in the whole
locator/formatter part of the docs.
How can I make a locator that just places a tick at every
On Wed, Jul 20, 2011 at 5:41 PM, C M cmpyt...@gmail.com wrote:
On Wed, Jul 20, 2011 at 7:24 PM, Buchholz, Greg
gbuchh...@infiniacorp.com wrote:
-Original Message-
From: C M [mailto:cmpyt...@gmail.com]
Sorry, this is super-simple, but I'm lost in the whole
locator/formatter part of
On Wed, Jul 20, 2011 at 7:56 PM, Gökhan Sever gokhanse...@gmail.com wrote:
On Wed, Jul 20, 2011 at 5:41 PM, C M cmpyt...@gmail.com wrote:
On Wed, Jul 20, 2011 at 7:24 PM, Buchholz, Greg
gbuchh...@infiniacorp.com wrote:
-Original Message-
From: C M [mailto:cmpyt...@gmail.com]
On Wed, Jul 20, 2011 at 7:17 PM, C M cmpyt...@gmail.com wrote:
On Wed, Jul 20, 2011 at 7:56 PM, Gökhan Sever gokhanse...@gmail.com
wrote:
On Wed, Jul 20, 2011 at 5:41 PM, C M cmpyt...@gmail.com wrote:
On Wed, Jul 20, 2011 at 7:24 PM, Buchholz, Greg
gbuchh...@infiniacorp.com wrote:
On 07/20/2011 03:17 PM, C M wrote:
On Wed, Jul 20, 2011 at 7:56 PM, Gökhan Severgokhanse...@gmail.com wrote:
On Wed, Jul 20, 2011 at 5:41 PM, C Mcmpyt...@gmail.com wrote:
On Wed, Jul 20, 2011 at 7:24 PM, Buchholz, Greg
gbuchh...@infiniacorp.com wrote:
-Original Message-
From: C
The version of PySide doesn't really matter so long as it is reasonably
new. You need a newer version of Matplotlib and yes, the Github master
is newer than the current release.
Gerald.
On 20/07/2011 8:29 PM, lionel chiron wrote:
Hi Gerald again,
I recuperated the Pyside last version the
A runnable code sample is attached.
I'm trying to plot durations in time (sec to hours) on the y axis such
that if you zoom, it changes the units and axis label appropriately.
When run, it looks right. But, when I zoom on the first point, it is
shown on the y axis at '0.20' minutes. I would
Hi Robert,
On Fri, Jul 15, 2011 at 9:49 AM, robert rob...@redcor.ch wrote:
Hi there,
I am all new to mathlib world..
What I try to do is plotting some charts over an image.
I would be very grateful, if somebody could provide me with an example.
thanks
robert
I just did this myself with
Try MultipleLocator:
from matplotlib.ticker import MultipleLocator
halflocator = MultipleLocator(base=0.5)
ax.xaxis.set_major_locator(halflocator)
etc.
Thanks, that works for me. I didn't think I could use non-integers
(0.5) because the docs said, Set a tick on every integer that is
16 matches
Mail list logo