Re: Scaled tick and label FontSizes for plots
- To: mathgroup at smc.vnet.net
- Subject: [mg107099] Re: [mg107078] Scaled tick and label FontSizes for plots
- From: Patrick Scheibe <pscheibe at trm.uni-leipzig.de>
- Date: Tue, 2 Feb 2010 06:54:30 -0500 (EST)
- References: <201002020828.DAA08777@smc.vnet.net>
Hi, a hint comes from the documentation of AxesLabel: "Overall style of all the label-like elements can be specified by LabelStyle" it seems LabelStyle and TickStyle interfere with eachother and Plot[x^2, {x, -1, 1}, AxesLabel -> {"x", "f(x)"}, LabelStyle -> Directive[FontSize -> Scaled[0.05]]] should be what you want. Cheers Patrick On Tue, 2010-02-02 at 03:28 -0500, Robert Rosenbaum wrote: > It would seem that the code below should give the same font size to the > tick labels as it does to the axis labels, yet it does not (on my 7.0.0 > running on OS 10.6.2). Does anyone know what's going on here? > > Plot[x^2, {x, -1, 1}, AxesLabel -> {"x", "f(x)"}, > LabelStyle -> Directive[FontSize -> Scaled[.05]], > TicksStyle -> Directive[FontSize -> Scaled[.05]]] > > > > > Best, > Robert > > > > > >
- References:
- Scaled tick and label FontSizes for plots
- From: Robert Rosenbaum <robertr@math.uh.edu>
- Scaled tick and label FontSizes for plots