How to name lines? Is possible?

32 views
Skip to first unread message

Marcelo Rodrigues

unread,
Oct 27, 2023, 7:41:37 AM10/27/23
to JSXGraph
Hello everybody,

I wish your hearts are full of contentment and joy!

Please, I would like to name a line. I was able to name points, but I was unable to perform the same procedure for the lines.

Is there any way to name a line? If possible, could you send me an example?

Thank you very much, Marcelo.

Jens Axel Søgaard

unread,
Oct 27, 2023, 7:50:59 AM10/27/23
to jsxg...@googlegroups.com
Use `withLabel` and `name`.

The example is for arrows, but the same approach works for lines.

https://jsxgraph.org/share/example/demo-ex-8-1

--
You received this message because you are subscribed to the Google Groups "JSXGraph" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jsxgraph+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jsxgraph/38b5a5c8-ab95-42dd-8b71-54e224b7ddccn%40googlegroups.com.


--
--
Jens Axel Søgaard

Marcelo Rodrigues

unread,
Oct 27, 2023, 9:31:41 AM10/27/23
to jsxg...@googlegroups.com
Dear friend Jens,

Worked perfectly!

Thank you very much for yet another help!


Thank you very much, Marcelo.
You received this message because you are subscribed to a topic in the Google Groups "JSXGraph" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jsxgraph/QQT91D48QS8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jsxgraph+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jsxgraph/CABefVgxtaXigAXDXn94d3mXfnn22DZGJG2T3rbAntSXZQHJr1Q%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages