Can brushing be enabled for timeseries plot?

2 次查看(过去 30 天)
While brushing has remained consistent over the last few releases, the timeseries plot capability now (2016a) draws a datetime plot that refuses to be brushed. In 2014a and earlier, timeseries plot drew a graphic that supported brushing. Has anyone developed a work-around to restore this capability?

回答(1 个)

Steven Lord
Steven Lord 2016-10-11
If you're referring to calling plot (or some other graphics functions) with datetime or duration data, I know it is possible to brush those plots in release R2016b, probably due to the fact that the datetime and duration rulers were introduced in release R2016b.
load census
plot(datetime(cdate, 1, 1), pop)
brush on
It doesn't look like that really works in release R2016a, though.
  1 个评论
Bill Slack
Bill Slack 2016-10-12
Hi Steven, thanks for pointing me in the right direction. Clearly, I was hoping for a nice little block of ad-hoc code, but the upgrade has got to be a much more robust alternative.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 NaNs 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by