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
Related Posts with graph-legend order: how to lay 5 legends in first column, while 2 legends in the second column?
Grouping by days and timeHi. I have data on hospital visits for the period of Oct 1, 2022 - Feb 28, 2023. The visits have the…
Multiple omitted categories when interacting?Possibly a rudimentary question, but I am unsure how my interaction is behaving this way. When I use…
Problems with collapse commandHello everyone, I have a dataset with Italian data on electoral outcomes. My dataset contains inform…
instrument variable when using bins of endogenous independent variable as independent variablesDear All, In my research, for example, trunk is the endogenous independent variable of interest and…
Creating partial mapsI have a dataset which defines the boundaries and geographic regions of the world's countries, as sh…
Subscribe to:
Post Comments (Atom)
0 Response to graph-legend order: how to lay 5 legends in first column, while 2 legends in the second column?
Post a Comment