Skip to content

"fix13"

Niclas17 edited this page Jul 6, 2022 · 4 revisions

[ "fix13", "name", [x, y], angle, state ]

axial and angular support, floats in vertical direction for angle = 0°

  • "name" label, typeset in MathJax math mode.
  • [x, y] pivot point
  • angle angle counter-clockwise from horizontal direction, in °
  • state (optional, default: "locked") "hide" or "show". If missing, object can't be switched interactively.

image

[
  [ "grid", "","", -5,5,-4,5, 50, [10,10], [0,0] ],
  [ "fix13", " ", [-2, 2], 0 ],
  [ "label", "A", [-2.4, 2] ],
  
  [ "fix13", " ", [0, 2], 45 ],
  [ "label", "B", [-0.3, 1.8] ],
  
  [ "fix13", " ", [2, 2], 90 ],
  [ "label", "C", [1.9, 1.7] ]
]

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