Re: Greek characters in label
- To: mathgroup at christensen.cybernetics.net
- Subject: [mg460] Re: [mg448] Greek characters in label
- From: Paul E Howland <PEHOWLAND at taz.dra.hmg.gb>
- Date: Mon, 13 Feb 1995 09:16:59 +0200 (IST)
On Tue, 7 Feb 1995, Bill Titus wrote: > I would like to include a greek letter in a frame label, mixed in > with some text and numbers -- something like > > FrameLabel -> {"t", "x", StringForm["w = ``", myVal], ""} > > but where w would be the greek letter omega. Is there a way to do > this? This question was asked before. Luckily I saved the answer, so here it is: : From Paul=Rubin%Management%Business at banyan.cl.msu.edu Mon Feb 13 : 09:12:55 1995 Date: Mon, 6 JUN 94 13:22:57 EDT : From: Paul=Rubin%Management%Business at banyan.cl.msu.edu : To: mathgroup at yoda.physics.unc.edu : Subject: re: Fonts in Plots : : roman scoccimarro <erscocci at midway.uchicago.edu> wrote: : : >I would like to use greek letters (as well as roman letters) and : >subindexes when labelling plots, is there any way to do that? : : Actually, I just answered the same question on sci.math.symbolic : Friday. An economy of scale! :) : : Use FontForm to specify the label, and use the PostScript "Symbol" font to : get Greek letters. Here's an example that labels the vertical axis "alpha": : : Plot[ x^2, {x, -5, 5}, AxesLabel -> {x, FontForm[ "a", {"Symbol", 10} ]} ] : : I'm not sure off-hand how you do sub/superscripts, but it can be done (as : long as you're using PostScript for screen display and/or printing). : If you can't do them with FontForm[], try PostScript[]. Of course, : you'll have to know the equivalent characters to the Greek letters in : Symbol font or the PS codes for subs and supers. : : ************************************************************************** : * Paul A. Rubin Phone: (517) 336-3509 * : * Department of Management Fax: (517) 336-1111 * : * Eli Broad Graduate School of Management Net: RUBIN at MSU.EDU * : * Michigan State University * : * East Lansing, MI 48824-1122 (USA) * : **************************************************************************