piermorel / gramm

Gramm is a complete data visualization toolbox for Matlab. It provides an easy to use and high-level interface to produce publication-quality plots of complex data with varied statistical visualizations. Gramm is inspired by R's ggplot2 library.
MIT License
784 stars 222 forks source link

Enable brushing of plots #80

Closed OelDense closed 10 months ago

OelDense commented 5 years ago

Hi,

I'd like to brush and link data points between different plots. However if I use for example gplot.geom_point() I'm not able to brush data as the data points don't change their color.

piermorel commented 5 years ago

Hello,

I don't do anything in particular in gramm to prevent or allow data point brushing. However, given that you copy your data into gramm (which uses it in a specific way for the plotting) I doubt you could meaningfully brush it and link it with data from outside of gramm. That said, I don't kow much about brushing as I don't use it.

OelDense commented 5 years ago

Thank you for the fast answer. Brushing and linking data between plots does not work if the data points are saved in a structure (Matlab Support).