フィルターのクリア

Live Plot X ticks control

3 ビュー (過去 30 日間)
Garrett Cassidy
Garrett Cassidy 2021 年 10 月 19 日
コメント済み: Garrett Cassidy 2021 年 10 月 19 日
I have a live data plot (from NI DAQ sampled every second) diplayed on an app. The plot shows the last 5 minuts of data, and normaly has an x tick mark every minute; but every once and a while it switch to a xtick mark every 30 seconds, then back to every minute. This makes the plots seem a little glitchy as the grid marks show up then disapear. I see all the documentation about controlling the x tick marks, but this method would require code for each time the plot is updated (every second).
I'm wondering if there is a clever way to say this plot has excatly 5 x tick marks once then the plot would not bounce around with amount of tick marks. I'm trying to be stingy with amount of code that is run every second.
Thanks
  1 件のコメント
Garrett Cassidy
Garrett Cassidy 2021 年 10 月 19 日
some times it looks like this:
and sometimes like this:

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

回答 (0 件)

カテゴリ

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

タグ

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by