Thermostatting to two different temperatures along two coordinate directions

I am performing a simulation on a system of charged particles in 2D using LAMMPS. I want to be able to introduce temperature anisotropy into the system, i.e, the system should equilibrate to two different temperatures along x- and y- directions ( say, T_x and T_y and they are not equal). Please note that I am using Langevin Thermostat. Could anyone please suggest a way to achieve this in LAMMPS ?

The LAMMPS’ way of partial thermostatting is through using a temperature compute bias. In your case, compute temp/partial seems like the logical choice. Please see the manual for further details.