TikZ

TikZ is a diagram‑drawing language for LaTeX. It lets you describe graphics in plain text and have LaTeX render them as high‑quality vector images that match the style of your document.