ECG-like grid on figure

3 ビュー (過去 30 日間)
erup eruo
erup eruo 2018 年 5 月 21 日
コメント済み: erup eruo 2018 年 5 月 21 日
Hello.
I have an ECG and i would like to set this kind of grid on my plot, dependent of the voltage and the time of the signal:
Thankyou

採用された回答

Ameer Hamza
Ameer Hamza 2018 年 5 月 21 日
You can set up your axis to a similar format using the following code
ax = axes
grid(ax)
grid(ax, 'minor')
ax.GridColor = [ 1 0 0 ]
ax.GridAlpha = 0.5;
ax.MinorGridColor = [1 0 0]
ax.MinorGridAlpha = 0.5;
In older MATLAB versions, use set() instead of dot notation to set axis properties.
  1 件のコメント
erup eruo
erup eruo 2018 年 5 月 21 日
Thanks
Adapted from your code:

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSmoothing and Denoising についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by