MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: How to get TicksStyle to work if Frame is set to True?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg128526] Re: [mg128520] How to get TicksStyle to work if Frame is set to True?
  • From: Bob Hanlon <hanlonr357 at gmail.com>
  • Date: Sun, 28 Oct 2012 23:40:07 -0400 (EDT)
  • 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
  • References: <20121028055439.017E26802@smc.vnet.net>

Use FrameTicksStyle

p2 = ListPlot[
  Tooltip[
   RandomInteger[{1, 10}, {10, 2}]],
  FrameTicksStyle ->
   {{Red, 16}, {Blue, 16}},
  Frame -> True,
  Axes -> False,
  AxesOrigin -> {0, 0}]


Bob Hanlon


On Sun, Oct 28, 2012 at 1:54 AM, Rob Y. H. Chai <yhchai at ucdavis.edu> wrote:
> 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
>
>
>
>



  • Prev by Date: Re: Subscript in parameter names
  • Next by Date: nnum and NumberQ
  • Previous by thread: How to get TicksStyle to work if Frame is set to True?
  • Next by thread: nnum and NumberQ