On 08/16/2011 12:42 AM, Vlastimil Brom wrote:
2011/8/16 Eric Firingefir...@hawaii.edu:
On 07/25/2011 08:21 AM, Ben Breslauer wrote:
I think that I have found the problem here. Line2D.draw() (and I
presume other Artist subclasses) calls
gc.set_foreground(self._color)
...
Setting test.usetex to True solved this problem. The only drawback is
that the font used for numbers and that used for axis labels is
different and looks a bit odd. I'm sure the fix for that is not too
difficult, however.
Jon
On Wed, 2011-08-17 at 14:09 +0900, Jae-Joon Lee wrote:
Can you post
On Tue, Aug 16, 2011 at 4:22 AM, Damon McDougall
d.mcdoug...@warwick.ac.uk wrote:
Hi Jeff,
I am able to run the tex_demo.py with no problems and I can create
output files using the Agg backend. When I try to use the PDF
backend, however, I get an error which stems from dviread.py (pasted
Hi Jeff,
I am able to run the tex_demo.py with no problems and I can create
output files using the Agg backend. When I try to use the PDF
backend, however, I get an error which stems from dviread.py (pasted
below). Any thoughts on what could be going wrong?
Thanks!
Jeff
Hi
I'm also looking into a similar issue, and would be interested to see what
approaches others have taken.
Has anyone found a good framework-independent solution?
Keith
On Wed, Aug 10, 2011 at 5:15 PM, David Just just.da...@mayo.edu wrote:
I have an array of images stored as an array of numpy
Here is how am solving this problem. It isn't terribly fast either, but
it works for me. I wrote something with pygame that was faster, but it
had its own set of problems.
Tom
---
import numpy as np
import pylab
class plotter:
def __init__(self, im, i=0):
self.im = im
Two issues with your code that should significantly speed things up.
First, by calling imshow() each time for the draw, there is significant
overhead caused by this. Instead -- (and this is a huge speedup) -- save
the object returned by the first call to imshow(). That object has a method
Excellent! That sped things up quite a bit. I can now flip through my
small images with no perceivable delay. I will look forward to trying
out the new interpolation setting when it gets here, since I have some
larger images that still lag slightly.
If others want, I can repost my code with
Hi everyone,
I have successfully plotted a set of 372 (x,y,z ) scattered values in 7
series. Each point is a circle colored according to a color based on a
simple lookup table.
# Lookup table for color
col_lut = dict(Bistris7p2 = burlywood, Cit7p2 = c,APhosph8p0 = m,
Acetate5p5 = k,Borate8p5 =
On Wed, Aug 17, 2011 at 3:29 PM, hari jayaram hari...@gmail.com wrote:
Hi everyone,
I have successfully plotted a set of 372 (x,y,z ) scattered values in 7
series. Each point is a circle colored according to a color based on a
simple lookup table.
# Lookup table for color
col_lut =
Thanks for your email Ben. Sorry I am still lost.
I dont understand what the handles type is . In my example I guess the
handles are an array of circles representing each x,y,z point.I am still a
little lost since the plot autmatically plots my 3 arrays
The color of each circle is arbitrary and
Does anyone have an example showing how to change the cursor position
using the key pad instead of the mouse?
-Mathew
--
Get a FREE DOWNLOAD! and learn more about uberSVN rich system,
user administration capabilities
On Wed, Aug 17, 2011 at 5:30 PM, hari jayaram hari...@gmail.com wrote:
Thanks for your email Ben. Sorry I am still lost.
I dont understand what the handles type is . In my example I guess the
handles are an array of circles representing each x,y,z point.I am still a
little lost since the plot
On Wednesday, August 17, 2011, Mathew Yeates mat.yea...@gmail.com wrote:
Does anyone have an example showing how to change the cursor position
using the key pad instead of the mouse?
-Mathew
Are you talking about externally to mpl or within mpl? I have some code
from a couple of months ago
I'm looking for something like
-
display = gdk_display_get_default ();
screen = gdk_display_get_default_screen (display);
/* get cursor position */
gdk_display_get_pointer (display, NULL, x, y, NULL);
/* set new cusor position */
x += xadd;
y += yadd;
Here is how to do it
display=mainwindow.get_display()
screen = gtk.gdk.Display.get_default_screen(display)
x,y=mainwindow.get_pointer()
s,x,y,m = display.get_pointer()
gtk.gdk.Display.warp_pointer(display, screen,x+1,y)
On Wed, Aug 17, 2011 at 11:53 PM, Mathew Yeates
On Wed, Aug 17, 2011 at 7:01 PM, Mathew Yeates mat.yea...@gmail.com wrote:
Here is how to do it
display=mainwindow.get_display()
screen = gtk.gdk.Display.get_default_screen(display)
x,y=mainwindow.get_pointer()
s,x,y,m = display.get_pointer()
cool,
On Wed, Aug 17, 2011 at 5:15 PM, Benjamin Root ben.r...@ou.edu wrote:
On Wed, Aug 17, 2011 at 7:01 PM, Mathew Yeates mat.yea...@gmail.com wrote:
Here is how to do it
display=mainwindow.get_display()
screen = gtk.gdk.Display.get_default_screen(display)
Thanks a lot John and Benjamin for your help.
The Proxy Artist approach fits the bill perfectly.
I used the following code to make a legend from my color_lut lookup table.
# Lookup table for color
col_lut = dict(Bistris7p2 = burlywood, Cit7p2 = c,APhosph8p0 = m,
Acetate5p5 = k,Borate8p5 =
19 matches
Mail list logo