Warning: Undefined array key "rcommentid" in /homepages/15/d790331382/htdocs/wp-content/plugins/wp-recaptcha/recaptcha.php on line 481

Warning: Undefined array key "rchash" in /homepages/15/d790331382/htdocs/wp-content/plugins/wp-recaptcha/recaptcha.php on line 482

print shortcut in gnuplot


Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /homepages/15/d790331382/htdocs/wp-content/plugins/wp-syntax/wp-syntax.php on line 383

Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /homepages/15/d790331382/htdocs/wp-content/plugins/wp-syntax/wp-syntax.php on line 383

in order to print the plot that you draw with gnuplot quickly, you can save the following two lines as ~/.gnuplot

1
2
set macros
lpr = "set terminal postscript noenhanced simplex monochrome 'Helvetica' 10; set size 0.4,0.4; set output '|lpr'; replot; set term pop; set size 1.0,1.0; replot;";

after plotting, you can then simply type

1
@lpr

in the gnuplot window

Leave a Reply


Warning: Undefined variable $user_ID in /homepages/15/d790331382/htdocs/wp-content/themes/thamnos/comments.php on line 65


Warning: Undefined array key "rerror" in /homepages/15/d790331382/htdocs/wp-content/plugins/wp-recaptcha/recaptcha.php on line 401