Ask Your Question

Revision history [back]

modify axe scale

Hello,

I would like to choose which numbers appear on the axes of a graphics. If I do

sage: G = Graphics()
sage: G.set_axes_range(xmin=0,xmax=10,ymin=0,ymax=1)
sage: G.show()

Then the x axis has a small separation each 2 (ie the numbers 0,2,4,6,8,10 appear). What should I do to get it 3 (ie separation at 0,3,6,9) ?

Thanks