Skip to content
mkraska edited this page Jul 22, 2022 · 7 revisions

[ "q", "q1","q2", [x1, y1], [x2,y2], q1, q2, phi, state ]

Line load.

  • "q1","q2" labels, in latex math mode.
  • [x1, y1] start point
  • [x2, y2] end point
  • q1, q2 height values
  • phi (optional, default: 0) angle of force direction from vertical to baseline, in °
  • state (optional, default: "locked") "locked", "hide" or "show". If missing, object can't be switched interactively.

Example

image

image

[
  [ "grid", "x","y", 0,10,-4,5, 50 ],
  [ "q", "q0","", [8,2], [9,1], 1, 1, 45 ],
  [ "q", "q1","q2", [1, 1], [4,1], 1, 2 ],
  [ "q", "q0","", [5, 1], [8,1], 1, 0, 0, "hide" ],
  [ "force", "R", [6,2],[6,1.2], 10, "active"]
]

How to generate Feedback for line loads

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