On Wed, 29 Jul 2009 20:43:43 -0500
John Hunter wrote:
> On Wed, Jul 29, 2009 at 7:33 PM, Christian
> Lerrahn wrote:
> > Hi,
> > I'm trying to make a few matplotlib scripts work on a box without
> > any X. However, I would like to change it as little as possible an
Hi,
I'm trying to make a few matplotlib scripts work on a box without any
X. However, I would like to change it as little as possible and
therefore don't want to get rid of the pylab interface.
I almost got it to work already by just using the "dummy GUI", i.e. i
use
import matplotlib as m
m.use(
nd it. :)
Cheers,
Christian
On Wed, 7 Jan 2009 10:21:30 +1100
Christian Lerrahn wrote:
> Hi,
> the code given works for me in principle. If I run ipython without the
> -pylab flag and do an
>
> import * from pylab
>
> at the start instead, I can run this code and it runs fine.
s_api.html?highlight=imshow#matplotlib.axes.Axes.imshow
>
> As for your first question try the following in ipython with the
> -pylab flag:
>
> import numpy as N
> a = N.random.rand(50)
> a*=100
> plot(a)
> ax = gca()
> ax.set_xlim(0,25) # The set_xlim and set_yl
Hi,
I've been trying to do this for a while but just can't get it to
work. :(
There are 2 things I want to do.
1. I want to limit the value range in a line plot from
matplotlib.pyplot.plot(). I thought that clip_box would do exactly
that but setting something like [[-1,1],[-5,5]] or the like does
Hi,
I'm plotting some 2D grid data using imshow(). However, one of my test
problems involves a Gaussian peak in the center of my grid. For some
strange reason this Gaussian looks like 5 distinct peaks. It looks like
the values are only set at the centers of my grid cells and then the
colour gradien
Hi,
I limit the value range of my imshow using vmin and vmax. As I like the
way the contour levels are usually coloured by contour, I would like to
just restrict them to the same range but have matplotlib use the
default spacing and colouring. In other words, I want to avoid setting
levels manually
On Thu, 18 Oct 2007 21:10:24 -1000
Eric Firing <[EMAIL PROTECTED]> wrote:
> Christian Lerrahn wrote:
> > Hi,
> > when I plot 2D data with imshow() and then add a contour plot, my
> > contours have an offset in relation to the data. At the same time
> > there is w
Hi,
I sometimes get the error
Warning: overflow encountered in short_scalars
when I'm trying to plot certain data. When I searched a bit what I
could find on this problem, I came across
http://projects.scipy.org/pipermail/numpy-discussion/2007-May/027933.html
At least in one case where I had th
Hi,
when I plot 2D data with imshow() and then add a contour plot, my
contours have an offset in relation to the data. At the same time there
is white space at the edge of my plot, so I assume that it is the
imshow plot that actually gets shifted. I'm new to Python and
matplotlib, so I don't really
10 matches
Mail list logo