On 01/21/2010 07:35:13 AM, William Stein wrote:
On Thu, Jan 21, 2010 at 7:06 AM, Mike Witt <[email protected]> wrote:
> Is there a way to specify default parameters for graphics? One
specific
> example, is that I would like to specify that the default color for
> function plots, lines, points, etc be 'black' instead of 'blue'.
>
sage: plot.options
{'fillalpha': 0.5, 'detect_poles': False, 'plot_points': 200,
'thickness': 1, 'adaptive_tolerance': 0.01, 'fillcolor': 'automatic',
'alpha': 1, 'adaptive_recursion': 5, 'rgbcolor': (0, 0, 1), 'fill':
None}
sage: plot.options['rgbcolor'] = (0,0,0)
sage: plot(sin)
[outputs a black plot of sin]
I guess what I was looking for was some equivalent "options"
for graphics in general. plot.options affects the color of functions
plotted, but I'd like to change the "default" color for functions,
points, lines, etc from blue to black.
-mike
--
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