Need help in plotting contour of speed, torque and eff

1 回表示 (過去 30 日間)
satendra kumar
satendra kumar 2021 年 9 月 16 日
コメント済み: satendra kumar 2021 年 9 月 16 日
I am struggling in plotting a contour of eff, speed and torque. Please see the attached workspace.mat attached to this file.

回答 (1 件)

KSSV
KSSV 2021 年 9 月 16 日
scatter(eff,speed,[],torque,'filled')
You cannot plot contour with the given data. You have 1D data. You need to have 2D data i.e. matrices to plot contours.
  10 件のコメント
KSSV
KSSV 2021 年 9 月 16 日
Offcourse with that data you will get error. The given data is corresponds to curve.
satendra kumar
satendra kumar 2021 年 9 月 16 日
How to fix this error? Just to summerise, i have the data of eff and torque for each value of speed. Now i want to plot the contour. I checked with multiple methods but the contour i am getting is not a valid one. I want to explore the incosistency in my dataset. For example the file attached with this mail produces a good contour. And when i compared my speed, torque and eff with the one provided in example, nothing looked out of context. However contour plot is completely different.
If you can find some issue, please let me know. Big thank you for your efforts.

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

カテゴリ

Help Center および File ExchangeContour Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by