MathGroup Archive 1992

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

Search the Archive

Re: FontForm


Thomas Wong (tom at Kronecker.baruch.cuny.edu) writes

>  Hi mathgroup, Can FontForm take a double quotes inside?  That is,
>      FontForm["Plot[x,{x,1,10},AxesLabel->{"x","y"}",{"bold",15}].
>      I have tried the above argument in Plot but the double 
>      quotes on x and y generate something strange in the 
>      output graphics...

Just use the "literal" string character \ (as on p. 366).

   FontForm["Plot[x,{x,1,10},AxesLabel->{\"x\",\"y\"}",{"bold",15}]

Are you by any chance looking for a way to display a plot with its 
label being the command that generated it? If so, you can use the 
method given in an issue of the Mathematica Journal ( 1(4):48 ):

SetOptions[Plot, PlotLabel :> InString[$Line]];

--Todd Gayley
--University of Arizona





  • Prev by Date: Alternative zero-based subscripting code
  • Next by Date: Re: Derivative
  • Previous by thread: FontForm
  • Next by thread: need advise