Laurent wrote: > >> and that sometimes the graph might be "busy" in any particular >> location one chose. Some users might also find the labeling of axes >> distracting. Anyway, please let us know what your ideas would be. >> > * For me, it would be satisfactory to draw the X axis in grey instead of > black when it is not y=0. > * An other possibility is to make continue the Y axis under the X axis > up to the next graduation. > * Add a method .NaturalAxis to the class plot which forces to put the > axis X at y=0. > > In fact, now that I know that the X axis is not always at y=0, it don't > really annoy me. It is just very strange the first time.
Mike Hansen started working on this particular problem of the axes back in January. At that time, the compromise we settled on was (I believe I have this correct): (1) a horizontal axes through the picture *always* means the x-axis (2) a vertical axes through the picture *always* means the y-axis (3) if either the horizontal or vertical axes did not exist on the picture, then the bottom or left edge of the picture had tick marks and labels, respectively. (or 3') the frame of the box *always* has tick marks, and has appropriate sides have labels if the x- or y-axis is not in the picture. Corollary: the only time you ever see two lines in the picture crossing is at the origin. Corollary: If the origin is not in the picture, then you effectively have frame axes that look like Matlab or matplotlib plots. At that time, Mike was working on modifying matplotlib to have axes that went through the picture. Apparently that is not very easy, but would be much more elegant of a solution than the current axes code that Sage has. I don't know how far mhansen got in his modifications, but the principles above still seem sound. Thanks, Jason --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
