Skip to content
Prev 309943 / 398502 Next

Plot 3 lines in one graph

matplot works just fine, but you only have two data points, at -4800 and at
-2800. You chop the x axis at -4500 so that the first point is outside the
graph window and extend it to -100 which is far beyond your point at -2800.
If you want to project the lines, you will have to add points.
+  -4800 25195.73 7415.219 7264.282
+ -2800 15195.73 5415.219 7264.28",
+  header=TRUE)
V1       V2       V3      V41
1 -4800 25195.73 7415.219 7264.282
2 -2800 15195.73 5415.219 7264.280

Did you want to use the two points to compute a slopes and intercepts for
lines and then plot those lines?

----------------------------------------------
David L Carlson
Associate Professor of Anthropology
Texas A&M University
College Station, TX 77843-4352