From: John H. <jdh...@ac...> - 2005-02-11 20:07:19
|
>>>>> "Robert" == Robert Leftwich <ro...@le...> writes: Robert> Does Matplotlib support something equivalent to GnuPlot's Robert> nomirror functionality where the x and y axes are only Robert> displayed on the bottom and left of the graph and are not Robert> 'mirrored' to the top and right? Not yet, but it's on the goals page at http://matplotlib.sf.net/goals.html under the "Axis autoranging and tick customization" section When "Detachable axis from main axes box and customizable tickline locations" are implemented, your request will be as well. The problem is that the edge of the axes is currently drawn as the edge of a rectangle, not four separate lines. You can, however, turn off the ticks on the right and top sides for tick in ax.xaxis.get_major_ticks(): tick.tick2On = False See http://matplotlib.sf.net/matplotlib.axis.html for more information on customizing the axis. Have fun! JDH |