1.

Which of the following will copy the plot from one device to another?(a) dev.copy(b) dev.copypdf(c) dev.device(d) all of the mentionedThe question was posed to me during an interview.This interesting question is from Graphics Devices topic in division Data Analysis and Research of Data Science

Answer»

Right answer is (a) dev.copy

The best I can explain: COPYING a PLOT to another device can be USEFUL because some plots REQUIRE a lot of code and it can be a pain to TYPE all that in again for a different device.



Discussion

No Comment Found

Related InterviewSolutions