3-d plotting over a domain

How can I sketch a 3-d graph over a specified domain? For example, if I had y=x^2 and wanted to graph it over {(x,y):-3<=x, y<=3) If I didn't want the 3-d graph, I could just use plot, but I can't figure out how to graph it over the domain and have it be 3-d.

回答 (1 件)

Joseph Cheng
Joseph Cheng 2014 年 6 月 27 日

0 投票

check out the functions surf(), plot3() and any of the related functions at the end of their documentation.

カテゴリ

ヘルプ センター および File ExchangeLine Plots についてさらに検索

質問済み:

2014 年 6 月 27 日

回答済み:

2014 年 6 月 27 日

Community Treasure Hunt

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

Start Hunting!

Translated by