I now check for defined-ness of the legend instead of its truth. As a result I can now have a '0'

legend
This commit is contained in:
Dima Kogan 2010-09-15 21:55:44 -07:00
parent 593e1c09b9
commit d1ec685694

View File

@ -515,8 +515,8 @@ sub newCurve
$idx = $#curves;
}
if($title) { $opts = "title \"$title\" $opts" }
else { $opts = "notitle $opts" }
if(defined $title) { $opts = "title \"$title\" $opts" }
else { $opts = "notitle $opts" }
if( defined $newpoint )
{