[Matplotlib-users] get_3d_properties

2015-06-30 Thread kola
Hi, I am able to use set_3d_properties to set z data for my 3D line. However, if I want to get the zdata, I cannot find a function like get_zdata or get_3d_properites. Is there anyway to get the zdata associated with the line? Thanks, Kola -- View this message in context:

Re: [Matplotlib-users] TypeError: Dimensions of C (645, 536) are incompatible with X (538) and/or Y (646); see help(pcolormesh)

2015-06-30 Thread Benjamin Root
It looks like your X data is one element larger than it needs to be. I know pcolor() accepts grids that are (N+1,M+1), and I *think* pcolormesh does the same. It will also accept grids that are (N,M) as well, but will drop the last row and collumn. Given your statement that it sometimes works, I

Re: [Matplotlib-users] get_3d_properties

2015-06-30 Thread Benjamin Root
Yeah, this is a long-standing design issue: https://github.com/matplotlib/matplotlib/issues/1483 There are some changes that are happening that would make it possible for me to refactor mplot3d in a way that would make this feasible. I could bite the bullet and just provide a partial workaround

Re: [Matplotlib-users] Multiple Projections On Same Axes

2015-06-30 Thread T J
Ok, sounds like I'll have to copy what those do, as I'm not planning on working with Cartesian or even curvilinear coordinates. On Tue, Jun 30, 2015 at 11:36 AM, Benjamin Root ben.r...@ou.edu wrote: twinx()/twiny() I think is your best bet. It isn't a fully generic solution, but I think it

Re: [Matplotlib-users] Multiple Projections On Same Axes

2015-06-30 Thread Benjamin Root
twinx()/twiny() I think is your best bet. It isn't a fully generic solution, but I think it addresses most needs. Ben Root On Mon, Jun 29, 2015 at 6:00 PM, T J tjhn...@gmail.com wrote: When I read the transformations documentation:

Re: [Matplotlib-users] Multiple Projections On Same Axes

2015-06-30 Thread Benjamin Root
Well, the way those work is essentially overlay one axes object over another along with some extra fanagiling to link up the shared axis and put ticks on opposing sides. If your projection is already available as an axes, then you are good to go that way. However, it sounds what you want is to

Re: [Matplotlib-users] TypeError: Dimensions of C (645, 536) are incompatible with X (538) and/or Y (646); see help(pcolormesh)

2015-06-30 Thread Eric Firing
On 2015/06/30 6:41 AM, Benjamin Root wrote: It looks like your X data is one element larger than it needs to be. I know pcolor() accepts grids that are (N+1,M+1), and I *think* pcolormesh does the same. It will also accept grids that are (N,M) as well, but will drop the last row and collumn.