Hi
How do I increase the distance/padding between the tick labels (numbers) and
the axis/axes?
Ted
--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
Since I haven't found an example, that shows howto plot in 3d a cube and
pyramid, respectively,
I wanted to show how I accomplished this without using vtk or mayavi.
Unfortunately, it is a bit of an ugly hack, since as far as i know
the plotsurface method cannot directly plot arrays with
On 9/13/2010 6:46 AM, Ted Kord wrote:
How do I increase the distance/padding between the tick labels (numbers) and
the axis/axes?
http://matplotlib.sourceforge.net/users/customizing.html#customizing-matplotlib
(see the pad options)
hth,
Alan Isaac
Dear all,
I have recently set up a simple tutorial on how to create gui applications
with wxPython. One of the examples shows how to embed matplotlib plots in
the application.
It is only a recompilation of tutorials found on the web, including the
matplotlib website, but the example is provided as
Hi,
If I set up a random example and plot it as a contour it seems to work
fine...e.g.
import matplotlb.pyplot as plt
import numpy as np
data2 = np.random.sample((17,16))
x = np.linspace(-1.74, -1.32, 16)
y = np.linspace(15.15, 15.61, 17)
X, Y = np.meshgrid(x, y)
plt.contour(X, Y,
On Mon, Sep 13, 2010 at 7:45 AM, mdekauwe mdeka...@gmail.com wrote:
Hi,
If I set up a random example and plot it as a contour it seems to work
fine...e.g.
import matplotlb.pyplot as plt
import numpy as np
data2 = np.random.sample((17,16))
x = np.linspace(-1.74, -1.32, 16)
y =
Hi,
Well hopefully doing what you suggested correctly...
numrows = 17
numcols = 16
ulat, llat, ulon, llon = 15.61, 15.15, -1.32, -1.74
m = Basemap(projection='geos', lon_0=0.0, llcrnrlon=llon,
llcrnrlat=llat, urcrnrlon=ulon, urcrnrlat=ulat,
On Mon, Sep 13, 2010 at 8:21 AM, mdekauwe mdeka...@gmail.com wrote:
Hi,
Well hopefully doing what you suggested correctly...
numrows = 17
numcols = 16
ulat, llat, ulon, llon = 15.61, 15.15, -1.32, -1.74
m = Basemap(projection='geos', lon_0=0.0, llcrnrlon=llon,
Hi,
Well I tried...
numrows = 17
numcols = 16
ulat, llat, ulon, llon = 15.61, 15.15, -1.32, -1.74
m = Basemap(projection='geos', lon_0=0.0, llcrnrlon=llon,
llcrnrlat=llat, urcrnrlon=ulon, urcrnrlat=ulat,
resolution='c')
data2 = np.random.sample((17,16))
print
Thanks Alan. working nicely now.
Ted
On 13 September 2010 13:27, Alan G Isaac alan.is...@gmail.com wrote:
On 9/13/2010 6:46 AM, Ted Kord wrote:
How do I increase the distance/padding between the tick labels (numbers)
and the axis/axes?
On 9/13/10 8:02 AM, mdekauwe wrote:
Hi,
Well I tried...
numrows = 17
numcols = 16
ulat, llat, ulon, llon = 15.61, 15.15, -1.32, -1.74
m = Basemap(projection='geos', lon_0=0.0, llcrnrlon=llon,
llcrnrlat=llat, urcrnrlon=ulon, urcrnrlat=ulat,
Hi Jeff,
many thanks that was exactly the problem!
Martin
Jeff Whitaker wrote:
On 9/13/10 8:02 AM, mdekauwe wrote:
Hi,
Well I tried...
numrows = 17
numcols = 16
ulat, llat, ulon, llon = 15.61, 15.15, -1.32, -1.74
m = Basemap(projection='geos', lon_0=0.0, llcrnrlon=llon,
On Mon, Sep 13, 2010 at 9:02 AM, mdekauwe mdeka...@gmail.com wrote:
Hi,
Well I tried...
numrows = 17
numcols = 16
ulat, llat, ulon, llon = 15.61, 15.15, -1.32, -1.74
m = Basemap(projection='geos', lon_0=0.0, llcrnrlon=llon,
llcrnrlat=llat, urcrnrlon=ulon, urcrnrlat=ulat,
Hi!
I want to use polar plot and write contour in semi-circle domain.But I can't
do so.
Here is a part of my code.
-
from pylab import *
from scipy import *
fig=figure(figsize=(10,10))
ax=fig.add_axes([0.1,0.1,0.8,0.8],polar=True)
axis([0, pi, 0, 1])
Hi,
I am setting a colourbar where I explictly set the tick intervals. However I
would like to exclude the colour black from this colourbar. The reason for
this is I would like to overplot some contour lines in black, so would like
to make them stand out.
An example...where I would like to
On Mon, Sep 13, 2010 at 9:23 AM, Jeff Whitaker jsw...@fastmail.fm wrote:
Martin:
You need a meshgrid
x,y = np.meshgrid(x,y)
just *before* (not after)
px,py = m(x,y)
so that x and y have the same shape as data2.
Yeah, my bad. That's what I get for responding *before* coffee this
Hello all,
I'm trying to build an executable distribution of an app I'm working
using py2exe.
After a lot of googling, I found what it seems to be a good
combination of parameters, but when I try to run the .exe, it fails.
The .log file shows me that the module backend_qt4agg wasn't found:
I have tried to produce a very simple plot with my recent installation
of matplotlib (1.0.0 64-bit) and numpy (1.5.0 64-bit) using the
following code (taken from the matplotlib tutorial material).
*import matplotlib
import numpy
import matplotlib.pyplot as plt
print matplotlib.__version__
On 9/13/10 1:38 PM, Virgil Stokes wrote:
I have tried to produce a very simple plot with my recent installation
of matplotlib (1.0.0 64-bit) and numpy (1.5.0 64-bit) using the
following code (taken from the matplotlib tutorial material).
*import matplotlib
import numpy
import
On Mon, Sep 13, 2010 at 2:38 PM, Virgil Stokes v...@it.uu.se wrote:
I have tried to produce a very simple plot with my recent installation of
matplotlib (1.0.0 64-bit) and numpy (1.5.0 64-bit) using the following code
(taken from the matplotlib tutorial material).
*import matplotlib
import
So far I have tried this...
colourmap = cm.get_cmap(Greys_r)
colourmap = colourmap._segmentdata
# exclude 0, 0, 0...i.e. black from dictionary
bvals = colourmap['blue'][1:]
gvals = colourmap['green'][1:]
rvals = colourmap['red'][1:]
colourmap = { blue:bvals, green:gvals, red:rvals }
colourmap
On Sat, Sep 11, 2010 at 6:57 PM, freekk fre...@gmail.com wrote:
Im trying to do a very simple x vs y plot. Where the x values range between
3247 and 3256 and y between 0 and 1. This data is stored in data.dat. I
plot
it using the code below, the resulting plot is shown in the first
On Sat, Sep 11, 2010 at 2:10 PM, Oz Nahum nahu...@gmail.com wrote:
Hi Everyone again,
So, with the weekend comes some time to think and I found an answer to
another question of mine.
I know now how to remove xticks in colorbar, and I also know how to
customize the widths of the lines in
On 9/11/2010 3:10 PM, Oz Nahum wrote:
my question, how to remove the axes around the colorbar, or at least changed
the to be non-visible, still stands...
Did you resolve this?
Alan Isaac
--
Start uncovering the many
On 2010-09-13 21:55, Benjamin Root wrote:
On Mon, Sep 13, 2010 at 2:38 PM, Virgil Stokes v...@it.uu.se
mailto:v...@it.uu.se wrote:
I have tried to produce a very simple plot with my recent
installation of matplotlib (1.0.0 64-bit) and numpy (1.5.0 64-bit)
using the following code
Many thanks, that helper.
After some more problems with scipy, I got a working EXE.
PyQt4 is still in the library, though. Eating almost 15Mb... Now all I
have to do is to find out how to remove it..
cheers
Carlos
On Mon, Sep 13, 2010 at 18:47, Goyo goyod...@gmail.com wrote:
2010/9/13
The solution incase anyone has a similar issue...
data = np.random.randint(0,50,100*100).reshape(100, 100)
m = Basemap(llcrnrlon=1.5, llcrnrlat=10.5, urcrnrlon=3.5, urcrnrlat=13.5,
resolution='c', projection='cyl')
fig = plt.figure(figsize=(8, 6))
ax = fig.add_axes([0.1,
On 09/11/2010 11:12 AM, freekk wrote:
Im trying to do a very simple x vs y plot. Where the x values range between
3247 and 3256 and y between 0 and 1. This data is stored in data.dat. I plot
it using the code below, the resulting plot is shown in the first of the two
plots below.
On 09/13/2010 12:08 PM, Virgil Stokes wrote:
On 2010-09-13 21:55, Benjamin Root wrote:
On Mon, Sep 13, 2010 at 2:38 PM, Virgil Stokes v...@it.uu.se
mailto:v...@it.uu.se wrote:
I have tried to produce a very simple plot with my recent
installation of matplotlib (1.0.0 64-bit) and
On Tue, Sep 14, 2010 at 12:09 AM, Kenshi hibino
hib...@kugi.kyoto-u.ac.jp wrote:
I thought that axis([0,pi,0,1]) make the writing domain semi-circle,
but complete circle was written as domain.
Does anyone know how I should write?
With polar projection, it is not possible to make semi-circle
On Mon, Sep 13, 2010 at 5:55 PM, Eric Firing efir...@hawaii.edu wrote:
On 09/13/2010 12:08 PM, Virgil Stokes wrote:
On 2010-09-13 21:55, Benjamin Root wrote:
On Mon, Sep 13, 2010 at 2:38 PM, Virgil Stokes v...@it.uu.se
mailto:v...@it.uu.se wrote:
I have tried to produce a very simple
Virgil
The scheme illustrated below actually does work.
Message: 5
Date: Mon, 13 Sep 2010 12:55:43 -1000
From: Eric Firing efir...@hawaii.edu
Subject: Re: [Matplotlib-users] matplotlib on Ubuntu 10.04 (64-bit)
To: matplotlib-users@lists.sourceforge.net
Message-ID: 4c8eabef.30...@hawaii.edu
32 matches
Mail list logo