Aspect ratio on parametric plots

1 view
Skip to first unread message

Hector Villafuerte

unread,
Feb 10, 2008, 12:49:34 PM2/10/08
to sage-...@googlegroups.com
Hi,
I'm doing some parametric plots like:

var('t')
x = cos(t)
y = 5*sin(t)
p = parametric_plot((x,y),0,2*pi)
p.show(aspect_ratio=10)

The problem is that the aspect ratio is not right, and the image I get
is the same regardless of the 'aspect_ratio' I choose.
Is this a bug? I'm using SAGE Version 2.9.2, on Mac OS X 10.4.
Thanks in advance!
--
Hector

William Stein

unread,
Feb 10, 2008, 1:07:10 PM2/10/08
to sage-...@googlegroups.com
The aspect_ratio options wasn't even implemented until sage-2.10.1.
However, there is a known
bug in how it works in that version, which was fixed for sage-2.10.2,
which will be released later
this week. Use figsize=[x,y] for the time being.

--
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

Reply all
Reply to author
Forward
0 new messages