Can brushing be enabled for timeseries plot?

1 vue (au cours des 30 derniers jours)
Bill Slack
Bill Slack le 10 Oct 2016
Commenté : Bill Slack le 12 Oct 2016
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?

Réponses (1)

Steven Lord
Steven Lord le 11 Oct 2016
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 commentaire
Bill Slack
Bill Slack le 12 Oct 2016
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.

Connectez-vous pour commenter.

Catégories

En savoir plus sur NaNs dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by