plot(density(tt$fio2_vni,na.rm=T),col="blue",xlim=c(21,100),lwd=2,xlab="FiO2",main="Fio2 utilisée selon le mode de ventilation") lines(density(tt$fio2_vi,na.rm=T),col="red",lwd=2) lines(density(tt$fio2_oxyhd,na.rm=T),col="green",lwd=2) legend(90,0.035,c("VNI","V. invasive","O2 haut débit"),c("blue","red","green"))