Now I am also drawing a multi-group series plots, which is divided into gender and dose respectively. However, the drug…