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?
Coefficient interpretation in log-level regression- Actual impact of independent variable on dependent variable.Hi all, I have a regression where the dependent variable is in log form. I was wondering if we can …
alternative to interaction term in regressionHi all, I am examining the interaction effect between X and Y (outcome var is Z) using fixed effect…
cox regression with shared frailty or vce clusterHello, In running a cox regression model (stcox), I would like to look at within group correlation.…
Generating a new variable as a result of comparing the mean of a variable (t-test) in two different timesHi, I have three variables here in my example, as described below. 1) EXP: is the time dummy variab…
Compare percentage across different tablesHey I want to compare percentages across tables. So, for example I want to test if investor_A inve…
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