Re: [Matplotlib-users] contour plot in semi-circle domain

2010-10-22 Thread Jae-Joon Lee
Kenshi, I'm sorry that I completely forgot about this issue. I just took a look and it seems to be due to a bug in clabel routine. The fix is easy and I'll commit it soon. Meanwhile, here is a work around. Basically, you need to draw a contour in "ax3", not in "aux_ax3". First of all, you can po

Re: [Matplotlib-users] contour plot in semi-circle domain

2010-09-17 Thread Kenshi hibino
Jae-Joon Lee wrote: > > > Another option is to use mpl_toolkits.axisartist (distributed with mpl > 1.0). However, learning curve of the axisartist is also steep. You may > play around with the last figure in the example below. > > http://matplotlib.sourceforge.net/examples/axes_grid/demo_float

Re: [Matplotlib-users] contour plot in semi-circle domain

2010-09-13 Thread Jae-Joon Lee
On Tue, Sep 14, 2010 at 12:09 AM, Kenshi hibino wrote: > I thought that "axis([0,pi,0,1])" make the writing domain semi-circle, > but complete circle was written as domain. > > Does anyone know how I should write? > With "polar" projection, it is not possible to make semi-circle domain. You need

[Matplotlib-users] contour plot in semi-circle domain

2010-09-13 Thread Kenshi hibino
Hi! I want to use polar plot and write contour in semi-circle domain.But I can't do so. Here is a part of my code. - from pylab import * from scipy import * fig=figure(figsize=(10,10)) ax=fig.add_axes([0.1,0.1,0.8,0.8],polar=True) axis([0, pi, 0, 1]) show