Source code for Matlab surf plot

1 回表示 (過去 30 日間)
Kyle Wang
Kyle Wang 2015 年 3 月 29 日
コメント済み: Kyle Wang 2015 年 3 月 30 日
I created a surf plot, then use "shading", "camlight" and custom "colormap" to make it look great. In the next step, I would like to use C++ to do the same thing for some open source project. I'm wondering if it's possible I could extract those Matlab source code to have look its built-in mechanism, say, how matlab calls openGL? If not, what's the easiest way I could convert my Matlab codes to C++? To my concern, coder has limited support to matlab functions, especially plot related functions. Many thanks for any suggestion.

回答 (2 件)

John D'Errico
John D'Errico 2015 年 3 月 29 日
Sorry, they don't give out MATLAB source code for built-in functions.
  1 件のコメント
Kyle Wang
Kyle Wang 2015 年 3 月 30 日
Yes, I understand that. Just wondering how Matlab calls openGL?

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


Geant Bepi
Geant Bepi 2015 年 3 月 30 日
try the open source software similar to Matlab. That might help you. Not sure though.

カテゴリ

Help Center および File ExchangeLighting, Transparency, and Shading についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by