Another functions of Love shape
JXG.Options.axis.ticks.insertTicks = false;
JXG.Options.axis.ticks.ticksDistance = 10;
var board = JXG.JSXGraph.initBoard('box1', {
boundingbox: [-3, 3, 3, -3],showcopyright: false,showNavigation: false,axis: true,defaultAxes: {
y: { ticks: {majorHeight: 5 } },
x: { ticks: {majorHeight: 5 } },
},
});
var f1 = board.create('functiongraph',[function(x){ return 0.829*(Math.abs(x)+Math.sqrt(1-x*x));}, -2, 2]);
var f2 = board.create('functiongraph',[function(x){ return 0.8*(Math.abs(x)-Math.sqrt(1-x*x));}, -2, 2]);
