Say i have 4 points on a graph. And i want to join to join up 2 points with a line. How do i do this?

I found this

net = network(numInputs,numLayers,biasConnect,inputConne ct, layerConnect,outputConnect) But not sure what i have to put in for the variables. Thanks Adam