MathGroup Archive 1996

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

Search the Archive

Re: How to get y-axis numbers on the right?

  • To: mathgroup at
  • Subject: [mg4400] Re: How to get y-axis numbers on the right?
  • From: Xah Lee <xah at>
  • Date: Fri, 19 Jul 1996 03:06:45 -0400
  • Organization: Best Internet Communications
  • Sender: owner-wri-mathgroup at

Gabriel Berriz wrote:
>Is there a way to have Mathematica plot the vertical axis numbers
>on the right, instead of the left?
>(Or, for the horizontal axis, above, instead of below?)

Use FullGraphics to convert the axis and ticks into graphics primitives, 
then use Replace and Rule to adjust the positioning of the tick symbols.


myGraphics = Plot[ t, {t,-2,2},
Ticks->{Range[-5,5], Range[-5,5]},

	(FullGraphics@ myGraphics) /. {
		Text[ a_,b_,{c1_,0.}] -> Text[a,b,{-4 c1,0.}],
		Text[ a_,b_,{0.,c2_}] -> Text[a,b,{0.,-c2}]

If you are using a Mac, you might want to get Rotater--An excellent 
freeware for visualing wireframes in realtime, together with a 
mathematica to Rotater converter package. You can get them at

 xah at; 74631.731 at
 Mountain View, CA, USA


  • Prev by Date: fonts
  • Next by Date: Principal Component Analysys
  • Previous by thread: How to get y-axis numbers on the right?
  • Next by thread: Abort options in Windows