[Matplotlib-users] specifying exact position and size of axisartist axes

2011-03-08 Thread Kornél Jahn
Hi! I would greatly appreciate if you could give me some advice. I would like to make a Cartesian axes with a polar grid shown, just as here in this example: http://matplotlib.sourceforge.net/examples/axes_grid/demo_curvelinear_grid.html I have studied this example, I don't even need ParasiteAxes

[Matplotlib-users] plot polarization map (like ZEMAX)

2010-11-14 Thread Kornél Jahn
Hello, I would like to plot the polarization state of a two-dimensional vector field (linear, circular or generally elliptic), similarly to that seen on this ZEMAX plot: http://www.zemax.com/UserFiles/Image/UI/pol_pupil.gif It looks like some kind of enhanced quiver plot: a small line with arrows a

[Matplotlib-users] Auto-adjusting figure height, imshow equal

2010-02-23 Thread Kornél Jahn
Hi all! I am preparing a journal article and the figures should have a fixed width of 3 inches, with as thin white border around as possible. The figure does an imshow with *equal* axes: My problem is: I do not know in advance the height of my figure to specify figsize. The height should vary so t