On Sat, Apr 12, 2008 at 8:22 PM, pong <[EMAIL PROTECTED]> wrote: > > I want to label several curves on a graph, say y=x^2 and y=x^3-5, with > the labeling appear next to the curve. > I know I can use text('y=x^2',...) to achieve that. But how can I use > the "nice form" i.e. x (superscript 2) instead of x^2? I couldn't find > any example of this kind for instance in sage_for_newbies.
This might work for you: text('$x^2$', (3,3), rgbcolor='black', fontsize=20 ) William --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---