Re: How to get TicksStyle to work if Frame is set to True?
- To: undisclosed-recipients:;
- Subject: [mg128531] Re: How to get TicksStyle to work if Frame is set to True?
- From: Alexei Boulbitch <Alexei.Boulbitch at iee.lu>
- Date: Thu, 1 Nov 2012 03:18:08 -0400 (EDT)
- Approved: Steven M. Christensen <steve@smc.vnet.net>, Moderator
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- Delivered-to: l-mathgroup@wolfram.com
- Delivered-to: mathgroup-newout@smc.vnet.net
- Delivered-to: mathgroup-newsend@smc.vnet.net
- Newsgroups: comp.soft-sys.math.mathematica
Hello everyone,
My apology if this is a FAQ. My question is whether TicksStyle will work in
ListPlot when Frame-> True? If not, how do I change the size of the axis
label when the Frame option is set to True? I run my codes in Mathematica 8.0.4
p1 = ListPlot[RandomInteger[{1,10},{10,2}],TicksStyle ->
{{Red,16},{Blue,16}}, AxesOrigin->{0,0}, Frame-> False ];
p2 = ListPlot[RandomInteger[{1,10},{10,2}],TicksStyle
->{{Red,16},{Blue,16}}, AxesOrigin-> {0,0}, Frame -> True];
GraphicsGrid[{{p1,p2}}]
Sincerely
Rob Chai
Hi, Rob,
Try this:
p1 = ListPlot[RandomInteger[{1, 10}, {10, 2}],
FrameTicksStyle -> {Directive[Red, 16], Directive[Blue, 16]},
AxesOrigin -> {0, 0}, Frame -> True]
Have fun, Alexei
Alexei BOULBITCH, Dr., habil.
IEE S.A.
ZAE Weiergewan,
11, rue Edmond Reuter,
L-5326 Contern, LUXEMBOURG
Office phone : +352-2454-2566
Office fax: +352-2454-3566
mobile phone: +49 151 52 40 66 44
e-mail: alexei.boulbitch at iee.lu