I have a strange bug in PDL::Graphics::Gnuplot. Consider the following program:

    use PDL;
    use PDL::Graphics::Gnuplot;
    use IO::Prompter;
    $title="A title with many useless letters";
    gplot({title=>$title}, with=>"lines", zeroes(20)->xvals**2);
    prompt -void, -single, "Ready?";

In my system (debian/testing, PDL 2.082, Perl 5.36) the last "s" in
the title is truncated, as seen in the attached image. My default
gnuplot terminal is qt. The truncation, if any, depends on the content
of the title, not only on its length. I can fix it sometimes by adding
enough trailing whitespace characters. If I generate a hardcopy from
the 'qt' menu, the title becomes complete again. If I run gnuplot
interactively, without going through pdl, the title is not
truncated. It is not too important, but it is annoying, as I sometimes
use the title to record important parameters.

Best regards,
Luis


-- 

                                                                  o
W. Luis Mochán,                      | tel:(52)(777)329-1734     /<(*)
Instituto de Ciencias Físicas, UNAM  | fax:(52)(777)317-5388     `>/   /\
Av. Universidad s/n CP 62210         |                           (*)/\/  \
Cuernavaca, Morelos, México          | moc...@fis.unam.mx   /\_/\__/
GPG: 791EB9EB, C949 3F81 6D9B 1191 9A16  C2DF 5F0A C52B 791E B9EB
_______________________________________________
pdl-general mailing list
pdl-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pdl-general

Reply via email to