Re: FrameLabel in v6.0
- To: mathgroup at smc.vnet.net
- Subject: [mg81899] Re: [mg81851] FrameLabel in v6.0
- From: Curtis Osterhoudt <cfo at lanl.gov>
- Date: Sat, 6 Oct 2007 04:37:47 -0400 (EDT)
- Organization: LANL
- References: <200710050844.EAA00209@smc.vnet.net>
- Reply-to: cfo at lanl.gov
Confirmed here ("6.0 for Linux x86 (32-bit) (June 19, 2007)"). However, it seems that using Rasterize is the culprit. If I remove the Rasterize command and options, things look fine. On Friday 05 October 2007 02:44:32 Xerxes wrote: > Hi all, > > I've been really enjoying all the advances that have been made > with Mathematica 6.0. However, there are a few problems which > are pure headache; this is one where I cannot see a workaround: > > In v6.0, FrameLabel places the labels unacceptably far away from > the graph. See this comparison of two should-be-identical sample > plots made in v5.1 and v6.0: > > http://www.jlab.org/~sdcohen/framelabel-51.gif > http://www.jlab.org/~sdcohen/framelabel-60.png > > In v5.1, the labels are no more than 1 "x"-height from the ticks, > whereas in v6.0, they are at least 3. This means that the > improved trimming of whitespace in v6.0 is almost entirely ruined > by the addition of whitespace between the Ticks and the > FrameLabel. Does anyone know a way, short of manually > placing Text objects over a FullGraphics version of the plot to > move the labels back where they belong? Are there any plans > to rectify this behavior in future versions? > > Thanks, > Saul Cohen > > PS: I have attached the code used to generate the graphs. > > Export["framelabel-60.png", > Rasterize[ > Plot[x^2, {x, 0, 1}, Frame -> True, FrameLabel -> {x, x^2}, > TextStyle -> {FontFamily -> "Times", FontSize -> 16}, > PlotLabel -> StyleForm[$Version, FontSize -> 10], > ImageSize -> 300], ImageSize -> 300, RasterSize -> 600], > ImageSize -> 600] > > Export["framelabel-51.gif", > Plot[x^2, {x, 0, 1}, Frame -> True, > FrameLabel -> TraditionalForm /@ {x, x^2}, > TextStyle -> {FontFamily -> "Times", FontSize -> 16}, > PlotLabel -> StyleForm[$Version, FontSize -> 10], > ImageSize -> 300], > "GIF", ImageSize -> 300, ImageResolution -> 144] -- ========================================================== Curtis Osterhoudt cfo at remove_this.lanl.and_this.gov PGP Key ID: 0x4DCA2A10 Please avoid sending me Word or PowerPoint attachments See http://www.gnu.org/philosophy/no-word-attachments.html ==========================================================
- References:
- FrameLabel in v6.0
- From: Xerxes <saul.cohen@gmail.com>
- FrameLabel in v6.0