From 58b5fc14165a3ad7404b27c6fc12ccae1a275c3c Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 22 Apr 2010 11:54:49 +0200 Subject: frequency: Better plotting --- scripts/frequency | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'scripts/frequency') diff --git a/scripts/frequency b/scripts/frequency index 0b2feb56..26e29bb4 100755 --- a/scripts/frequency +++ b/scripts/frequency @@ -100,6 +100,8 @@ while ( $line = ) { open(GP, "| gnuplot"); printf(GP "set term postscript enhanced font \"Helvetica,20\"\n"); printf(GP "set output \"histo.ps\"\n"); +printf(GP "set xtics nomirror out rotate by -60\n"); +#printf(GP "set logscale x\n"); foreach $ref ( sort {-($counts{$a} <=> $counts{$b})} keys %counts ) { my $max = $maxs{$ref}; @@ -153,7 +155,7 @@ foreach $ref ( sort {-($counts{$a} <=> $counts{$b})} keys %counts ) my $nref = $ref; $nref =~ s/\,/\ /g; my $title = "t \"".$nref." reflection\""; - printf(GP "plot \"".$ref.".dat\" u 1:2 w histeps ".$title."\n"); + printf(GP "plot [] [0:20]\"".$ref.".dat\" u 1:2 w histeps ".$title."\n"); } -- cgit v1.2.3