This is an example of how to visualize vector fields with streamlines in MATLAB®. Vector fields contain vector information for every point in space. For example, air flow data inside a wind tunnel is a vector field.
Read about the "streamline" and "coneplot" functions in the MATLAB documentation.
For more examples, go to MATLAB Plot Gallery - http://www.mathworks.com/discovery/gallery.html
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.