functions are evaled only once; don\'t plot NaNs or infs