Message Boards Message Boards


Use the Boxed-> False and Axes-> True options in a graphic?

Posted 6 months ago
2 Replies
2 Total Likes

This should be an extremely easy project to write but it has been giving me a head ache. All I want to do is rotate a line 3 dimensionally but when I run the program the graphics box won't disappear nor will the axes appear despite me calling on them to do so in the code. I don't know what I'm missing, I'm doing what the guide says to do but apparently there is a hidden step that isn't mentioned. The code is attached it's extremely brief.

2 Replies

You can delete or add any number of options

f[x_, op__] := 
Graphics3D[{Red, Line[{{0, 0, 0}, {Re[(-1)^x], Im[(-1)^x], 0}}]}, op]
f[a, Axes -> True, Boxed -> False, BoxRatios -> {1, 1, 1}, 
AxesOrigin -> {0, 0, 0}], {a, 0, 1}]


Hi Chris,

See the attached copy of your notebook which I've modified. The main changes are highlighted. It should be self-explanatory. Hope this helps.


Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract