ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/falsecolor.pl
(Generate patch)

Comparing ray/src/px/falsecolor.pl (file contents):
Revision 2.15 by greg, Sat Jan 4 16:39:10 2020 UTC vs.
Revision 2.17 by greg, Wed Oct 14 02:39:10 2020 UTC

# Line 124 | Line 124 | if ($needfile == 1 && $picture eq '-') {
124  
125   # Find a good scale for auto mode.
126   if ($scale =~ m/[aA].*/) {
127 <    my @histo = split(/\s/, `phisto $picture|`);
127 >    my @histo = split(/\s/, `phisto $picture`);
128      # e.g. $ phisto tests/richmond.hdr| tail -2
129      # 3.91267   14
130      # 3.94282   6
# Line 350 | Line 350 | if ($legwidth > 0) {
350   } else {
351      # Create dummy colour scale and legend labels so we don't
352      # need to change the final command line.
353 <    open(FHscolpic, ">$scolpic");
354 <    print FHscolpic "\n-Y 1 +X 1\naaa\n";
355 <    close(FHscolpic);
356 <    open(FHslabpic, ">$slabpic");
357 <    print FHslabpic "\n-Y 1 +X 1\naaa\n";
358 <    close(FHslabpic);
353 >    system "pcomb -x 1 -y 1 -e lo=1 > $scolpic";
354 >    system "pcomb -x 1 -y 1 -e lo=1 > $slabpic";
355   }
356  
357   # Legend: Invert the text labels (for dropshadow)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines