--zmin,--zmax,--zlabel are sent if requested

I don't try to figure out if they make sense or not: gnuplot can do that
This commit is contained in:
Dima Kogan 2022-03-02 19:32:19 -08:00
parent ed99cd89d1
commit c99b377083

View File

@ -423,15 +423,6 @@ sub interpretCommandline
exit -1; exit -1;
} }
if(!$options{colormap})
{
if ( defined $options{zmin} || defined $options{zmax} || defined $options{zlabel} )
{
print STDERR "--zmin/zmax/zlabel only makes sense with --3d or --colormap\n";
exit -1;
}
}
if ( defined $options{square_xy} ) if ( defined $options{square_xy} )
{ {
print STDERR "--square_xy only makes sense with --3d\n"; print STDERR "--square_xy only makes sense with --3d\n";