问题
What I want is to display 2 figures next to each other in one row, so that the first one is square and the second one takes all the remaining width, it should be wider than the first one (I use knitr and LaTeX).
I tried using r layout and specify out.width and out.height in a figure chunk options, but I could not get it right and I'm not sure this is the right approach.
And in general, it is better to configure figure size in chunk options, right? But what's the best approach for more complex plot layouts?
来源:https://stackoverflow.com/questions/31992128/custom-layout-for-2-plots-using-knitr