Hello everyone,
I want to have a graph with 6 groups in it.
I am able to produce a graph with 6 small graphs next to each other with the command: twoway scatter var1 var2, by(Group).
When I put all datapoints of all groups in one graph, I have the problem that you can't see all datapoints as some are on top of each other. I thought to use the jitter option to solve that problem. Then the graph does not look very overseeable, which is why I wanted to add the mlabel(Group) option as well. If I do that the jitter option does not work anymore..tw scatter var1 var2, jitter(7) mlabel(Group)
Is there a way to combine the mlabel and jitter option?
Or do you have another idea how to create such a graph?
Related Posts with 6 groups in one graph
Getting Stata to recall the last opened directoryHi, I have been using Stata 13 on a Windows system and each time I start Stata, CTRL+O took me to t…
Plotting a fitted Line for log scale axisHello, I have to plot a simple fitted line for exports relative to GDP (the variable is called "nor…
Random seed neededI am looking for a number or string that will be different in different runs of the same program. So…
need to drop duplicates depending on how many duplicates there are per observationI am trying to reshape my data from wide to long, however I need to drop duplicates first. Here is a…
Can we determine the significance of changes over time using cross-sectional data?Dear Statalisters, I am using data from the 2011 and 2014 Demographic Health Surveys (these are rep…
Subscribe to:
Post Comments (Atom)
0 Response to 6 groups in one graph
Post a Comment