Adjusted plots

No longer plots anything for Infinity or NaN values.