简体   繁体   English

在MATLAB中可视化平面分区

[英]Visualizing Plane Partitions in MATLAB

I wrote a simple MATLAB script to generate a 50x50 matrix $D$, which is a plane partition . 我写了一个简单的MATLAB脚本来生成一个50x50矩阵$ D $,这是一个平面分区

Plane partitions are usually represented graphically as stacks of cubes. 平面分区通常以图形方式表示为多维数据集的堆栈。 How do I realise this visualisation in MATLAB? 如何在MATLAB中实现这种可视化? I have played around with the HIST function to no avail. 我玩过HIST功能无济于事。 I got close with mesh(D), but the results were pretty ugly... 我接近网格(D),但结果非常难看......

$$ $$ 嘿!我不丑! $$ $$

Your help is much appreciated. 非常感谢您的帮助。

Adding an answer for completeness: 添加完整性的答案:

Use the bar3 function as explained in the docs . 使用bar3函数,如文档中所述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM