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

