[Therion] ***UNCHECKED*** Changing the legend icon for existing points/lines

Tarquin Wilton-Jones tarquin.wilton-jones at ntlworld.com
Thu Nov 28 12:35:54 CET 2019


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



More information about the Therion mailing list