-
Notifications
You must be signed in to change notification settings - Fork 3
"axes"
mkraska edited this page May 13, 2022
·
1 revision
[ "axes", ref, labelx, labely, [x0, y0], [xmin, xmax, ymin, ymax], [fx,fy], [dpx, dpy] ]
This object is not implemented. It could define a local co-ordinate system for plots with control of scaling and decimal precision of the infobox. Alternatively, this information could be given to the "spline" objects directly.
-
ref
string serving as reference for other objects -
labelx
,labely
labels for the x and y axis, if empty: draw no axis -
[x0,y0]
origin in unscaled grid coordinates -
[xmin, xmax, ymin, ymax]
axes limits -
[fx,fy], [dpx, dpy]
scaling and decimal precision
Axes ticks might be specified as well.
It seems that this approach becomes overcomplex, so for now we try to use the style parameter of "spline" for this.
In order to try code snippets in jsfiddle,
- copy the code from the wiki page to the clipboard
- follow the link for the JSXGraph version you want to try
- Replace the code in the HTML section (contents of
<p hidden id="init">
) with the content of the clipboard