How to plot transparent lines or shaded region in xmgrace ?
For example, look at the below plot.
I had to plot transparent lines in xmgrace wherever overlaps occurs.
In Grace / xmgrace there is no transparent setting.
https://github.com/pygrace/pygrace/issues/4 suggest 3 ways to achieve this.
I took the 2nd option such as “create three different regions“.
1. Regions of Overlap between two data sets a & b
2. Only data set a excluding overlap
3. Only data set b excluding overlap
I written the function “getOverlap“
Source : https://gist.github.com/arulalant/b7a1cef170a2e25571f7
Now see the below plot and compare with the above one, you can see different color in the overlap regions.
Same plot with overlap region with different color (chosen between red and black color)
Same getOverlap function useful to plot the shaded overlap region also.
To set custom RGB color in grace look my previous post here