colormaps didn't automatically range themselves using zmin/zmax. They now do

This commit is contained in:
Dima Kogan 2011-01-03 16:33:21 -08:00
parent 91134938a7
commit b684dc3dd4

View File

@ -367,6 +367,7 @@ sub mainThread
if($options{colormap}) if($options{colormap})
{ {
print PIPE "set view map\n"; print PIPE "set view map\n";
print PIPE "set cbrange [". $options{zmin} . ":" . $options{zmax} ."]\n" if length( $options{zmin} . $options{zmax} );
} }
# For the specified values, set the legend entries to 'title "blah blah"' # For the specified values, set the legend entries to 'title "blah blah"'