PLplot Linux / Windows plotting library, with many language bindings. Plotting outputs types are called devices, and can either be some window on the screen or files. New ones can be added as plugins.