data<- c(50,23,35,48) labels <- c("英文系","法文系","德文","翻譯") pie(data,labels,main ="學生的比例", col=terrain.colors(length(data)))