
540 Accelerating MATLAB
®
Performance
In a related matter, refer to the technique of linear plot line data reduction, by using only
the line’s end-points and none of the interim data points.*
Note that data reduction is not useful in several cases:
• If our data can be plotted in a vectorized manner, then the extra performance pen-
alty of data reduction is often higher than the possible performance gain from the
smaller number of data points.
• If our initial axes size could be enlarged (e.g., by resizing or maximizing the g-
ure window), then we would either need to take the largest possible pixel size in
account when decimating, or hook onto ...