AXIS_SIZE = 20;
EXTRA_PIXELS = 25;

function drawplot() {

plot_w= 300 ;
plot_h= 300 ;
var paper = Raphael(10, 10, plot_w + EXTRA_PIXELS, plot_h + EXTRA_PIXELS);


axis = drawAxis(paper,  300 ,  300 , [], [], " ", [-3.5,3.5], [-3.5,3.5],  2 , " black ", [-2,-1,0,1,2], [-2,-1,0,1,2], [-2,-1,0,1,2], [-2,-1,0,1,2] );

pts_x = [-0.3978864,0.4817183,0.6721667,-0.01126058,-0.2478343,0.4670729,0.2838354,0.09756097,0.3860743,0.1856808,-0.05391918,0.902427,0.8812276,1.554600,0.4396386,0.7809937,-0.9919,1.049912,-0.8300957,-1.025638,-1.103211,0.9310538,-1.585091,0.2531939,-0.3924639,-0.005843868,0.4542898,0.3751012,0.4117307,-1.421889];
pts_y = [-1.421968,-0.06954025,-0.316602,-1.56755,0.04774595,1.115773,-0.9063436,-0.2063218,-1.373300,-1.692933,-0.3650755,0.8866807,0.3577390,0.532801,-1.894957,2.243857,0.003690521,-0.6842631,-0.4638072,1.568862,-1.171643,0.4216872,-0.2495378,-1.367127,-0.5220331,-0.988704,2.128483,-2.988719,-0.03548801,-0.4824213];
pts_z = [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];


pts = drawPoints(paper, 300, 300, pts_x, pts_y, pts_z, [-3.5, 3.5], [-3.5, 3.5], " black ");



lns_x = [-1.585091,-1.421889,-1.103211,-1.025638,-0.9919,-0.8300957,-0.3978864,-0.3924639,-0.2478343,-0.05391918,-0.01126058,-0.005843868,0.09756097,0.1856808,0.2531939,0.2838354,0.3751012,0.3860743,0.4117307,0.4396386,0.4542898,0.4670729,0.4817183,0.6721667,0.7809937,0.8812276,0.902427,0.9310538,1.049912,1.554600];
lns_y = [1.145295,1.444447,-0.1311786,0.5368289,-1.092708,0.9470404,0.6632596,2.757301,-0.5974659,1.620043,-2.600091,-0.8076242,-0.7503277,-0.2015791,-1.058733,1.185693,1.096523,-0.6363282,-0.7695727,-0.3747381,1.437804,-0.2879764,-1.427408,1.479688,1.099226,1.656004,-0.7884276,-1.261082,0.3517916,-0.6569211];


lns = drawLine(paper, 300, 300, lns_x, lns_y, " ", [-3.5, 3.5], [-3.5, 3.5],  2 , " red ");


}

