フィルターのクリア

Plot is backwards. Want the peaks to be facing right, not left.

1 回表示 (過去 30 日間)
Spencer
Spencer 2023 年 11 月 14 日
コメント済み: Image Analyst 2023 年 11 月 15 日
Trying to plot the velocity profile of a wind tunnel experiment. The wind is visualized moving left to right, so I would like the peaks to be pointing towards the right instead of towards the left. I have tried inverting the matrix, but it is a column array, so that does not work. I pretty much want an 180 degree rotation of the plot.
Position = Lab6DataNoCyl(:,6);
Vel1 =Lab6DataNoCyl(:,5);
plot(Vel1,Position)

採用された回答

Walter Roberson
Walter Roberson 2023 年 11 月 14 日
Position = Lab6DataNoCyl(:,6);
Vel1 =Lab6DataNoCyl(:,5);
plot(Vel1,Position)
set(gca, 'XDir', 'reverse')
  2 件のコメント
Spencer
Spencer 2023 年 11 月 14 日
Worked! Thanks lots!!
Image Analyst
Image Analyst 2023 年 11 月 15 日
If this Answer solves your original question, then could you please click the "Accept this answer" link to award the answerer with "reputation points" for their efforts in helping you? They'd appreciate it. Thanks in advance. 🙂 Note: you can only accept one answer (so pick the best one) but you can click the "Vote" icon for as many Answers as you want. Voting for an answer will also award reputation points.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeArgument Definitions についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by