MATLAB: How to guage plotting speed when using the plot function

MATLABplotspeed

I'm using the plot function to produce an XY plot of altitude versus time. The total number of data points is 21,834. Using the tic and toc commands, it is taking 227 seconds to plot all of these points. This seems a bit excessive. However, in reading the MATLAB documentation, as well as several other questions regarding this topic, I'm a bit confused as to what a reasonable expectation of plot time would actually be.
Is this a reasonable amount of time given the number of data points.

Best Answer

Measuring graphics performance is kind of a rich topic. There are a couple of different variables which are important to consider. I've been writing introductions to some of these on the MATLAB Graphics blog:
Perhaps one of those posts would be a good starting point for you.