Hey DavJans!
So, I'm still a beginner, so I could be wrong, but I think I've got an idea
Your mind is right, just the wording isn't quite right - instead of set the Type of "L1", try using style, like this:
Code: Select all
set the style of graphic "L1" to "line"
Keep in mind that for a line, you need to have points so that it knows where to draw the line, so if you try that code and it disappears, you just need to add points, and you can do that by using the "points" property:
Code: Select all
set the points of graphic "L1" to "200,300"&cr&"180,72"
You need to have at least 2 points to make a line (I'm not sure if you can go with 3, I've never tested it

), and you need to have each point on a new line, hence the use of cr
Hopefully this helps you out
Edit: I just tested it out, and you can have more than 2 points for a line graphic, as long as you've got each point on a new line

!