}
     else {
       #plot_write($fh,"plot '-' matrix with image, '-' matrix using 1:2:(sprintf('%i', \$3)) with labels tc rgb \"#ffffff\" font ',10'");
-      $p->{$name}->{plot_string} .= "plot '-' matrix with image, '-' matrix using 1:2:(sprintf('%i', \$3)) with labels tc rgb \"#ffffff\" font ',10'";
+      $p->{$name}->{plot_string} .= "plot '-' matrix with image, '-' matrix using 1:2:(sprintf('%.".($p->{$name}->{showvalues}-1)."f', \$3)) with labels tc rgb \"#ffffff\" font ',10'";
       ####      plot_write($fh,"plot '-' matrix with image, '-' matrix using 1:2:(sprintf('%i', \$3)):3 with labels tc palette  font ',10'");
     }
     plot_write($fh, $p->{$name}->{plot_string});
 
     }
 #0x2000       1     0x38     0x38     0x38     0x38     0x38     0x38
   if(my ($addr,$set,$str) = $a =~ /^\s*0x(\w\w\w\w)\s+(\d+)((\s+0?x?\w+)+)/) {
-#       print "$addr : $set : $str\n";
     my @vals = split(/\s+/,$str);
     shift(@vals) if($vals[0] eq '');
     my $i = 0;
     #print Dumper \@vals;
     foreach my $t (@vals) {
       if($t =~ /0?x?(\w+)/) {
+#        $cmd .= "echo $addr;trbcmd w 0x$addr 0x$reglist->{$set}->{$i++} $t\n";
         $cmd .= "trbcmd w 0x$addr 0x$reglist->{$set}->{$i++} $t\n";
        #print "cmd: $cmd\n";
         }
 
 #!/usr/bin/perl
 #This file sets the environment in case that the daqtools are run within an Apache web-server.
 
-$ENV{'DAQOPSERVER'} = 'hades46:84';
+$ENV{'DAQOPSERVER'} = 'hadesp31';
 
 
 1;