RE: two fonts in Plot
- To: mathgroup at smc.vnet.net
- Subject: [mg34635] RE: [mg34585] two fonts in Plot
- From: "Annetts, Dave (E&M, North Ryde)" <David.Annetts at csiro.au>
- Date: Thu, 30 May 2002 02:55:22 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Hi David,
> Does anyone know to get Mathematica 4.1 to use one font in
> AxesLabel and
> another font to label the ticks on the axes all within the
> same Plot? I can
> achieve this effect with Adobe Illustrator 10 (Type->Find
> Font...) or with
> TeX's psfrag macro. However, I would prefer to use Mathematica only.
Use StyleForm ....
Plot[x^2, {x, -2, 2},
FrameLabel -> {StyleForm["X-axis", FontFamily -> "Helvetica",
FontSize -> 10],
StyleForm["Y-axis", FontFamily -> "Times", FontSize -> 12,
FontWeight -> "Bold"]},
PlotLabel ->
StyleForm["PlotLabel", FontFamily -> "Courier", FontSize -> 14,
FontWeight -> "Bold", FontSlant -> "Oblique"]
];
Regards,
Dave.
--------------------------------------------------------
Dr. David Annetts EM Modelling Analyst
Tel: (+612) 9490 5416 CSIRO DEM, North Ryde
Fax: (+612) 9490 5467 David.Annetts at csiro.au
Include "usual_disclaimers"
--------------------------------------------------------