This is a re-post. Somehow I have been unable to see my first post. I apologize for that.
--
This post is related to my previous query:
https://www.statalist.org/forums/for...-maps-in-stata
To simplify matters: let's suppose one has a scatter plot as follows:
which will look like this:

The idea is to plot on the left-hand side a custom gradient bar. For example:

I haven't figured out something straightforward that generate that gradient colored legend. Does anyone have experience with that? Any suggestions?
All the best,
Tiago
--
This post is related to my previous query:
https://www.statalist.org/forums/for...-maps-in-stata
To simplify matters: let's suppose one has a scatter plot as follows:
Code:
clear set obs 10 gene x = _n gene y = _n scatter x y, xsize(8) aspect(0.7)
The idea is to plot on the left-hand side a custom gradient bar. For example:
I haven't figured out something straightforward that generate that gradient colored legend. Does anyone have experience with that? Any suggestions?
All the best,
Tiago
Comment