Mixing-demixing phase diagram