Thanks Ben for the tip on edgecolor. I’ve got what I wanted now and since it
took some digging and tinkering I figured I’d write it up and share the
solution with anyone who may want it:
https://dawes.wordpress.com/2014/06/27/publication-ready-3d-figures-from-matplotlib/
and full test-case scri
actually, that is technically incorrect. That only works for monotonically
increasing series, but not monotonically decreasing series.
diffs = np.diff(lon)
if np.all(diffs <= 0):
return True
if np.all(diffs >= 0):
return True
return False
provided that len(lon) >= 2, obviously (and it doe
On Thu, 2014-06-26 at 23:14 -0700, billyi wrote:
> Oh my, it WAS the meshgrid! Thank you so much!
> When reading the coordinates like:
> lat = FB.variables['lat'][:,:]
> lon = FB.variables['lon'][:,:]
>
> And plotting (without meshgrid!):
> m.pcolormesh(lon, lat, masked_fb, latlon=True)
>
> it w
On 06/27/2014 02:14 AM, billyi wrote:
> And I think the longitudes and latitudes are not monotonic, but I don't know
> the way to check this, other than checking the array like lon[:] in
> terminal. Is there a better way?
numpy slicing (subtract prior from next element check that 'all' the
result
I have a script that fetchs data from a database and plot using
something similar to
fig, (ax1, ax3) = plt.subplots(2, 1, sharex=False, sharey=False, num=fignum)
ax1.errorbar(...)
title(...)
ax2 = ax1.twiny()
ax4 = ax2.twiny()
...
plt.legent()
plt.draw()
Then, I call this script with plt.ion() a
Hi all,
how can I resolve the problem described at
http://community.coreldraw.com/forums/p/31103/146512.aspx
Nils
--
Open source business process management suite built on Java and Eclipse
Turn processes into business ap