MathGroup Archive 1995

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

Search the Archive

Re: Tick marks on Axes AND Frame?


>  Hello,
>  

>  Is there a way to get tick marks on both the Axes and
>  the Frame of a graph? I can get one or the other but
>  never both.
>  

>  Also, I don't seem to be able to label the tick marks on
>  the top and right sides of the Frame.  They are in the
>  right place but the label is being ignored.
>  

>  Thx, for any and all help.
>  

>  Jim T
. 


Jim, Here's a way to get both. I don't guarantee this will work in all cases,  
it may have to be modified. It may not work at all in 3-D graphs, where  
FullGraphics is much less cooperative.

gr = Plot[Sin[x],{x,-Pi,Pi}];
axes = Graphics[FullGraphics[gr][[1,2]]];
Show[gr,axes,Frame->True]

Labeling the tick marks on the top and right can in principle be done using the  
FrameTicks option, but it's far more trouble than it's worth.

Richard Mercer


  • Prev by Date: Re: Options and FilterOptions
  • Next by Date: DAE Solver in Mathematica?
  • Previous by thread: Re: Tick marks on Axes AND Frame?
  • Next by thread: Re: Lyapunov Equation