legends and transparency

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}
example figure generated from the code snippet

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"

 

Thanks @chozo. I found it more convenient to do the following, and overlay the symbol for trace1. I copy-pasted

\X1\s(trace1)

about 20 times and then had a L.L.M. reproduce the change for the rest of the legend.

\[0\s(trace1)\X1\s(trace1) NAME_FOR_TRACE_1
\s(trace2) NAME_FOR_TRACE_2
\s(trace3) NAME_FOR_TRACE_3