|
|
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
|
|