Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

Re: FrameTicks bug

  • To: mathgroup at smc.vnet.net
  • Subject: [mg58637] Re: [mg58630] FrameTicks bug
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Mon, 11 Jul 2005 04:19:22 -0400 (EDT)
  • Reply-to: hanlonr at cox.net
  • Sender: owner-wri-mathgroup at wolfram.com

plt=Plot[x,{x,0,1},
      Frame->True, 
      Axes->False,
      DisplayFunction->Identity];

If you want the tick labels on the top but not the bottom:

Show[plt,
    FrameTicks->(FrameTicks/.
            AbsoluteOptions[plt])[[{3,2,1,4}]],
    DisplayFunction->$DisplayFunction];

If you want tick labels on both top and bottom:

Show[plt,
    FrameTicks->(FrameTicks/.
            AbsoluteOptions[plt])[[{1,2,1,4}]],
    DisplayFunction->$DisplayFunction];


Bob Hanlon

> 
> From: AES <siegman at stanford.edu>
To: mathgroup at smc.vnet.net
> Date: 2005/07/10 Sun PM 04:51:56 EDT
> Subject: [mg58637] [mg58630]  FrameTicks bug
> 
> Well, I guess it's not actually a bug, but . . . 
> 
> 
> FrameTicks -> {Automatic, Automatic, None, None}
> 
> puts tick marks AND numerical labels on bottom and left edges.
> 
> 
> FrameTicks -> {None, Automatic, Automatic, None}
> 
> puts tick marks and numerical labels on left edge, tick
> marks and NO NUMERICAL LABELS on top edge.
> 
> 
> How can I put the same Automatic numbers that would 
> have been created for the bottom edge, on the top edge?
> 
> 


  • Prev by Date: Planetarium.m
  • Next by Date: //N bug, but WHY?
  • Previous by thread: Planetarium.m
  • Next by thread: Re: FrameTicks bug