Difference between revisions of "Applets:Spektrum"

From LNTwww
Line 52: Line 52:
 
JXG.Options.text.useMathJax = true;
 
JXG.Options.text.useMathJax = true;
 
pltBox1 = JXG.JSXGraph.initBoard('pltBox1', {
 
pltBox1 = JXG.JSXGraph.initBoard('pltBox1', {
             showCopyright:false, axis:false,
+
             showCopyright:false, axis:true,
 
             zoom:{factorX:1.1, factorY:1.1, wheel:true, needshift:true, eps: 0.1},
 
             zoom:{factorX:1.1, factorY:1.1, wheel:true, needshift:true, eps: 0.1},
             grid:false,
+
             grid: true,
 
             boundingbox: [-1.1, 1.1, 1.1, -0.3]
 
             boundingbox: [-1.1, 1.1, 1.1, -0.3]
 
});
 
});
 
pltBox2 = JXG.JSXGraph.initBoard('pltBox2', {
 
pltBox2 = JXG.JSXGraph.initBoard('pltBox2', {
             showCopyright:false, axis:false,
+
             showCopyright:false, axis: true,
 
             zoom:{factorX:1.1, factorY:1.1, wheel:true, needshift:true, eps: 0.1},
 
             zoom:{factorX:1.1, factorY:1.1, wheel:true, needshift:true, eps: 0.1},
             grid:false,
+
             grid: true,
 
             boundingbox: [-3.1, 1.1, 3.1, -0.3]
 
             boundingbox: [-3.1, 1.1, 3.1, -0.3]
 
});
 
});
Line 87: Line 87:
  
  
//Einstellungen der Achsen
+
 
xaxis1 = pltBox1.create('axis', [[0, 0], [1,0]], {
 
            name:'\\[t\\]',
 
            withLabel:true, label:{position:'rt', offset:[-25, 15]}
 
});
 
yaxis1 = pltBox1.create('axis', [[0, 0], [0, 1]], {
 
            name:'\\[x(t)\\]',
 
            withLabel:true, label:{position:'rt', offset:[10, -5]}
 
});
 
xaxis2 = pltBox2.create('axis', [[0, 0], [1,0]], {
 
            name:'\\[f\\]',
 
            withLabel:true, label:{position:'rt', offset:[-25, 15]}
 
});
 
yaxis2 = pltBox2.create('axis', [[0, 0], [0, 1]], {
 
            name:'\\[X(f)\\]',
 
            withLabel:true, label:{position:'rt', offset:[10, -5]}
 
});
 
  
  

Revision as of 13:42, 18 September 2017

mit Gitter