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.
A drawing in TikZ.
The first picture draws an impossible brick, which induces
an optical illusion similar to that triggered by Escher's
The second picture draws a Penrose triangle, another similar