use sampling in summary plot for large vectors