Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: How to get TicksStyle to work if Frame is set to True?
Replies: 2   Last Post: Nov 1, 2012 3:33 AM

 Messages: [ Previous | Next ]
 Alexei Boulbitch Posts: 483 Registered: 2/28/08
Re: How to get TicksStyle to work if Frame is set to True?
Posted: Nov 1, 2012 3:33 AM

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@iee.lu

Date Subject Author
10/29/12 Bob Hanlon
11/1/12 Alexei Boulbitch