How to get two windows with different plots

后端 未结 3 1264
旧时难觅i
旧时难觅i 2021-02-05 02:01

When we have a window with plots, is there a way to tell R to display a new plot in a new window?

3条回答
  •  别跟我提以往
    2021-02-05 02:20

    You might actually want to partition the window instead so you can have mutuple plots in the same window if you are comparing them:

    The following will create 3 horizontal partitions:

    par(mfrow = c(3,1))
    

    So with 3 plots it will look like the following in a single Window: enter image description here

提交回复
热议问题