Re: Re: Precision graphics
- To: mathgroup at smc.vnet.net
- Subject: [mg16823] Re: [mg16631] Re: Precision graphics
- From: "Nicolas B.E. Sawyer" <nbes at eee.nott.ac.uk>
- Date: Tue, 30 Mar 1999 02:35:22 -0500
- Organization: University of Nottingham
- References: <7d73kj$chv@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
BobHanlon at aol.com wrote: > > In a message dated 3/19/99 11:13:43 PM, evansNOSPAM at gte.net writes: > > >>For example, suppose I have a long "PlotLabel" with > >>a long "AxesLabel" (on the vertical axis) then this > >>can cause these labels to be superimposed on each > >>other -- not very nice to look at. > >>Also, the length of the AxesLabel can effect the size of > >>the data plot display region; i.e. the larger the vertical axis > >>label the smaller the actual data plot. > >>Often one would like to align vertically several plots > >>and this can be quite tedious when sizes of the > >>plots are changed automatically. > > > > > >Speaking for myself I have dropped suggestions in the WRI box on both > >counts. > > > >(a) Horizontal tick labels that print vertically upwards to avoid > >overlapping text. > > > >(b) Menu-based graphics alignment command that uses the actual graphics > >frame rectangle (plot area) instead of the overall plot size (which includes > >text labels) to align graphics. > > > >No word back on any of this. > > > > To keep the labels from overlapping with each other or with the tick labels, > I use line breaks "\n". Also, to make the plots align, make sure that all of > the labels are the same number of lines. > > p1 = Plot[Sin[x], {x, 0, 6}, DisplayFunction -> Identity, PlotLabel -> > "This is a very long PlotLabel\nwhich needs to be broken up\ninto \ > multiple lines\n", > Frame -> True, FrameLabel -> {"\nx", > "This is a very long frame\nlabel which also needs to\nbe broken up \ > and spaced\naway from the axis\n"}]; > > p2 = Plot[Cos[x], {x, 0, 6}, DisplayFunction -> Identity, Frame -> True, > PlotLabel -> " \n \nShorter PlotLabel\n", > FrameLabel -> {"\nx", " \n \n \nShorter FrameLabel\n"}]; > > Show[GraphicsArray[{p1, p2}], ImageSize -> {680, 200}]; > > Show[GraphicsArray[{{p1}, {p2}}], ImageSize -> {386, 500}]; > > Bob Hanlon How does one centre the rows of text in the long labels? -- Nicolas B.E. Sawyer Department of Electrical and Electronic Engineering, University of Nottingham, University Park, Nottingham, NG7 2RD. Tel: +44 115 9515151 ext 12028 Fax: +44 115 9515616 E-mail: nbes at eee.nottingham.ac.uk