Can brushing be enabled for timeseries plot?

3 visualizzazioni (ultimi 30 giorni)
Bill Slack
Bill Slack il 10 Ott 2016
Commentato: Bill Slack il 12 Ott 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?

Risposte (1)

Steven Lord
Steven Lord il 11 Ott 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 Commento
Bill Slack
Bill Slack il 12 Ott 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.

Accedi per commentare.

Categorie

Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by