[sage-devel] Re: 2D and 3D aspect ratio inconsistencies

2011-06-01 Thread kcrisman
> 3D : > === > > In 3d, the default aspect ratio is [1,1,1]. However, cube do not look like > cube: > > sage: G = cube((10,5,3)) + cube((-7,-3,0)) > sage: G.aspect_ratio() > [1.0, 1.0, 1.0] > sage: G But each one does individually: H = cube((10,5,3)) H And the other things do work on individu

[sage-devel] Re: 2D and 3D aspect ratio inconsistencies

2011-06-01 Thread kcrisman
This may not be directly related, but see http://trac.sagemath.org/sage_trac/ticket/2100 for a long-standing ticket that Jason and I need to finish up - we basically just need to agree on defaults, but the patch should apply nicely, or at least used to. The default is from matplotlib and shouldn

[sage-devel] Re: 2D and 3D aspect ratio inconsistencies

2011-06-01 Thread slabbe
> Meanwhile, do you know a oneliner (simpler than the one above) that > draw 3d graphics object with aspect ratio 1, i.e. where cube looks > like cube? BTW, I know this works : sage: G = cube((10,5,3)) + cube((-7,-3,0)) sage: G.show(aspect_ratio=1) but the problem is that this returns None and