سؤال

I would like to mix two scatterplots in just one, with different colours to each of them for comparasion.

codes used to obtains the two scatterplots:

 plot(allsize, allfreq)

 plot(allsize2, allfreq2)

Cheers!

هل كانت مفيدة؟

المحلول

plot(allsize, allfreq, col = "blue")
plot(allsize2, allfreq2, col = "red", add = TRUE)
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top