RE: Tick Labels Example
- To: mathgroup at smc.vnet.net
- Subject: [mg47197] RE: [mg47185] Tick Labels Example
- From: "Florian Jaccard" <florian.jaccard at eiaj.ch>
- Date: Tue, 30 Mar 2004 04:01:33 -0500 (EST)
- Reply-to: <florian.jaccard at eiaj.ch>
- Sender: owner-wri-mathgroup at wolfram.com
Hello Terry !
Here 2 examples to see some possibilities !
Plot[Sin[x], {x, 0, 2*Pi}, TextStyle ->
{FontFamily -> "Times", FontSlant -> "Italic",
FontWeight -> "Bold", FontSize -> 20}];
Plot[Sin[x], {x, 0, 2*Pi}, Ticks ->
{{Pi/2, {4, StyleForm["x", FontSlant -> Italic,
FontFamily -> Times, FontSize -> 16]}},
{-1, 1, {Sin[4], StyleForm["y", FontSlant ->
Italic, FontFamily -> Times, FontSize ->
16]}}}, Epilog ->
{{Dashing[{0.02}], Line[{{4, -0.2}, {4, Sin[4]},
{0, Sin[4]}}]}, {PointSize[0.02],
Point[{4, Sin[4]}]}}];
If you want, you can also initialize your textstyle in advance :
for example :
$TextStyle = {FontFamily -> "Times", FontSize -> 15}
and all the ticks will from now on have the specified style !
Meilleures salutations
Florian Jaccard
-----Message d'origine-----
De : Terry [mailto:tharter at attglobal.net]
Envoyé : lun., 29. mars 2004 11:23
À : mathgroup at smc.vnet.net
Objet : [mg47185] Tick Labels Example
Hi All,
I'm sure its been posted here before in the past (is there a
newsgroup archive that is searchable?), but could some one post an
example of how to get the Tick Labels in a 2D Plot displayed in
something other than the "Default" settings. for example, change the
font size, and the "Boldness" attribute. Any simple example will do.
I don't need to produce any new tick marks than what the default
gives, I just want them to appear more visible. Thanks in advance!!
....Terry