Use Low-Level Functions for Speed
The features that make plotting functions easy to use also consume computer resources. If you want to maximize graphing performance, use low-level functions and disable certain automatic features.
Low-level graphics functions (e.g., line
vs. plot
, surface
vs. surf
)
perform fewer operations and therefore are faster when you are creating
many graphics objects.
The low-level graphics functions are line
, patch
, rectangle
, surface
, text
, image
, axes
,
and light