フィルターのクリア

Anyone know what the "yyaxis" function is failing for this code?

2 ビュー (過去 30 日間)
Michael Marsh
Michael Marsh 2018 年 2 月 18 日
コメント済み: Walter Roberson 2018 年 2 月 21 日
"Error using yyaxis
Unknown command option right"
Code:
yyaxis left
plot(AM_TO);
xlabel('Time (sans-units, data was collected at 100Hz)')
ylabel('Acceleration (m/s2)')
title('Torso IMU acceleration forward')
hold on
yyaxis right 
plot(HR_int,'r','linewidth',1.1);
ylabel('Heart Rate')

回答 (1 件)

Niwin Anto
Niwin Anto 2018 年 2 月 21 日
The code snippet you have provided is working fine on my end.
yyaxis left;
plot(AM_TO);
xlabel('Time (sans-units, data was collected at 100Hz)');
ylabel('Acceleration (m/s2)')
title('Torso IMU acceleration forward')
hold on ;
yyaxis right;
plot(HR_int,'r','linewidth',1.1);
ylabel('Heart Rate')
Which MATLAB version are you using?
  1 件のコメント
Walter Roberson
Walter Roberson 2018 年 2 月 21 日
yyaxis right has been present since yyaxis was introduced in R2016a.

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

カテゴリ

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

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by