Skip to content

"point"

Niclas17 edited this page Jul 7, 2022 · 4 revisions

[ "point", "name", [x,y], off ]

Small black dot with label, to indicate and label particular locations in the sketch

  • "name" label text, typeset in MathJax math mode
  • [x,y] location
  • off (optional, default: 10 pixel) offset of label text from center point (location)

Example

image

[
  [ "grid", "x","y", -5,5,-4,5, 50, [10,10], [0,0] ],
  [ "point", "name", [2,2], 10 ]
]

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