SAGE plot options

http://doc.sagemath.org/html/en/reference/plotting/sage/plot/colors.html animation functions and options
http://doc.sagemath.org/html/en/reference/plotting/sage/plot/animate.html

plot text options

e.g.
Larger font, bold, colored red and transparent text:
t=text(“I had a dream!”, (2,12), alpha=0.3, fontsize=’large’, fontweight=’bold’, color=’red’)
show(t)

• fontsize – How big the text is. It is either an integer that specifies the size in points or a string which specifies a size (one of ‘xx-small’, ‘x-small’, ‘small’, ‘medium’, ‘large’, ‘x-large’, ‘xx-large’)
• alpha – 0.0 – 1.0 transparency
• color – as a string, a #ffee3f hex code etc etc
• fontstyle – A string either ‘normal’, ‘italique’ or ‘oblique’.
• fontweight – A numeric value in the range 0-1000 or a string (one of ‘ultralight’, ‘light’, ‘normal’, ‘regular’, ‘book’,’ ‘medium’, ‘roman’, ‘semibold’, ‘demibold’, ‘demi’, ‘bold’, ‘heavy’, ‘extra bold’, ‘black’)
• rgbcolor – The color as an RGB tuple e.g. (1,0,0) = red
• hue – The color given as a hue
• rotation – How to rotate the text: angle in degrees, vertical, horizontal
• vertical_alignment – How to align vertically: top, center, bottom
• horizontal_alignment – How to align horizontally: left, center, right
• axis_coords – (default: False) if True, use axis coordinates, so that (0,0) is the lower left and (1,1) upper right, regardless of the x and y range of plotted values.
• bounding_box – a dictionary specifying a bounding box. See the examples (or the matplotlib documentation).
• label – a string

bounding box example:

text(“So good”, (0,0), bounding_box={‘boxstyle’:’round’, ‘fc’:’w’})
The possible options of the bounding box are ‘boxstyle’ (one of ‘larrow’, ‘rarrow’, ‘round’, ‘round4’, ‘roundtooth’, ‘sawtooth’, ‘square’), ‘fc’ or ‘facecolor’, ‘ec’ or ‘edgecolor’, ‘ha’ or horizontalalignment’, ‘va’ or ‘verticalalignment’, ‘lw’ or ‘linewidth’.

A text with a background color:
text(“So good”, (-2,2), background_color=’red’)

LINE ONLY OPTIONS

matplotlib line options:

label – a string

linestyles
filledmarkers
unfilledmarkers

matplotlib colour options:
matplotlibcolours
misccolormaps
puscmaps
qualcmaps
seqcmaps
divcmaps

SHOW OPTIONS

figsize – size of plot
ymin, ymax – put these in the ‘show’ section.
i.e.

f=plot( … ,xmin=,xmax=)
f+=plot( … xmin=,xmax=)
f+=text( … )
etc
then

show(f,ymax=,ymin=, … )