Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

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


Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

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

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   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
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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







Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.