First, in mathcad15, the output is as shown below.
The result of calculating this program in Mathcad Prime 10 through a converter is as follows.
I would like to know how to deal with the error here.
The error is
"Plotting failed. Replace complex values and NaN with real values or check the units."
"Scale has no units. Insert units next to the trace definition."
The functions for each are as follows.
Please let me know if you have any questions.
Translated by the moderation using Google Translate
-----------------------------------------------------------------------------------------------
まずmathcad15では下図のように出力されます。
このプログラムをコンバーターを通してmathcad prime10で計算した結果が次になります。
ここでエラーの対処法をお聞きしたいです。
エラーとして
「プロットに失敗しました。複素数値とNaNを実数値に置き換えるか、単位を確認してください。」
「目盛に単位がありません。トレース定義の横に単位を挿入してください。」
それぞれの関数は以下になります。
ご不明点があればおしえてください。
Its to hard to debug a picture so you would have to attach the worksheet itself. Maybe a simplified sheet with dummy data which shows the same problem.
From what I see in the pictures both, Mathcad and also Prime, just show the plot of the very first trace. So they behave the same with the only difference that Prime tells you why it doesn't plot the other traces a s well via the error message.
The two programs behave differently in case you demand to plot the graph of a function which returns no plottable value (either NaN or a complex number or a failed calculation..
Real Mathcad would plot without any error if at least one trace contains plottable points and then silently ignores the others which can't be plotted without any error message.
Prime does the same but additionally throws an error to tell the user why it could not plot the other traces - not really bad behaviour IMHO.
Mathcad 15:
Prime 10
So I suggest that you check the data in all but the first column of your P_out matrix - chances are that they all are either NaNs or non-real - maybe values with a tiny imaginary part. This would explain why you can't plot them.
Prime 10 plot has units W and s or 1/s for first plot line only.
So, deleate the units and all plot lines have no unit may make the plots.
日本語で有れば所が個別に対応しますのでこのSNSで直接コンタクトをお願いします。