Hi everyone

I have a small question, how can I generate nice illustrating figures like ones in thread 3, 19, and 49, I mean what is the tools or packages for that??
Many thanks