Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: GraphicsGrid crashes front end?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg104089] Re: GraphicsGrid crashes front end?
  • From: "David Park" <djmpark at comcast.net>
  • Date: Mon, 19 Oct 2009 07:09:52 -0400 (EDT)
  • References: <2165595.1255858856240.JavaMail.root@n11>

The use of N is problematic since it has a defined meaning in Mathematica.
However, you could use SuperStar[N] or SuperStar["N"].

pRef2 = Plot[Log[10, 0.3] - x, {x, -1, 2}, 
  FrameLabel -> {"log L (mJy\nkpc^2)", 
    Log[Subscript[SuperStar["N"], psr]/Subscript["N", psr]]},
  Frame -> True,
  ImageSize -> 300]

GraphicsGrid[{{pRef2}, {pRef2}}]

now works.


David Park
djmpark at comcast.net
http://home.comcast.net/~djmpark/  




From: oshaughn [mailto:oshaughn at gravity.psu.edu] 

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




  • Prev by Date: mathematica@linux, character encoding
  • Next by Date: Re: how to show for what values the function is
  • Previous by thread: Re: GraphicsGrid crashes front end?
  • Next by thread: Re: GraphicsGrid crashes front end?