4.3 Combining Images with XRF Data
It is possible to combine different plots. For example, it is often desirable to plot the XRF data alongside the core imagery. By not passing
coord_fixed(ratio = 1) to the image plot, its relative width can be controlled via
widths =, which makes for a visually pleasing plot. Note also that the y-axis labels have been removed from all but one of the plots to avoid duplication.