It seems that PDL::Graphics::Gnuplot doesn't work yet with the gnuplot
qt terminal. This is a minor nuisance, as qt is the default terminal
in my system and I frequently forget to set GNUTERM or to set the
terminal type before running pdl and plotting. Browsing the code and
looking for 'x11', a terminal that does work, I found that it is
described in an hash reference called
our $termTabSource
As the functionality of 'x11' is not too different to that of 'qt',
I simply duplicated the entry for 'x11' and changed its key to 'qt'
and the resulting Gnuplot seems to work now with the 'qt' terminal,
besides the 'x11' terminal. I attach a patch. Nevertheless, since I
didn't study the code with thoroughness, I'm not sure that my solution
is really adequate.
Best regards,
Luis
--
o
W. Luis Mochán, | tel:(52)(777)329-1734 /<(*)
Instituto de Ciencias Físicas, UNAM | fax:(52)(777)317-5388 `>/ /\
Apdo. Postal 48-3, 62251 | (*)/\/ \
Cuernavaca, Morelos, México | [email protected] /\_/\__/
GPG: 791EB9EB, C949 3F81 6D9B 1191 9A16 C2DF 5F0A C52B 791E B9EB
--- oldGnuplot.pm 2014-08-12 20:15:13.766382978 -0500
+++ Gnuplot.pm 2014-08-12 20:16:44.184345661 -0500
@@ -6582,6 +6582,12 @@
qw/enhanced font linewidth solid dashed persist raise/,
['ctrlq', 'b','cf','enable (or disable) control-Q to quit window'],
'size']},
+ 'qt' =>{unit=>"px",desc=>"X Windows display", mouse=>1,ok=>1,disp=>2,
+ opt=>[ 'output_',
+ ['title','s','cq','Window title (in title bar)'],
+ qw/enhanced font linewidth solid dashed persist raise/,
+ ['ctrlq', 'b','cf','enable (or disable) control-Q to quit window'],
+ 'size']},
'xlib' =>"Xlib command file (for debugging X11) [NS: useless here]"
};
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl