dump-asy: start gv without widgets and fit the drawing to window

next
Michael Stapelberg 2012-11-23 20:29:08 +01:00
parent 23f00ee7d1
commit 0560fc7964
1 changed files with 1 additions and 1 deletions

View File

@ -42,4 +42,4 @@ say $tmp "draw(n" . $tree->{id} . ", (0, 0));";
close($tmp);
my $rep = "$tmp";
$rep =~ s/asy$/eps/;
system("cd /tmp && asy $tmp && gv $rep && rm $rep");
system("cd /tmp && asy $tmp && gv --scale=-1000 --noresize --widgetless $rep && rm $rep");