<div id="box1" class="jxgbox" style="width:430px; height:380px;"></div>
<script type="text/javascript">
JXG.Options.text.useMathJax = true;
var board = JXG.JSXGraph.initBoard("box1", {pan: {enabled:false},boundingbox: [0,30, 25,-4],
withLines:true,
keepaspectratio: true,
axis:false,
defaultAxes: {
x: { ticks: {visible: false},withLabel: true,name: '$Y^d_t$',label: {
position: 'rt',
offset: [-5, 15],
anchorX: 'right'
} },
y: { ticks: {visible: false},withLabel: true,name: '$C_t$', label: {
position: 'rt',
offset: [-20, -2],
anchorY: 'top'
} }
},
showNavigation:false,showCopyright:false});
board.renderer.container.style.backgroundColor='white';//'#C5ADC5';
var ax = board.create('axis', [[-1, 0], [10, 0]],{ticks:{visible:false},majorHeight:4,withLabel:true,label:{name:"$x$",position:'rt',offset:[-20,10]},strokeWidth:1.5,});
var au = board.create('axis', [[0, -1], [0, 10]],{ticks:{visible:false},strokeWidth:1.5});
var ay = board.create('axis', [[-2, -1.75], [20,17]],{ticks:{visible:false},strokeWidth:1.5});
var p = [];
p.push(board.create('point', [0,0],{name:''}));
p.push(board.create('point', [11.04,20.92],{name:''}));
p.push(board.create('point', [1.91,24.32],{name:''}));
p.push(board.create('point', [25.42,22.46],{name:''}));
var c0 = board.create('curve', JXG.Math.Numerics.bezier(p), {strokecolor:'blue', strokeOpacity:0.6, strokeWidth:5});
var s = [];
s.push(board.create('point', [14.89,10.33],{name:'A'}));
s.push(board.create('point', [12.75,16.15],{name:'B'}));
s.push(board.create('point', [24.13,14.77],{name:'C'}));
s.push(board.create('point', [25.42,22.46],{name:'E'}));
var c1 = board.create('curve', JXG.Math.Numerics.bezier(s), {strokecolor:'blue', strokeOpacity:0.6, strokeWidth:5});
var q = [];
q.push(board.create('point', [0,0],{name:''}));
q.push(board.create('point', [7.64,1.46],{name:''}));
q.push(board.create('point', [7.31,10.83],{name:''}));
q.push(board.create('point', [14.89,10.33],{name:''}));
var c2 = board.create('curve', JXG.Math.Numerics.bezier(q), {strokecolor:'blue', strokeOpacity:0.6, strokeWidth:5});
var clip_path = board.create('curveintersection', [c0, c1, c2], {
strokeWidth: 3,
fillColor: 'yellow',
fillOpacity: 0.3
});