Plots and their fontsizes

29 views
Skip to first unread message

Oscar Alberto Castillo Felisola

unread,
Dec 5, 2014, 10:01:19 AM12/5/14
to sage-s...@googlegroups.com
Is it possible to choose different fontsize(s) for the axis labels and the numbers in the axis?

I'm particularly interested in the `implicit_plot` function, but if it works in a usual `plot` is good enough!!!

Thank you.

kcrisman

unread,
Dec 5, 2014, 10:32:40 AM12/5/14
to sage-s...@googlegroups.com

Is it possible to choose different fontsize(s) for the axis labels and the numbers in the axis?

I'm particularly interested in the `implicit_plot` function, but if it works in a usual `plot` is good enough!!!

Thank you.

Good question!

See http://sagemath.org/doc/reference/plotting/sage/plot/graphics.html#sage.plot.graphics.Graphics.fontsize and, in http://sagemath.org/doc/reference/plotting/sage/plot/graphics.html#sage.plot.graphics.Graphics.show, the thing for fontsize - interestingly there is no example for this, which there should be, though there is one for the related text() function text("$\\int_{a}^b f(x) dx$", (5, 20), fontsize=16, color='black') in the plot doc. See http://trac.sagemath.org/ticket/17448
Reply all
Reply to author
Forward
0 new messages