Re: Left-aligned PlotLabel
- To: mathgroup at smc.vnet.net
- Subject: [mg73495] Re: Left-aligned PlotLabel
- From: "dimitris" <dimmechan at yahoo.com>
- Date: Tue, 20 Feb 2007 06:17:23 -0500 (EST)
- References: <er9ckd$d75$1@smc.vnet.net>
The following setting is quite elementary and not general but it can show you the lines of proceeding. Consider the graph gr1=Plot[x, {x, 0, 1}, PlotLabel -> "label to be alligned left", Axes - > False, Frame -> {True, True, False, False}]; Let fg=FullGraphics[gr1]; Then what you want can be done by the commands Replace[fg, Text[text_String, {x_, y_}, {z_, w_}] -> Text[text, {x - 0=2E31, y}, {z, w}], 3]; Show[%, PlotRange -> All, ImageSize -> {400, 300}]; Hope that this helps a little! Regards Dimitris =CF/=C7 LBoogie =DD=E3=F1=E1=F8=E5: > Hi, > > I have a need to left-align my plot labels. However, I have many > functions that returns a plot with its label centered using PlotLabel. > > I thought about using the Rectangle function to place a heading above > the plot and then use something like Text to place a left-aligned label. > I thought before I try that maybe there is something much simpler. > Is there? > > Thanks in advance.