Message Boards Message Boards

0
|
4955 Views
|
1 Reply
|
1 Total Likes
View groups...
Share
Share this post:
GROUPS:

Incompatibility having together the directive Opacity and some options?

Posted 10 years ago

Hello

This works as intended (MMA 10.2)

Graphics3D[Cylinder[], Ticks -> Automatic, Axes -> True]

I get ticks along the x,y,z axes.

However when I add the graphics directive Opacity I have to enclose everything between curly brackets but Ticks has no effect and no error message either.

Graphics3D[{Opacity[0.5], Cylinder[], Ticks -> Automatic,  Axes -> True}]

How can I display in this case the ticks along the x,y,z axes?

Thanks

POSTED BY: wojtek potocki

Here's the correct syntax:

Graphics3D[{Opacity[0.5], Cylinder[]}, Ticks -> Automatic,  Axes -> True]
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract