Re: [Matplotlib-users] plot_surface does not work

2013-09-25 Thread vwf
On Tue, Sep 24, 2013 at 03:46:52PM -0700, Jody Klymak wrote: [...] > > 2) Can I suggest this example be added to the tutorial? > http://stackoverflow.com/questions/6539944/color-matplotlib-plot-surface-command-with-surface-gradient > None of the other examples explain how to colour your surface wi

[Matplotlib-users] placing bitmaps on plot

2013-09-10 Thread vwf
Hello, I create a plot on which I need to place small bitmaps at a given location with a given size. Something like sprites but not for animation or a game. Can someone explain to me how to do that? Thanks -- How Servic

Re: [Matplotlib-users] how to create a facecolors map?

2013-08-29 Thread vwf
On Wed, Aug 28, 2013 at 06:39:26PM +0200, vwf wrote: > Hello, > > I would like to create a surface with a color provided by an independent > variable. Got something working: import matplotlib.pyplot as plt import numpy as np from mpl_toolkits.mplot3d import Axes3D from matplotl

[Matplotlib-users] how to create a facecolors map?

2013-08-28 Thread vwf
Hello, I would like to create a surface with a color provided by an independent variable. The shape is defined by a matrix with the z-values. The color is a matrix of identical shape with floats. Can this be done? My experiment code is incomplete: I could not write anything useful. Can onyone hel

[Matplotlib-users] how do I set the order of layers?

2013-08-24 Thread vwf
Hello, In the attached example I would like to have the wedges under the arrows. Can someone tell me how do this? I tried to follow the tutorial from http://matplotlib.org/users/artists.html but I didn't really get it all. Thank you from pylab import * from numpy import ma import math import m

Re: [Matplotlib-users] quiver linewidht problem

2013-08-16 Thread vwf
On Thu, Aug 15, 2013 at 09:06:02PM +0200, vwf wrote: [...] > On stackoverflow I found: > widths = np.linspace(0, 2, X.size) > plt.quiver(X, Y, cos(deg), sin(deg), linewidths=widths) [...] I kind of found out how it works. quiver has width and linewidth. width takes a scalar, linewidth c

[Matplotlib-users] quiver linewidht problem

2013-08-15 Thread vwf
After some struggling I got my first plots with quiver working. A simple plot is very simple, but a complicated one is very different. Right now I have a 80x80 grid with multiple plots and I plan to go up. For this I need full control of the arrow dimensions. The only way I can get narrow arrow i

Re: [Matplotlib-users] quiver plots on top of each other? [solved]

2013-08-15 Thread vwf
Got it working! (new problems in the making...) -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, w

[Matplotlib-users] quiver plots on top of each other?

2013-08-15 Thread vwf
Hello, I would like to have a set of quiver plots on top of each other: the x/y positions remain the same but the arrows have different directions. The arrays are largely empty so the multiple-arrow problem is not that bad (and very interesting). Can this be done? Right now only the last quiver p

Re: [Matplotlib-users] how to create 2 plots?

2013-08-12 Thread vwf
On Tue, Aug 13, 2013 at 04:43:19PM +1000, Stephen Gibson wrote: > Call 'figure()' for each plot. Like this you mean? import matplotlib.pyplot as plt a=plt.figure() a=plt.plot([1, 2], [1, 2]) plt.savefig('1.png', dpi=100) a=plt.figure() a=plt.plot([1, 2], [2,1]) plt.savefig('2.png', dpi=100) T

Re: [Matplotlib-users] how to create 2 plots?

2013-08-12 Thread vwf
create the second, or is there something more specific you are > looking for? > > > On Mon, Aug 12, 2013 at 11:58 PM, vwf wrote: > > > Hello, > > > > I need to create two plots (png files) in one go, two unrelated views of > > the same dataset. There is g

[Matplotlib-users] how to create 2 plots?

2013-08-12 Thread vwf
Hello, I need to create two plots (png files) in one go, two unrelated views of the same dataset. There is good documentation about subplots but I cannot locate documentation about two plots. Can someone tell me how it is done? -

[Matplotlib-users] corrupt fonts problem

2013-08-07 Thread vwf
Hello, Matplotlib does not like one (or more) of my fonts. Since I own a considerable set it is very hard to find out which one violates the requirements. Is it possible to let matplotlib which font is the problem? Thanks --

Re: [Matplotlib-users] Europe without coastline

2013-08-07 Thread vwf
On Tue, Aug 06, 2013 at 01:46:15AM -0700, ChaoYue wrote: > I am using mat 1.20 and basemap 1.0.5, I tried your code and don't have the > same issue. After building matplotlib 1.2.0 and basemap 1.0.6 packages for Debian the problem is gone: I have coastlines now. Thanks --

[Matplotlib-users] Europe without coastline

2013-08-06 Thread vwf
Hello, This weekend I started using matplotlib and I think it is great. Beautiful graphs with very little effort. My data is geographical so I would like to draw on a map, North-Sea (UK - Netherlands). For this I installed the basemap on my Debian system (Stable/Wheezy). This has a strange probl