Hi everyone, Today I was writing a SAGE tip for my blog, about using customized ticks in plots, and I realize that,
sage: p = plot(sin(x), (x, -7, 7), ticks=pi/2, tick_formatter=pi, axes_labels=['$x$','$\\sin(x)$'], fontsize=14, color='red') sage: p.save('/home/me/fig1.pdf') sage: q = plot(2*x+1,(x,0,5),ticks=[[0,1,e,pi,sqrt(20)], 2],tick_formatter="latex") sage: q.save('/home/me/fig2.pdf') saves the figure but the customized ticks are not there, but the usual numbering. Is this a bug? I could save this only by showing the figure and save it from the image viewer (I run Ubuntu 10.10). An extra comment: Is it possible to write $\frac{3\pi}{2}#$ in the ticks instead of $\frac{3}{2}\pi$ ? Just for the sake of compactness. Thank you all! -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org