On 25 May 2005, broeker@... wrote:
> Adrian Lanz wrote:
>> I recently detected gnuplot for my work. I like it very much in
>> combination with its mp driver to create beautiful PDF
>> presentations (PDFLaTeX).
> If you're using the development version, you might try (e)pslatex
> insted. About as powerful as mp, but more actively supported.
Thanks for the hint. The nice thing with mp files is the smoothless
integration into latex and pdflatex. (e)pslatex driver generated
graphics have to be translated to pdf using epstopdf.
>> It seems that the mp driver in the current CVS version of gnuplot
>> (version 4.1 patchlevel 0) does not support fillstyles? Is this
> From a quick look at the sources: you're right, it doesn't.
>> Is the lack of fillstyles in the mp driver caused by some
>> fundamental limitations of matapost, or/and is an enhanced mp
>> driver likely to be available soon?
> Neither. It's more of a question of nobody actively maintaining
> that driver.
This is a pitty... Maybe someone is reading the article and is
willing/capable to do the adaptations?
It seems to me, that very few is missing? In function MP_boxfill in
metapost.trm, the sty parameter should be implemented? Sorry, I can
not do this quickly. Adrian.
unsigned int x1, unsigned int y1,
unsigned int wd, unsigned int ht)
/* for now simply clear box if sty <= 0, do nothing otherwise */
if (sty <= 0)
fill (%.1fa,%.1fb)--(%.1fa,%.1fb)--(%.1fa,%.1fb)--(%.1fa,%.1fb)--cycle withcolor background;\n",
x1 / 10.0, y1 / 10.0, (x1 + wd) / 10.0, y1 / 10.0,
(x1 + wd) / 10.0, (y1 + ht) / 10.0, x1 / 10.0,
(y1 + ht) / 10.0);