Tools · PiCTeX

Online PiCTeX editor

Paste a PiCTeX picture, from \beginpicture to \endpicture, and get it typeset by TeX. Axes, plots, histograms and labelled points work; download the result as SVG or PNG.

See the examplesHave Forma write one

Or describe it in words and get source you can edit, checked before you see it.

Part of Forma Visuals: Draw a technical or research figure · Draw a geometry figure

⌘ or Ctrl + Enter draws. Sent to Forma's renderer, which keeps nothing
loadingStarting the renderer…

Histogram: sums of two dice How many of the 36 ways to roll two dice give each total, as a PiCTeX histogram. Seven comes up most often, six ways out of 36.

In your browser, drawn with Plotly.js (MIT), Apache ECharts (Apache-2.0, notice), Chart.js (MIT).

01 Examples

PiCTeX examples to start from.

02 About PiCTeX

What PiCTeX is good for.

PiCTeX is one of the oldest TeX drawing packages, built from plain TeX macros: you set a coordinate system and plot area, then draw axes, curves and labels. It is still found in older papers and class notes, and it is compact for plots with labelled axes.

Do I paste a whole document?

No. Paste the picture from \beginpicture to \endpicture; the renderer supplies the document and loads PiCTeX.

Are curves smooth?

Use \setquadratic before \plot for a curve through your points, as in the parabola example, and \setlinear to go back to straight segments.

Is anything I send kept?

No. Pictures are typeset in a sandbox with no network and no access to files outside their own folder, and nothing is stored.