MathGroup Archive 2007

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

Search the Archive

How to obtain the actual values of Ticks or FaceGrids?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg81141] How to obtain the actual values of Ticks or FaceGrids?
  • From: solidifire <barabbasgospel at yahoo.com.tw>
  • Date: Fri, 14 Sep 2007 03:28:09 -0400 (EDT)

Hello everyone.

The version of Mathematica I am using is 5.0.

If I have 2D graphics, for example, g1 = Plot[Sin[x], {x, 0, 2Pi},
GridLines -> Automatic], and I want to know the actual values of Ticks
and GridLines, I can use AbsoluteOptions[g1, Ticks] and
AbsoluteOptions[g1, GridLines] and get {Ticks -> {{{0., 0., {0.00625,
0.}, {GrayLevel[0.], AbsoluteThickness[0.25]}}, ...}, ...}} and
{GridLines -> {{{0., {RGBColor[0., 0., 0.5],
AbsoluteThickness[0.25]}}, ...}, ...}}.

However, this is not the case for 3D graphics. If g2 =
Plot3D[Sin[x*y], {x, 0, Pi}, {y, 0, Pi}, FaceGrids -> All] or g2 =
ParametricPlot3D[{x, y, Sin[x*y]}, {x, 0, Pi}, {y, 0, Pi}, FaceGrids -
> All], in either case AbsoluteOptions[g2, Ticks] only gives {Ticks ->
Automatic} and AbsoluteOptions[g2, FaceGrids] only gives {FaceGrids ->
All}.

How to obtain the actual values of Ticks or FaceGrids?

Thank you.



  • Prev by Date: Re: LegendreP error (bug?) in Mathematica
  • Next by Date: Changing Textbook.nb to label equations (chapter.section.equation)
  • Previous by thread: Re: Input Format
  • Next by thread: Changing Textbook.nb to label equations (chapter.section.equation)