The examples from your links are all electric field from point charge.
The basic field for magnet is magnetic dipole field (e.g. a current loop).
Magnetic field structure can be created with field from superposition of many current loops at different locations.
You need to be more specific (write down in all detail ) what you want , then it is possible to create one.