ggplot implementation for Matlab