How can I draw a plot like this one? I want to be able to specify the x-axis, y-axis, and z-axis ticks and the number of bars in the plot.

|
How can I draw a plot like this one? I want to be able to specify the x-axis, y-axis, and z-axis ticks and the number of bars in the plot.
|
||||
| show 2 more comments |
|
Since the Google reference isn't forthcoming, it's probably easier to fake it like this:
|
|||||||||||
|
|
You could do something similar to the given example using Histogram3D, which comes with many options. You need to specify the data you have in hand in your question. If you really need a flat top, as you show in your example, you could use the function |
||||
|
You really need to specify better what you want. In case you want to draw 3D rectangular columns with some gap in between, the following code would do the work:
|
|||
f[x_, y_, n_] := Total@Flatten@ Table[UnitBox[(x - a)/100, (y - b)/100], {a, 200, n 200, 200}, {b, 200, n 200, 200}];– belisarius Feb 25 at 14:30