フィルターのクリア

how to create surface plot with NX3 matrix?

1 回表示 (過去 30 日間)
Sameer
Sameer 2014 年 5 月 23 日
コメント済み: Image Analyst 2014 年 5 月 23 日
how do I create a surface (surf) plot with a NX3 Matrix?
also how do i add a colorbar to this plot?
Thanks.

回答 (1 件)

Image Analyst
Image Analyst 2014 年 5 月 23 日
surf(M);
colormap(jet(256));
colorbar;
  2 件のコメント
Sameer
Sameer 2014 年 5 月 23 日
It looks really sloppy. How do i make it neater.
I would like price on one axis, quantity on the other axis and possibly net present value (npv) on the z axis
Image Analyst
Image Analyst 2014 年 5 月 23 日
You can use other functions to fancy it up. Though it adds other objects - not sure if that's neater or messier. But you can use xlabel(), ylabel(), title(), test(), annotation(), axis(), grid(), set(), etc.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeSurface and Mesh Plots についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by