title: Plotting a 2d heatmap as the surface of a cube in 3D
body: <p>I am struggling with how to plot a cube with each face shaded as a 2D heatmap.</p>
  <p>See the following image for what I am trying to do:
  <a href="https://i.stack.imgur.com/LmqFF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LmqFF.png" alt="Cube with heatmap on each surface" /></a></p>
  <p>I couldn't figure out how to do it with meshgrid since I don't have any data for the inside of the cube just the surfaces. To make a contour plot for one of the surfaces I use two axes to make the meshgrid and then calculate the z data but that is just one face. So I have to do that process individually for each face.</p>
  <p>I thought I could manually add patches and rotate them to position colored with their value but that didn't seem like the best way. I was wondering if I was missing something easier.</p>