Skip to content

"line2p"

mkraska edited this page Sep 8, 2021 · 11 revisions

[ "line2P", "label", [x1,y1], [x2,y2], f ]

line with two draggable points, meant for Mohr's circle construction. f is a scaling factor for co-ordinate display.

Tryout Space

In order to try code snippets in jsfiddle,

  1. copy the code from the wiki page to the clipboard
  2. follow the link for the JSXGraph version you want to try
  3. Replace the code in the HTML section (contents of <p hidden id="init">) with the content of the clipboard
Clone this wiki locally