On 02/14/2010 07:44 PM, Dana Ernst wrote:
(a) Why is the aspect ratio off?
(b) Is there a way to automatically display the axes?
(c) Can I color implicit plots?
(d) Is there a way to automatically display asymptotes (with dotted or dashed
lines)? (My example has one.)
You can also set default options as follows:
sage: var('y')
y
sage: implicit_plot.options['axes']=True # new default value
sage: implicit_plot.options['cmap']=['red'] # new default color
sage: implicit_plot(x^3+y^3-2*x*y,(x,-3,3,),(y,-3,3)) # red with axes
You can see the current defaults:
sage: implicit_plot.options
{'axes': True,
'cmap': ['red'],
'contours': (0, 0),
'fill': False,
'plot_points': 150}
and you can reset the options to the Sage defaults
sage: implicit_plot.reset()
sage: implicit_plot.options
{'contours': (0, 0), 'fill': False, 'plot_points': 150}
These options commands should work with any plotting command.
Thanks,
Jason
--
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-support
URL: http://www.sagemath.org