5.10 Example 10: Removal of Unwanted Axes

In this example, we use the magic axis labels nolabels, nolabelsticks and invisible, which were described in section 3.3.1. In the lower-left plot, we show how to create a graph without mirrored $ x$- and $ y$-axes on the top and right sides of the plot. In the lower-right panel, we produce a plot with only $ x$-axes visible, using them to produce a gallery showing the appearance resulting from the use of each of these magic labels. The top-left plot shows a simple sketch-graph with completely unlabelled axes. We also draw arrows over the top of the axes in this example, to give them arrowheads. Finally, in the top-right panel, we show one artistic application of plotting functions with no axes visible at all, creating a simple logo. The output is shown in figure 5.10.




PyXPlot Script:

examples/example10



Dominic Ford 2006-09-09