plot.new()
segments(0, 1, 3)
segments(0, 0.5, 2)
I tried plotting 2 lines, but it seems like my plot size is too small (so the two lines appear to be the same length). I've tried the following in reference to this post but couldn't get the desired result:
> dev.new(height = 3, width = 3)
NULL
> segments(0, 1, 3)
Error in segments(0, 1, 3) : plot.new has not been called yet
> segments(0, 0.5, 2)
Error in segments(0, 0.5, 2) : plot.new has not been called yet