Typesetting equations for use in presentations
Script
set term trans
set multiplot
set dpi 300
# Render the Planck blackbody formula in LaTeX
text '$B_\nu = \frac{8\pi h}{c^3} \
\frac{\nu^3}{\exp \left( h\nu / kT \right) -1 }$' at 0,0
text 'This is an example equation:' at 0 , 0.75
Notes
In this example, we demonstrate something rather different that PyXPlot can do. There is a common problem of trying to incorporate LaTeXed equations into various multimedia/graphics packages: the postscript format which LaTeX produces is not supported by programs such as Microsoft Powerpoint. PyXPlot offers a very quick and simple solution to this problem.
To overlay our output onto a Powerpoint slide, we will want it to have a transparent background, and so we also use the transparent terminal option. If we were producing a Powerpoint presentation with light-coloured text on a dark background, we would also want to invert the colours to have white text, and so use the invert terminal option.