Re: Axes ticks in Plot
- To: mathgroup at yoda.physics.unc.edu
- Subject: Re: Axes ticks in Plot
- From: nb at cs.stanford.edu
- Date: Mon, 28 Jun 93 23:01:37 PDT
> Is there a way to change the font for the axes tickmark labels?
Yes, you can do so with the option DefaultFont.
Below are two examples that appear in Chapter 1 of
The Mathematica Graphics Guidebook (Addison-Wesley, 1994)
by Cameron Smith with Nancy Blachman.
Plot[Sin[x], {x, 0, 2Pi},
DefaultFont -> {"Times-Italic", 8}
]
Plot[Sin[x], {x, 0, 2Pi},
DefaultFont -> {"Symbol", 8},
Ticks->{{0,{Pi/2,"p/2"},{Pi,"p"},{3Pi/2,"3p/2"},{2Pi,"2p"}},
{-1,-.5,0,.5,1}}
]
Nancy