Henryk Trappmann wrote: > Hallo, > > it seems currently (sage 4.2) that the plot scale is not recomputed > when changing the aspect_ratio, but simply graphically resized. This > leads to possibly overlapping numbers, and looks somehow squeezed. > Example: > > p = plot(lambda x: 10*x, (0,1)); p.set_aspect_ratio(1); p >
I'm pretty sure the code for tick marks does not pay attention to the length of the axis in the picture, but only the length in data units. It would be an interesting problem to design a tick locator that cut out ticks based on the physical size in the picture of the axes. This would be especially interesting since usually, you don't know how big (in the image) stuff is until you actually draw it, long after the ticks are all constructed and placed. This should be forwarded to the matplotlib list and we should ask their opinion about it. Thanks, Jason -- 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