I am very fond of latex labels in my gnuplot figures, and the way I generate most of them is via the pslatex terminal.
Here, I would like to take advantage of transparency in a figure (superimposed histograms), while keeping latex labels. My problem is that this is not achievable using pslatex, as postscript does not handle transparency.
Of course, I could use the svg terminal, generate the core of the figure with transparency, then generate only the axes using pslatex, then put everything together by hand in inkscape, and save in .pdf (but this is heavy, to say the least).
Do you know if there is any straightforward way to do this inside gnuplot?
Once again, thank you for you time!
PS: for the record, the pslatex procedure I follow has been exposed here: How to set what appears as a title in a document viewer menu bar?.
Best Answer
If I recall correctly, postscript does not support transparency. That means you have to select a terminal that supports transparency (and TeX). In ConTeXt transparency works fine, in the text labels as well as transparent graphs (more information: ConTeXt wiki - Gnuplot). ConTeXt uses it's own terminal (based on the metapost terminal). You could give the metapost terminal a try.
This example is taken from the Gnuplot home page - demos and slightly modified; maybe there's something similar you can do in LaTeX.
The result:
Tested with context 2011.05.18 18:04, gnuplot 4.7 patchlevel 0