#12222: default aspect ratio for geometric objects
-----------------------------------+----------------------------------------
Reporter: jason | Owner: jason, was
Type: defect | Status: needs_work
Priority: blocker | Milestone: sage-4.8
Component: graphics | Keywords:
Work_issues: | Upstream: N/A
Reviewer: Karl-Dieter Crisman | Author: Jason Grout
Merged: | Dependencies:
-----------------------------------+----------------------------------------
Changes (by kcrisman):
* status: needs_review => needs_work
* reviewer: => Karl-Dieter Crisman
Comment:
In general, this is great. So almost ready for prime time.
Okay, here's something that still doesn't look good and is in the
documentation already.
In plot.py:
{{{
f(x) = (x-3)*(x-5)*(x-7)+40
P = line([(2,0),(2,f(2))], color='black')
P += line([(8,0),(8,f(8))], color='black')
P += polygon([(2,0),(2,f(2))] + [(x, f(x)) for x in [2,2.1,..,8]] +
[(8,0),(2,0)], rgbcolor=(0.8,0.8,0.8))
P += text("$\\int_{a}^b f(x) dx$", (5, 20), fontsize=16, color='black')
P += plot(f, (1, 8.5), thickness=3)
P # show the result
}}}
The polygon one needs to have something done with it, because it's
overriding the 'automatic' and looks quite bad.
Hopefully this is the only one. Putting to 'needs work', but don't whip
up a patch immediately until I've checked the rest.
I have to say, reading through the plot doc page with pictures is quite
pleasant visually.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12222#comment:11>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.