Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1993
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1993

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

Search the Archive

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





  • Prev by Date: update of Classes.m
  • Next by Date: Re: Mathematica Question
  • Previous by thread: Axes ticks in Plot
  • Next by thread: Contour integration