Surface plot of Simulation Data

1 回表示 (過去 30 日間)
Joel
Joel 2015 年 7 月 24 日
回答済み: Cindy Solomon 2015 年 7 月 27 日
Hello there,
I have data points for pressure and electric power for 4 different temperatures. Instead of plotting them individually I want to create a surface to show the relationship between them. I have only data points.
I tried using surf and mesh but I struggle entering only my data. I'm not too familiar with meshgrid and ndgrid which I also tried futile.
Any help is welcome.
Thank you
Joel
  1 件のコメント
Walter Roberson
Walter Roberson 2015 年 7 月 25 日
Do you mean that you have a total of 8 different values: one pressure and one power each for each of the 4 temperatures?

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

回答 (1 件)

Cindy Solomon
Cindy Solomon 2015 年 7 月 27 日
Hi Joel,
I will second Walter's clarification question, but I also wanted to point you to this article on using meshgrid - in particular, the section on 2-variable functions. It shows a similar example to what I think you are trying to do that can be generalized to other use cases.
Hope this helps!

カテゴリ

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