3

Please Consider :

cAxes = {{{0, 0, 0}, {0, 0, 1}}, {{0, 0, 0}, {0, 1, 0}}, {{0, 0,0}, {1, 0, 0}}};

Graphics3D[{Line /@ cAxes}, Boxed -> False]

enter image description here

Is it possible to have Grids inside the Box ? I guess "3D Grid"

500
  • 6,509
  • 8
  • 46
  • 80
  • 1
    You would have to do this as a separate set of graphics directives. `FaceGrids` applies to the box faces. Someone else is bound to type it out before I can. – Verbeia Nov 14 '11 at 00:27

1 Answers1

8

Here is a reworked version of what I believe Verbeia was attempting:

cAxes = {{{0, 0, 0}, {0, 0, 1}}, {{0, 0, 0}, {0, 1, 0}}, {{0, 0, 
     0}, {1, 0, 0}}};

a = Graphics3D[{Line /@ cAxes}, Boxed -> False];

b = Graphics3D[{
      GrayLevel[0.5],
      Table[Line /@ {{{x, y, 0}, {x, y, 1}},
                     {{x, 0, y}, {x, 1, y}},
                     {{0, x, y}, {1, x, y}}},
        {x, 0, 1, 0.25},
        {y, 0, 1, 0.25}
      ]
    }];

Show[a, b]

enter image description here

Sjoerd C. de Vries
  • 16,122
  • 3
  • 42
  • 94
Mr.Wizard
  • 24,179
  • 5
  • 44
  • 125
  • 3
    If you use coordinates like `Scaled[{x,y,0}]`, you get grid lines that will work for any plot range. (Of course they may not line up with the axes.) – Brett Champion Nov 14 '11 at 03:25