MathGroup Archive 2007

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

Search the Archive

Re: Special characters in the axis label?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg80734] Re: Special characters in the axis label?
  • From: Szabolcs <szhorvat at gmail.com>
  • Date: Thu, 30 Aug 2007 23:40:05 -0400 (EDT)
  • Organization: University of Bergen
  • References: <fb5olv$92s$1@smc.twtelecom.net>

Krzysztof Lebecki wrote:
> I want to make a plot with cute axis labels. That is easy, if I stick with
> simple function name, like M(i). Publication standards require that both "M"
> and "i" should be italic here, so following code works well:
> 
> ListPlot[{1, 2, 3}, PlotStyle -> PointSize[0.04], AxesLabel ->
> TraditionalForm /@ {i, M[i]}];
> 
> Now, for comparison, I want a plot of different function with a _prime_
> sign: M'(i). As you can imagine, I have no idea what to do to get it.

The simplest solution is to use a (quoted) string as the AxesLabel (to 
prevent evaluation), and format it directly using the Front End.  It is 
possible to put formatted 2D expressions into strings. :)

Formatting commands (e.g. italics) are in the Format menu, but they can 
be accessed using keyboard shortcuts as well.

Szabolcs


  • Prev by Date: Rotated Text with Full AspectRatio and ImageSize
  • Next by Date: Re: problem with parsing InputForm scientific notation (eg. 3.`*^-7)
  • Previous by thread: Re: Special characters in the axis label?
  • Next by thread: Re: Special characters in the axis label?