On Fri, Sep 4, 2009 at 10:11 AM, Westly Ward wrote:
> Hi. I need some help creating a 3d wireframe in matplotlib in python. Here
> is my code.
>
> Code:
> from __future__ import division
> import matplotlib.pyplot as plt
> from numpy import *
>
> fig = plt.figure()
> from mpl_toolkits.mplot3d impor
hi, i'm using the exact code pasted below, and copied from:
http://matplotlib.sourceforge.net/examples/pylab_examples/errorbar_demo.html?highlight=errorbar
i see the vertical error lines, but i'm not able to see the 'cap' as
in the codex above, i've tried changing a few parameters in my
matplotlib
hi, i'd like to use the divider stuff in axes_grid to plot a figure
with 2 axes, with xticks on the bottom axis.
in the script pasted below, if i use 0.07 as the min for the y-axis,
then it chops off the top of the plot. if i use 0 as the min, then
it doesn't chop of the top, but it doesnt show the
On Mon, Nov 9, 2009 at 3:18 PM, Jae-Joon Lee wrote:
> On Mon, Nov 9, 2009 at 6:03 PM, Brent Pedersen wrote:
>> how can i have the divider account for the room needed
>> for the
>> labels and ticks?
>
> Doing this automatically is not straight forward. So you need to
hi, for pylab.plot, i am able to get the transform like this:
import pylab
xs = [0, 999]
ys = [10, 555]
f, = pylab.plot(xs, ys)
t = f.get_transform()
print t.transform(zip(xs, ys))
how can i do that for a pylab.scatter? this:
s = pylab.scatter(xs, ys)
print s.ge
On Wed, Jul 2, 2008 at 2:53 PM, Brent Pedersen <[EMAIL PROTECTED]> wrote:
> hi, for pylab.plot, i am able to get the transform like this:
>
>import pylab
>xs = [0, 999]
>ys = [10, 555]
>
>f, = pylab.plot(xs, ys)
>t = f.get_transform()
>
On Mon, Aug 18, 2008 at 8:25 AM, stuartornum <[EMAIL PROTECTED]> wrote:
>
> Hi Jeff,
>
> Sorry I should have explained more. I am running a web app also I currently
> working for a very large organisation so the infrastructure is quite
> different to your average home / signle server setup.
>
> Tha
On Thu, Oct 23, 2008 at 6:35 AM, Michael Droettboom <[EMAIL PROTECTED]> wrote:
> You could use the (admittedly inscrutable) "unzip" technique:
>
> ax.plot_date(*zip(*items))
>
> See this blog post for explanation:
>
> http://paddy3118.blogspot.com/2007/02/unzip-un-needed-in-python.html
>
> If you u
On Wed, Mar 18, 2009 at 2:48 PM, crwe crwe wrote:
> Hi all,
>
> i need to draw a polygon (non-convex) into memory, so that i can query which
> pixels are inside the polygon and which not. I came across matplotlib which
> has some Polygon class in it so i presume i could use this (although so far
Hi,
I have an image like this:
https://docs.google.com/open?id=0B7eMlcFeoB_rMTU1OTU0NmMtMzM3MC00YWI3LWFlNTYtNzg0MTM4MWI3OWMz
with an axes inside of another. I'd like to set the background behind
the labels of the inner figure.
I've tried set_frame_on on the axis, set_frameon on the figure,
axisbg_
hi, with the simple script below, how can i make the image have a
transparent background instead of white? it's saving RGB, not RGBA.
thanks,
-brent
import matplotlib
matplotlib.use('Agg')
from matplotlib.backends.backend_agg import FigureCanvasAgg as FigureCanvas
from matplotlib.figure import Fi
sending again, doesnt seem to have gone through...
hi, with the simple script below, how can i make the image have a
transparent background instead of white? it's saving RGB, not RGBA.
thanks,
-brent
import matplotlib
matplotlib.use('Agg')
from matplotlib.backends.backend_agg import FigureCanva
hi,
first, with backends agg and cairo, increasing the dpi increases the
width of any edge that is drawn, is there a way to set this edge width
constant?
second, when using backend_agg, if i draw a patch with an edge at x=0
and the xlim(xmin=0) there's still a 1 pixel gap.
this does not occur at t
13 matches
Mail list logo