Hi,
My question pertains to -stripplot- from SSC. I have the following stripplot:
the variable has observations categorized with the value of 2, 3,4 or 7. As such, one of the graphs will look like:

(Please ignore the value `grpval' being blank here. It works well within the full code)
I would like to get the spacing to be equal between 2, 3, 4, 7 rather than having 7 spaced out where it technically mathematically falls on the x-axis. I understand -bargraph- has an option with bargap() to change the spacing. It appears stripplot does not. I would be willing to change to -dotplot- but it does not appear there is a spacing option for that as well.
Cross posted to reddit too: https://www.reddit.com/r/stata/comme...ariables_in_a/
My question pertains to -stripplot- from SSC. I have the following stripplot:
Code:
stripplot om_pfe_time, over (which_pH_7_num) mcolor(navy) vertical msize (*1.2) ysize(4) xsize(4) ylab(, nogrid) xlab(, nogrid) /// caption("ANOVA p-value = `grpval'" " ", justification(right) pos(1)) bar(lcolor(black%50) /// mean(mcolor(black)) level (68)) boffset(0.3) jitter (5) center
(Please ignore the value `grpval' being blank here. It works well within the full code)
I would like to get the spacing to be equal between 2, 3, 4, 7 rather than having 7 spaced out where it technically mathematically falls on the x-axis. I understand -bargraph- has an option with bargap() to change the spacing. It appears stripplot does not. I would be willing to change to -dotplot- but it does not appear there is a spacing option for that as well.
Cross posted to reddit too: https://www.reddit.com/r/stata/comme...ariables_in_a/
Comment