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?
Optimal Matching vs Propensity Score MatchingHello Everyone! I am new to STATA and I am trying to run sample matching. Recently a friend of mine …
create an indicatorHello Guys, I need to create a dummy variable which is equal to one if an individual is hit by a cr…
Logistic and predict OR for a specific value of the IVHi listers, I am looking to see whether emotional well-being scores (continuous) are predictors of …
How to manually calculate standard errors for instrumental variables?Hi I am working on statistical inference with instrumental variables (IV) following Wooldridge (201…
Calculating the difference between maximum and minimum variable value over three overlapping yearsDear sata experts, I have a panel data set ranging from 2010-2018 for all firms listed i the US mar…
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