On 10/30/10 5:05 PM, John wrote:
> Thank you. I didn't think they used it, I just wanted to know if it
> was safe to do what you suggested to try. It does seem to work.
>
> Another question, can netcd4-python READ HDF files? Or is it just that
> it creates files that are readable? If it's the latte
Thank you. I didn't think they used it, I just wanted to know if it
was safe to do what you suggested to try. It does seem to work.
Another question, can netcd4-python READ HDF files? Or is it just that
it creates files that are readable? If it's the latter, does anyone
have a suggestion for a pyt
Hello,
I am trying to set tick labels for a matshow plot. This works just fine
if I only work on the X axis:
res = np.diag(np.arange(10)) # dummy data
modes = [ (x+1, 0) for x in range(5) ] # dummy data
fig = plt.figure()
ax = fig.add_subplot(111)
cs = ax.matshow(res)
lol.
Finally found the magic parameter. borderaxespad.
import pylab,matplotlib
pylab.plot([1,2,3,4,5],[1,2,3,4,5],"bo",label="data")
ax = pylab.gca()
pylab.legend(bbox_to_anchor=(0,1),loc=2,borderaxespad=0)
# draw an X to make sure of coordinates.
ax.lines.append(matplotlib.lines.Line2D((0,1
With Paul's suggestions (greatly appreciated!) I almost have this
thing workingthere is still something strange going on in that
when I call get_window_extent() on the legend, I always get ones and
zeros no matter where it is...but that's for another post on another
day.
This one, I hope, is a
On Thursday, October 28, 2010, Pradyumna wrote:
>
> Hello All,
>
> I am running into same issue except mine won't go away even when I went back
> to matplotlib 0.99.
>
> Also, something curious I noticed - when I run the examples, I don't get this
> error message.
>
> Please let me know if you h
2010/10/29 chewbaccabacca :
> I have three seperate pcolor() plots that I want to merge into one single
> plot (see attached file). Each plot uses a binary color scheme (white and
> blue, white and red, and white and green). [...]
>
> http://old.nabble.com/file/p30087644/contour_phase_boundary.png
2010/10/28 Benjamin Root :
> On Thu, Oct 28, 2010 at 1:18 PM, Will Grover wrote:
>> Hello matplotlib-users,
>> I'm using subplots to make an array of plots, but because some of the
>> plots have wider y-axis tick labels than others, some of the subplots end up
>> looking too close to each other.
On 10/30/10 3:41 AM, John wrote:
> I've searched through the netcdf4-python trunk, but I find no
> reference of NetCDFFile as in how the basemap or Scientific.IO.NetCDF
> modules use it.
>
> For compatibility with my old scripts, is it safe to simply:
>
> from netCDF4 import Dataset as NetCDFFile
Hi Dharhas,
2010/10/19 Dharhas Pothina :
>> There's no way around the ``Decimal``? Otherwise I cannot confirm the
>> inelegancyness except this construct ;-)
> the moneyfmt routine I downloaded requires the Decimal package (i.e
> decimal.Decimal). I didn't have time to try writing my own version
I've searched through the netcdf4-python trunk, but I find no
reference of NetCDFFile as in how the basemap or Scientific.IO.NetCDF
modules use it.
For compatibility with my old scripts, is it safe to simply:
from netCDF4 import Dataset as NetCDFFile
??
Thanks,
john
---
11 matches
Mail list logo