how to create a surface plot?

6 ビュー (過去 30 日間)
Jia Yu
Jia Yu 2018 年 12 月 11 日
回答済み: Cris LaPierre 2018 年 12 月 11 日
to generate a surface plot where two horizontial axes are time (0:0.51:0.51*195), and lightning current between 0 to 150kA, and the vertical axis is displacement(-5:1:15).
and i try to write it, like this, but is wrong, how can i change it?
[X,Y] = meshgrid(0:0.51:0.51*195,-5:1:15);
Z = 0:150;
figure
surface(X,Y,Z);

回答 (1 件)

Cris LaPierre
Cris LaPierre 2018 年 12 月 11 日

カテゴリ

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