Transposing plot dimension for pairs