How to correctly plot function with space?

45 Views Asked by At

I want to include some plots of some functions which approaches certain values. See the screenshot below of tanh.

For clarity I have added some space left and right.

However I think this is not correct, because this suggest that e.g. x=4.2 is outside the domain which is not te case.

How is this typically solved? Is this just fine (I am too critical), or is this solved on an another way (add plot domain in legend)?

Thanks

enter image description here