Am 16.06.2024 um 23:11 schrieb climnios(a)providence.edu:
 Hello all,
 I did a search on google and I have also done a search from within the forum list and
couldn't find an answer to my question; nonetheless, please forgive me if this is
posted elsewhere.
 I am looking for a way to overlay the histograms of two variables in order to provide a
visual comparison in a paper I'm writing. 
I'm not aware of something that does exactly this; close substitutes 
might be the following:
- Use the built-in boxplots: there you can specify several variables and 
they are shown side by side. (Although, to be honest, the plot design 
does not look super hot.)
- Overlay the smoothed histogram a.k.a. the kernel density estimate. 
Example:
<hansl>
open mrw list L = gdpgrow popgrow matrix dens = kdensity(L) gnuplot 2 3 
1 --matrix=dens --with-lines --fit=none --output=display
</hansl>
cheers
sven