Vertically Aligned Graphics Arrays
- To: mathgroup at smc.vnet.net
- Subject: [mg21400] Vertically Aligned Graphics Arrays
- From: "David Park" <djmp at earthlink.net>
- Date: Tue, 4 Jan 2000 02:12:32 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Dear MathGroup, Every now and then there are complaints on MathGroup about the difficulty of aligning plots with GraphicsArray. Tom Wickham-Jones explains the reason for this on page 176 of his valuable book Mathematica Graphics. The problem, and my own first poor solution, grated on me enough that I have produced a notebook with three different routines for making vertically aligned plots. One routine, VerticalPlots, dispenses with GraphicsArray altogether and simply puts each graph in its own horizontal segment of a single plot. It is easy to use and alignment is automatic. It is best for displaying more than a few graphs. It main disadvantage is that the y axis gives only the range of each graph. It works only for functions that would be plotted with Plot. A second routine, AlignedGraphicsPlots, uses a GraphicsArray. It is best when only two or three graphs are to be compared. It uses some ideas put forward by Bob Hanlon. Again it is limited to expressions that can be plotted with Plot. A third routine, AlignedGraphicsPlots2, also allows ListPlots and MultipleListPlots to be used in the GraphicsArray. Lastly there is an example of using my DrawingPaper package to hand craft more complex aligned graphics that include density or contour plots. The notebook, AlignedGraphics.nb may be down loaded from my web site. David Park djmp at earthlink.net http://home.earthlink.net/~djmp/