Can brushing be enabled for timeseries plot?

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?

Antworten (1)

Steven Lord
Steven Lord am 11 Okt. 2016

0 Stimmen

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 Kommentar

Bill Slack
Bill Slack am 12 Okt. 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.

Melden Sie sich an, um zu kommentieren.

Kategorien

Gefragt:

am 10 Okt. 2016

Kommentiert:

am 12 Okt. 2016

Community Treasure Hunt

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

Start Hunting!

Translated by