How can I plot 2 different inputs and 1 output using x-y axis?
I used plot3, but the result was a 3D.

5 件のコメント

Walter Roberson
Walter Roberson 2018 年 12 月 19 日
Could you link to an example of what the output should look like?
Ahmed Abdulwahid
Ahmed Abdulwahid 2018 年 12 月 19 日
Thank you Walter, the output parameters is the liquid temperature. This liquid temperature increased or reduced as a result of increasing or decreasing the inlet flowrate or inlet temperature or both.
That's why i would reprecents these three parapeters in x-y figure by using y-axixes, the lower x-axis and the upper x-axis.
Walter Roberson
Walter Roberson 2018 年 12 月 20 日
Just as an example are you looking for something like the example plot for https://www.mathworks.com/matlabcentral/fileexchange/9817-x-steam-thermodynamic-properties-of-water-and-steam ?
Ahmed Abdulwahid
Ahmed Abdulwahid 2018 年 12 月 20 日
example.png
Ahmed Abdulwahid
Ahmed Abdulwahid 2018 年 12 月 20 日
Hi Walter,
I'm looking to represent my data like this.
Cheers

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

 採用された回答

Cris LaPierre
Cris LaPierre 2018 年 12 月 19 日

0 投票

I would suggest taking a look at chapter 9 (plotting) in MATLAB Onramp. It is interactive, and may be a great way to learn other helpful things about MATLAB.

1 件のコメント

Ahmed Abdulwahid
Ahmed Abdulwahid 2018 年 12 月 20 日
Thank you Cris. It is really helpful.

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

その他の回答 (2 件)

KSSV
KSSV 2018 年 12 月 19 日

0 投票

Red about yyaxis ..

1 件のコメント

Ahmed Abdulwahid
Ahmed Abdulwahid 2018 年 12 月 20 日
Many thanks KSSV, I just tried this option, but I need more investigation to see if it suits me.

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

madhan ravi
madhan ravi 2018 年 12 月 19 日

0 投票

doc ezplot

1 件のコメント

Ahmed Abdulwahid
Ahmed Abdulwahid 2018 年 12 月 20 日
Thank you madhan for your advaise.

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

カテゴリ

ヘルプ センター および File Exchange で 2-D and 3-D Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by