Plotting — umm coding — figures with PGF

Gnuplot is cool, really cool. But tikz/pgf and pgfplot are cooler (once you learn them).

Pgfplot is for plotting data, and it does its job remarkably well. The best part is that you can script your plot inside your latex documents. PGF is much more powerful, one can draw, ummm code, one’s diagram as well.

I have been using PGF for last two year, albeit sporadically. I have used it to prepare assignments as well coding figures for one or two publications. I’d love to see any other application doing any better than this. Thanks a lot Till Tantau.

I usually embed by graphics in pandoc markdown and use pandoc to convert it to pdf. I am very happy with pandoc.

Here is an example of a drawing I coded with PGF. The full script can be found here.

worm

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s