
legends and transparency

jcor
When I use transparency to more easily view many points (sort of a shortcut for JointHistogram), the legend becomes unreadable.
The Legend/H flag already exists for help in making legends readable, but it would be great to have a “no transparency” or “override transparency” flag to help with this.
make/o/n=1e4 w=gnoise(1); make/o/n=1e4 w2=gnoise(1); display w vs w2; modifygraph mode=3, rgb=(0, 0, 2^15, 2^12)Legend/C/N=text0/J/H={0,5,10}

Maybe not a very elegant solution, but you could fake this by simply using a fixed marker and styling it in a similar way just without the transparency. One could even think of a small script to replace the dynamic marker with a static one, which could be called on occasion to update the legend.
Legend/C/N=text0/J "\\k(0,0,2^15)\\W5008 w"
August 17, 2025 at 01:48 am - Permalink