Skip to content
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.

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