Hi,
I am using the standard matplotlib on Ubuntu 14.04.
I was creating a custom colormap using the standard dict with
rgb values method (something I have done before as well). However,
one of the values in the 'r' array was 55 instead of .55 and contourf
would die saying 'invalid rgb value' which
pardon the query if it seems dumb, but why don't you do a savefig()
after plotting the data and then convert it to any format you like?
alternatively, contour() and contourf() both create paths that can
be accessed:
cf = contourf(.)
output = cf.collections.pop()
paths = output.get_paths()[i]
I have had an illustrator work with my eps plots generated in MPL, and she
used to get text. She was using some Adobe software, IIRC.
Joy
On Tue, Oct 28, 2014 at 2:30 AM, Moore, Eric (NIH/NIDDK) [F] <
eric.moo...@nih.gov> wrote:
> Hi,
>
> Is it ever possible to edit the text produced by matplotl
You could define the overlay data for the whole length and mask out the
irrelevant part using numpy.ma.
You could also just plot the two parts separately using the appropriate
length of the x coordinate.
Xa = range (1,10)
Xb = range (100, 110)
plot (Xa, data1)
plot (Xb, data2)
On 31 May 2015 00:4
If we have to reply on this thread, I would choose Option C.
I don't like A,B because of the strong black at the edges, which
sometimes saturate plots whose values vary a lot. I prefer C over
D because of a personal preference towards darker colours.
Joy
On Fri, Jun 5, 2015 at 2:12 AM, Eric Firin
I think Fiona is what you are looking for. I use it regularly for the exact
same purpose.
On 12 Jun 2015 03:11, "Ronquillo, Edgar Nahum" wrote:
> Hello all,
>
> I am currently using Basemap to map a shapefile into a map which works
> perfect with some shapefiles. I notice it doesn’t work with po
Maybe you could plot the ratio? That should give you rainfall per degree
Celsius.
On 9 Jul 2015 20:11, "Jonno" wrote:
> I was thinking of doing that or having 2 surface plots but I think it
> would be visually quite confusing.
> I was trying to think of an example since I'm sure someone has come