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.12 by greg, Mon Sep 25 18:48:11 2017 UTC vs.
Revision 2.13 by greg, Mon Jan 15 22:35:34 2018 UTC

# Line 328 | Line 328 | if ($legwidth > 0) {
328  
329      # Legend: Create the background colours
330      $cmd = qq[pcomb $pc0args];
331 <    $cmd .= qq[ -e "v=(y+.5-$sheight)/(yres/(1+1.5/$ndivs));;vleft=v;vright=v"];
331 >    $cmd .= qq[ -x $legwidth -y $vlegheight];
332 >    $cmd .= qq[ -e "v=(y+.5-$sheight)/(yres/(1+1.5/$ndivs));vleft=v;vright=v"];
333      $cmd .= qq[ -e "vbelow=(y-.5-$sheight)/(yres/(1+1.5/$ndivs));vabove=(y+1.5-$sheight)/(yres/(1+1.5/$ndivs))"];
334      $cmd .= qq[ -e "ra=0;ga=0;ba=0;"];
335 <    $cmd .= qq[ -x $legwidth -y $vlegheight > $scolpic];
335 >    $cmd .= qq[ > $scolpic];
336      system $cmd;
337   } else {
338      # Create dummy colour scale and legend labels so we don't

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines