I had a question about creating two charts in a row, using R with a tikz package device to send tikz to latex. I want to do this by building 2 graphs in a row. The first thing I did was create plots surrounded by par(mfrow=c(1,2)) . But this does not work, because the plots are like vertical rectangles when printing with latex. I want two photos in a row to be quadratic. So what I did next, I created a layout:
Layout<- matrix(c(1, 2), nrow = 1, ncol=2, byrow = TRUE) nf <- layout(mat = Layout, widths = c(1,1),heights = c(1,1), respect = TRUE) layout.show(nf)
and built two graphs. The result is quadratic (this is good), but when I add a signature to two graphs (in latex), it is far from the graph. What should I do? Any thousands are appreciated!
source share