The Math Forum

Search All of the Math Forum:

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

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

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

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



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


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

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.