28 Nov
2019
28 Nov
'19
12:35 p.m.
Hi, When defining a custom line, you can create a sample to use in the legend: def l_u_foo (expr P) = ... enddef; initsymbol("l_u_foo"); def l_u_foo_legend = l_u_foo(((0,0)--(1,1)) inscale); enddef; Is there a way to do this for custom symbol sets? def p_anchor_MY (expr P) = ... enddef; initsymbol("p_anchor_MY"); def p_anchor_MY_legend = % rotate the symbol in the legend, since it looks better that way p_anchor_MY((0,0) inscale, 90, 1, (0,0)); enddef; This doesn't seem to work. Neither does "p_anchor_legend". Am I missing something; is there a way to do it? Cheers! Tarquin