Нарисуйте 3D бар сюжет в Mathematica

604
rfic

Я хочу нарисовать 3D-гистограмму в Mathematica, как показано в следующей ссылке

XYZ 3D-диаграмма в Excel

Как создать сетку и создать диаграмму цилиндров? Я мог сделать по-другому в Mathematica, но это было не так хорошо, как указано в ссылке выше.

1
Можете ли вы предоставить версию * Mathematica *, которую вы используете? halirutan 9 лет назад 0

1 ответ на вопрос

0
halirutan

Creating something like this yourself is really easy in this case. Make a function that creates a colored Cylinder for all your data points and then wrap Graphics3D around it with the options you like. Here is an example:

testData = RandomInteger[, ]; Graphics3D[ Function[,, }, 0.5]}] @@@ testData, FaceGrids -> {{-1, 0, 0},, }, Boxed -> True ] 

Mathematica graphics

Похожие вопросы