Hi all,
I'm plotting data which extent, in x, from -1000 to 1000. But I'm only
interested in the values between x = -1 and 0.
I also want to plot on an x log scale. But since the x-values are negative,
I cannot use xscale("log"). I can use xscale("symlog") though and this is
the behaviour I want.
On Mon, Mar 14, 2011 at 9:05 AM, herbie13 wrote:
>
> Hello,
>
> I basically have a Chi-Squared distribution that is dependent on 3
> variables.
> eg. X2(x, y, z)
>
> What I would like to do is be able to plot the chi-squared + 1 surface in
> 3-dimensions.
> eg. I would like to have the three axes
Hi all,
I'm using a matplotlib.widgets.Slider on my animated figure. Sometime, I
want to refresh the maximum value of the slider (since new values to plot
were generated).
Is it possible to update the "valmax" value of the slider? If not, is it
possible to delete the slider and create a new one?
Hi all,
I have a derived class that I copy-pasted from the web somewhere to hide
some tick labels:
class MinorLogTickFormatter(matplotlib.ticker.LogFormatter):
# Format log scale with 10^ labels. Only if show one label over two.
def __call__(self, val, pos=None):
exponent =
int(nu
Hi all,
I'm using matplotlib.image.NonUniformImage() to plot a 2D rectilinear grid
(non uniform spacing between points):
> im = matplotlib.image.NonUniformImage(grid, extent=extent, origin='lower',
> cmap = matplotlib.cm.jet, interpolation = "nearest")
im.set_data(x, y, z)
ax.images.append(im)
Why not just use latex?
plt.text(0.05, 0.95, r"This is the square marker: $\Box$ Subscript: $_\Box$
superscript: $^\Box$", fontsize=20)
--
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the la
Hi all,
I have defined some shortcuts I often use using pylab.ginput(). I normally
do:
> fig = pylab.figure()
fig.canvas.mpl_connect('key_press_event', on_key)
with my "on_key" function being (simplified):
> def on_key(event):
if (event.key == 'q'):
sys.exit(0)
elif (event.k
>
> How can I automatically cycle through distinctive line markers?
>>
>> I want a semilog plot, composed of a number of lines. Each line should
>> have
>> a different color and marker.
>
>
I simply use:
colors = ['b', 'r', 'c', 'm', 'k', 'g', 'y']
symbols = ['-', '--', '-.', ':']
nc = len(colors
On Fri, Oct 1, 2010 at 5:38 PM, Stan West wrote:
> *From:* Nicolas Bigaouette [mailto:nbigaoue...@gmail.com]
> *Sent:* Thursday, September 30, 2010 18:00
>
> What I would like to do it have a colormap which is transparent for lower
> values of data and opaque for high values, so
Hi all,
I don't really know where to ask, so here it is.
I was able to vectorize the normalization calculation in quantum mechanics:
. Basically it's a volume integral of a scalar field. Using:
> norm = 0.0
> for i in numpy.arange(len(dx)-1):
> for j in numpy.arange(len(dy)-1):
> for
Hi,
I cannot kill a plot by "ctrl+c" in a terminal (sending the SIGINT) when
using the Qt4Agg backend. When using GTKAgg it works fine...
What could be wrong? I need that.
Thanx!
--
Download IntelĀ® Parallel Studio Eval
T
Wonderful! Thanx a lot ;)
2009/12/11
> Reinier,
>
> This in incredible. Wow. Thanks for all of your hard work.
>
> Cheers,
> -paul
>
> > -Original Message-
> > From: Reinier Heeres [mailto:rein...@heeres.eu]
> > Sent: Thursday, December 10, 2009 3:37 PM
> > To: Matthias Michler
> > Cc: m
ance for any comments.
> >
> > Kind regards
> > Matthias
> >
> > On Wednesday 30 September 2009 19:22:42 Nicolas Bigaouette wrote:
> >
> >> Hi,
> >> I have a nice plot_surface() using mplot3d (see attachement).
> >>
> >&
I was looking for something similar. It seems Axes3D() takes the angle as
argument:
import matplotlib.pyplot as plt
import mpl_toolkits.mplot3d as m3d
fig = plt.figure()
ax = m3d.Axes3D(fig, elev = 20.0, azim = 45)
in degrees.
2009/10/2 German Ocampo
> Hello
>
> After search in google, I found
I'm not sure its possible right now to do subplots with 3D.
As for the title, I cannot either put titles on any 3D graphs...
2009/9/28
> Greetings,
>
> I would like to plot to make a figure with 3 subplots
> of the form (221) to (223):
> - each subplot should show a bar3d plot of a matrix
>
I have reported that issue on the tracker at the end of July. You can fin
dit here:
http://sourceforge.net/tracker/?func=detail&atid=560720&aid=2830483&group_id=80706
It's supposed to be fixed in 0.99... are you sure you are using it?
I remember trying it just after the bug was closed with an svn
Thats good information to have gathered! It sure will be usefull.
Have you look into the new html5's video tag? You can directly embed ogg in
a page, without flash or any other plugin. Firefox 3.5 supports that, I
think Safari would work too.
See this page for information (and look up the source)
h
I produce all my movies in Ogg container + Theora compression. I use
ffmpeg2theora for that, available on all platforms:ffmpeg2theora --nosound
--optimize --width 1024 --height 768 --inputfps=15 --aspect 4:3
png/mov%04d.png -o movie.ogv
2009/9/3 Andrew Straw
> I use::
>
> ffmpeg -r 60 -i frame%
I'm sure everybody find this really sad... If he wants control over the
ploting capabilities, then why not have matplotlib and send him the script?I
know when I switched to matplotlib from matlab I wanted to be able to edit
directly the graph with point and click, but sometimes it is more powerful
Have you read these?
http://www.scipy.org/Cookbook/Matplotlib/Animations
http://matplotlib.sourceforge.net/examples/animation/index.html?highlight=animation
What I normally do is plot everything (forget about interactive mode, its
just too slow) and get handles to curves, then update the curves va
Its great news that the 3D is receiving more polish :)
After reading on wikipedia, wouldn't it be nicier to have Phong
reflection[1] instead of Gouraud?
Maybe it would be too hard, as the Gouraud seems to be implemented directly
in Agg (from what others just said...)
Anyway, just a suggestion ;)
Hi,
I compiled matplotlib svn revision 7246 yesterday to try the 3D stuff.
>From mpl's website, an example for 3D bar plotting is shown[1]. I just don't
understand the axes. From the code, shouldn't X values go from 0 to 20,
instead of 0 to 400 000 like shown on the graph? Where does these values
Hi,
I want to compare data and I am doing so with subplots. Ideally, I would
like the subplot command to fill the columns before filling the rows as
it is doing right now.
Now:
subpot(221) = 1st row, 1st column
subpot(222) = 1st row, 2nd column
subpot(223) = 2nd row, 1st column
subpot(224) = 2nd r
Anyone? :(
Message original
Sujet: 3D surface: Updating data?
Date: Thu, 21 Dec 2006 11:28:43 -0500
De: Nicolas Bigaouette <[EMAIL PROTECTED]>
Pour: matplotlib-users@lists.sourceforge.net
Hi,
I've been using matplotlib for 2D graphing since two years. Data (3
Hi,
I've been using matplotlib for 2D graphing since two years. Data (3D
array) is created with a Fortran program and ploted using imshow() at a
particular plane.
3D data is created at each time iteration and saved in a file. For the
plotting part, a first imshow() is called with zero values to c
Hi,
I have 2 questions.
First, after upgrading from 0.86 to 0.87, my graphics aren't the same.
On 0.87, they are "squeezed" horizontally, which is bad. You can see an
exemple on those (SVG exported to PNG via Inkscape):
http://nbigaouette.inrs-emt.homelinux.net/linux/matplotlib_0.86.2.png
http:
26 matches
Mail list logo