3D Plotting with symbolic variables

24 ビュー (過去 30 日間)
Ali Almakhmari
Ali Almakhmari 2022 年 3 月 29 日
コメント済み: Torsten 2022 年 3 月 30 日
I want to 3D plot the T_AP_C1, T_AP_C2, T_AP_C3 varibales using a 3D plot with "mv" on the x-axis, "T_C" on the y-axis, and "T_AP_O" on the z-axis. And T_AP_C1, T_AP_C2, T_AP_C3 can be on a colorbar I guess. I tired doing it on my own and kept running into different errors along the way. I hope someone can help me do it.
syms mv T_C T_AP_O T_AP_C1 T_AP_C2 T_AP_C3
e1 = T_AP_C1 == T_AP_O*exp(-(6165254235452531*mv)/144115188075855872) - T_C*(exp(-(6165254235452531*mv)/144115188075855872) - 1);
e2 = T_AP_C2 == T_AP_O*exp(-(1488810760770343*mv)/9007199254740992) - T_C*(exp(-(1488810760770343*mv)/9007199254740992) - 1);
e3 = T_AP_C3 == T_AP_O*exp(-(6565192276897483*mv)/18014398509481984) - T_C*(exp(-(6565192276897483*mv)/18014398509481984) - 1);
  5 件のコメント
Ali Almakhmari
Ali Almakhmari 2022 年 3 月 30 日
編集済み: Ali Almakhmari 2022 年 3 月 30 日
I know that you can plot in the x-axis, y-axis, and z-axis and then add a colorbar to refect the relative magntiude as a color
Torsten
Torsten 2022 年 3 月 30 日
What should be shown in the graphics ?
Only the coordinate axes and a colorbar ? I guess not.
So maybe you want to show the value of T_AP_C1, e.g., in a two-dimensional plane in the (mv,T_C,T_AP_O) coordinate system ?

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

回答 (1 件)

Sulaymon Eshkabilov
Sulaymon Eshkabilov 2022 年 3 月 30 日
If it is a symbolic expression, use fmesh(). Here is a good doc how to employ it: https://www.mathworks.com/help/matlab/ref/fmesh.html

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by