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)
...
gc.set_alpha(self._alpha)
self._color is defined by the color kwarg, whether it be a hex value,
3-tuple,
Hello,
for a interactive gui program i want to change the shown data without changing
the rest of the figure. For normal plots, there is a set_xdata/set_ydata
methods. For QuadMesh, there is a set_array method, which i don't get to work.
Thanks,
Till
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
2011/8/16 Eric Firing efir...@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)
...
gc.set_alpha(self._alpha)
self._color is defined by the color
Is there some way to determine the corresponding y coordinate of a shape
(the edge of a circle for example)
given an x coordinate of that shape?
I know that for a circle there would be to 2 coordinates for each x
coordinate, but I'm not actually plotting a whole circle, only a quarter of
a
Hi,
If I create a bar graph inside a FigureCanvas, how do I get the correct x
tick labels to display when someone does a zoom with the NavigationToolbar?
For example, lets say I've got the below code:
self.axes.set_xticks = range(len(vals))
I eventually got it to mostly work using:
³sudo port install py26-matplotlib @1.0.1 +gtk2²
It doesn't match the correct egg format it seems, but it does work.
On 8/10/11 11:01 AM, David Just just.da...@mayo.edu wrote:
Hello,
I¹ve been trying to install matplotlib correctly for the past
Hello,
I begin with matplotlib and I draw volume is a 3D view. It runs acoorectly
but some behavior are not understood. Here is my source code:
fig = plt.figure()
ax = Axes3D(fig)
print long =,self.onevolume['long']
I have an array of images stored as an array of numpy arrays. I need to be
able to efficiently scroll through that set of images. My first attempt at
doing this goes something like this:
--init--
self.ax = pyplot.imshow(imgdta[0], interpolation='spline36',
cmap=cm.gray, picker=True)
Hello,
I¹ve been trying to install matplotlib correctly for the past couple of
days.
I¹m using a macports python2.6 built with +universal on.
If I install with the the downloadable .egg file I end up with a message
that states that _path.so has problems. (built for 32bit I guess)
ImportError:
Hi Ben,
I will try to do it. Once it is done I let you know.
Cheers,
marc
On Wed, Aug 10, 2011 at 7:41 PM, Benjamin Root ben.r...@ou.edu wrote:
On Wed, Aug 10, 2011 at 12:32 PM, Marc Magrans de Abril
marcmagransdeab...@gmail.com wrote:
Dear colleagues,
I'm trying to display an
I just wanted to add that I'm getting the exact same error. On a fresh, new
iMac running 10.6.8, I installed ActivePython 2.6, along with matplotlib for
2.6 on OSX.
Running example code from the matplotlib website, I get the same error--
the window appears with the resizing tools but otherwise
Hello!
I'm using matplotlib in my wx.Frame to draw some arrows and text at a
certain position. The number and position of the arrows is based on
previously created data. I do some calculations but basically it's like
this:
arrow = primer
for each primer:
draw one arrow at position y - 0.05 to
Dear colleagues,
I'm trying to display an histogram with logarithmic bins using the
logarithmic scale in the x-axis. When I execute the attached python
script it crashes giving a Bus Error message (see also the attached
core dump).
If I remove the line plt.xscale('log') the script goes up to the
Hi,
I'm a little bit desperated. I googled for days to find an appropriate way
to calculate the absolute errors of parameters of non-linear fits. I found
different sites which suggest different, sometimes more or less similar
ways. But the results don't make sense. Here is a simple example:
I ended up creating a wrapper around the toolbar and resetting the labels
and redrawing whenever something changes. Is there a cleaner way?
class WrappedNavigationToolbar(NavigationToolbar):
def __init__(self, viewer, canvas, parent):
self.viewer = viewer
On Tue, Aug 16, 2011 at 2:15 AM, 4ndre andre.dank...@gmail.com wrote:
Hi,
I'm a little bit desperated. I googled for days to find an appropriate way
to calculate the absolute errors of parameters of non-linear fits. I found
different sites which suggest different, sometimes more or less
I've been trying the Qt4Agg backend for matplotlib and I've encountered two
problems. The following code illustrates the issues:
import matplotlib
matplotlib.use('Qt4Agg')
import matplotlib.pyplot as plt
plt.ion()
plt.plot([1,2,3])
canvas=plt.gcf().canvas
def on_key(event):
print 'you
Hi ,
I wish to add a custom legend to a multicolored line drawn using matplotlib
as shown in the figure below
http://www.scipy.org/Cookbook/Matplotlib/MulticoloredLine
I tried exploring the legend but somehow couldn't figure out its usage and
how to adapt it to multicolored line as in the above
On Mon, Aug 15, 2011 at 9:34 PM, Benjamin Root ben.r...@ou.edu wrote:
The mpl developers are getting very close to the long-awaited v1.1.0 release
of matplotlib. Before we do so, we are doing some final checking of the
documentation to make sure that all critical pieces of information iss
Hi all,
I've been making figures for a paper I'm writing (to be submitted to the
ApJ). I'm using LaTeX and so need to use encapsulated PostScript for
the figures. The problem is that when the paper is translated to pdf
from PostScript, the mathtext in the figures disappears. The reason
that I
Hi all,
I've been making figures for a paper I'm writing (to be submitted to the
ApJ). I'm using LaTeX and so need to use encapsulated PostScript for
the figures. The problem is that when the paper is translated to pdf
from PostScript, the mathtext in the figures disappears. The reason
Hi All,
A question for a possible new feature for Matplotlib.
First, in case there is a way to do it currently:
I often find myself plotting data with errorbars, and I would like to be able
to modify the marker, or marker size of each individual point separately. A
(seemingly to me) natural
On Tue, Aug 16, 2011 at 12:22 AM, Benjamin Root ben.r...@ou.edu wrote:
On Monday, August 15, 2011, Ben Breslauer bbresla...@gmail.com wrote:
Hi,
Has anyone else noticed this behavior? For the devs, do you prefer a
github bug to the SF list?
Ben
I have not personally observed
Can you post an output eps file so that we can take a look?
Regards,
-JJ
On Wed, Aug 17, 2011 at 5:52 AM, Jonathan Slavin
jsla...@cfa.harvard.edu wrote:
Hi all,
I've been making figures for a paper I'm writing (to be submitted to the
ApJ). I'm using LaTeX and so need to use encapsulated
25 matches
Mail list logo