Dear all,

I had graphed two categories of y (two y-axes) towards the same x in one graph. The left y-axis has 5 scatter plots, while the right y-axis has 2 scatter plots. I want to separate the legend into two columns, with the first column displaying the left y-axis plots and the second column displaying the right y-axis plots.

I tried to use legend(order (1 2 3 4 5 6 7)...), but it will generate 4 legends in the first column and 3 legends in the second.

Great thanks if you have some suggestions.

Best,
Haiyan