Re: GraphicsGrid crashes front end?
- To: mathgroup at smc.vnet.net
- Subject: [mg104105] Re: GraphicsGrid crashes front end?
- From: John Fultz <jfultz at wolfram.com>
- Date: Mon, 19 Oct 2009 07:13:01 -0400 (EDT)
- Reply-to: jfultz at wolfram.com
On Sun, 18 Oct 2009 05:26:50 -0400 (EDT), oshaughn wrote:
> I am seeing an odd circumstance where GraphicsGrid of a plot with
> moderately complex frame labels crashes the front end repeatably:
>
> pRef = Plot[ Log[10, 0.3] - x, {x,-1,2}, FrameLabel->{"log L (mJy
> kpc^2)", Log[Subscript[Superscript[N,"*"],psr]/Subscript[N,psr]]},
> Frame->True];
>
> GraphicsGrid[{{pRef}, {pRef}}];
>
> I know I can get something like Log[Subscript[SuperStar[N], psr]/
> Subscript[N, psr]] to render almost as nicely. I'm wondering why this
> particular instance crashes and what sort of structures in frame
> labels I should avoid.
>
> -Richard
You can use ExpressionCell as a fairly transparent workaround for the crash:
pRef = Plot[Log[10, 0.3] - x, {x, -1, 2}, FrameLabel -> {"log L (mJy
kpc^2)",
ExpressionCell[
Log[Subscript[Superscript[N, "*"], psr]/Subscript[N, psr]]]},
Frame -> True]
The crash has been fixed in development for the next major release of
Mathematica.
Sincerely,
John Fultz
jfultz at wolfram.com
User Interface Group
Wolfram Research, Inc.