I'm trying to make a 3D bar chart plot with transparent faces on the sides, but for some reason it's very hard to remove them (or to make them transparent at least). I tried looking through the documentation of both BarChart3D and Graphics3D (which has similar options), but to no avail. Here's a small example that illustrates the problem:

A = {{1, 2}, {3, 4}};
BarChart3D[A, ChartLayout -> "Grid", Boxed -> True]

And the output:

Simple BarChart3D plot with faces present

To be clear: I'm attempting to get rid of the two yellowish sides that are at the bottom and back-right here.


1 Answer 1

A = {{1, 2}, {3, 4}};
BarChart3D[A, ChartLayout -> "Grid", Boxed -> True, Method -> {"Canvas" -> None}]

Mathematica graphics

  • $\begingroup$ That is fantastic, thank you! $\endgroup$
    – Julius
    Aug 4, 2015 at 15:46
  • $\begingroup$ This solution is incomplete and produces wrong results. Somehow after the removing the canvas the bars are re-scaled to fill the whole height of the figure. I would like to find a method to remove the canvas without re-scaling the bar heights. $\endgroup$
    – surfer
    Feb 19, 2017 at 9:09
  • $\begingroup$ Welcome to Mathematica.SE. However, this is not an answer. If you have a new question, please pose it as such. Best wishes $\endgroup$
    – bbgodfrey
    Feb 19, 2017 at 9:28
  • $\begingroup$ @surfer I have converted your "answer" into a comment. However it is unlikely that you will get a reply as Dr. belisarius has not been active in some time. You should post a new question if you have one. $\endgroup$
    – Mr.Wizard
    Feb 19, 2017 at 9:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.