On Tue, Nov 15, 2011 at 11:55 PM, magurling magurl...@gmail.com wrote:
Benjamin Root-2 wrote:
Actually, that's how I do it, if I remember correctly. What is your
platform and mpl version?
I have Ubuntu 11.04, Python 2.7.1+, mpl 1.1.0. I've seen examples in the
mpl
gallery of
Hello,
For what it is worth, I do the folllowing on my matplotlib scripts run
from apache on RHEL6.
import os
os.environ[ 'HOME' ] = '/tmp/'
os.environ[ 'USER' ] = 'nobody'
import matplotlib
matplotlib.use( 'Agg' )
This seems to keep matplotlib from bombing out when it attempts to
read dot
does someone knows how to specify ticks for a colorbar
inside axesgrid? the following does not work as expected:
from mpl_toolkits.axes_grid1 import AxesGrid
ticks = [.01, .25, .5, .75, .99]
grid = AxesGrid()
[...]
grid.cbar_axes[i].colorbar(im, ticks=ticks)
i'm thankfull for any pointers,
yoshi
On Sun, Nov 13, 2011 at 12:40 PM, Gökhan Sever gokhanse...@gmail.comwrote:
Hello groups,
I have two questions about working with MODIS data.
1-) Is there any light Pythonic HDF-EOS wrapper to handle HDF-EOS data
other than PyNIO [http://www.pyngl.ucar.edu/Nio.shtml] Although, I have
Hi,
Using the example code shown below I can't get meridians plotted on the
screen:
from mpl_toolkits.basemap import Basemap
import matplotlib.pyplot as plt
import numpy as np
m = Basemap(projection='merc',lon_0=-79, lat_0=25.5,
llcrnrlon=-93, urcrnrlon=-63, llcrnrlat=14,
On 15/11/2011 14:45, Michael Droettboom wrote:
I'd love to see the compiler logs and try to fix what I can. I don't
have a Windows install to test, but maybe I can resolve the more
obvious ones.
Mike
On 11/08/2011 05:49 AM, Mads Ipsen wrote:
Hi,
Thanks to the help from Christoph, I have
Try something like this.
ax = subplot(111)
LabelsList = ['Prospero', 'Miranda', 'Caliban', 'Ariel']
ax.set_xticks(range(len(LabelsList)))xlabels = ax.set_xticklabels(
LabelsList, rotation=35,
horizontalalignment='right',
fontstyle='italic', fontsize='10')
ticklabels =
Benjamin Root-2 wrote:
Seems to work fine for me using GTKAgg.
I added these lines:
import matplotlib
matplotlib.use('GTKAgg')
I still get the \n printed literally in the label (an actual carriage
return shows up as an empty rectangle).
--
View this message in context:
I want to:
1. Have matplotlib assign the linecolor for a plot
2. Read the linecolor with .get_color()
3. Create another plot with the linecolor set to a lighter version of
the previous linecolor.
Ie:
a, = plot(x,y)
a.get_color() = 'b'
b, = plot(x,y, color = #xx)
Since I'm only using the
On 11/16/2011 03:16 PM, Gökhan Sever wrote:
Hi,
Using the example code shown below I can't get meridians plotted on the
screen:
from mpl_toolkits.basemap import Basemap
import matplotlib.pyplot as plt
import numpy as np
m = Basemap(projection='merc',lon_0=-79, lat_0=25.5,
This seems to be a bug that need to be fixed.
Meanwhile, use locator parameter as below.
cbar = grid.cbar_axes[0].colorbar(im, locator=ticks)
Regards,
-JJ
On Thu, Nov 17, 2011 at 5:35 AM, Yoshi Rokuko yo...@rokuko.net wrote:
does someone knows how to specify ticks for a colorbar
inside
On Wed, Nov 16, 2011 at 5:35 PM, Jonno jonnojohn...@gmail.com wrote:
I want to:
1. Have matplotlib assign the linecolor for a plot
2. Read the linecolor with .get_color()
3. Create another plot with the linecolor set to a lighter version of
the previous linecolor.
Ie:
a, = plot(x,y)
On 11/16/11 6:16 PM, Gökhan Sever wrote:
from mpl_toolkits.basemap import Basemap
import matplotlib.pyplot as plt
import numpy as np
m = Basemap(projection='merc',lon_0=-79, lat_0=25.5,
llcrnrlon=-93, urcrnrlon=-63, llcrnrlat=14, urcrnrlat=36.2)
m.drawcoastlines(linewidth=0.3)
+--- Jae-Joon Lee ---+
This seems to be a bug that need to be fixed.
Meanwhile, use locator parameter as below.
cbar = grid.cbar_axes[0].colorbar(im, locator=ticks)
that works, thank you!
best regards, yoshi
14 matches
Mail list logo