Some examples of how the packages tikz and pgfplots can be used to create fully vectorized graphics directly in the LaTeX document. An example of how a flowchart can be generated in LaTeX is also given. It combines the packages tikz and overpic and shows how to overlay/embed intrinsic LaTeX text onto images created elsewhere.
This is a tikz-drawn facsimile for D. J. Griffith's script r notation, used in his book Introduction to Electrodynamics. Feel free to use the code as you will, don't bother mentioning my name when doing it.