x

y

P12_sub = (2.9041229204669885, 3.2554033659820525)
ymin = -2.3805424896927017
ymax = 6.239139407221629
xmax = 6.870632995237628
xmin = -3.790674507320493
dx:1
xP12sub: (round(x(P12_sub) / dx) * dx)
dy:1
yP12sub: (round(y(P12_sub) / dy) * dy)
P12 = DynamicCoordinates(P12_sub, If[xP12sub  <  xmin, xmin, If[xP12sub > xmax, xmax, xP12sub]], If[yP12sub  <  ymin, ymin, If[yP12sub > ymax, ymax, yP12sub]])
P11_sub = (0.05887573964496887, 2.2785601761713346)
xP11sub: (round(x(P11_sub) / dx) * dx)
yP11sub: (round(y(P11_sub) / dy) * dy)
P11show = DynamicCoordinates(P11_sub, If[xP11sub  <  xmin, xmin, If[xP11sub > xmax, xmax, xP11sub]], If[yP11sub  <  ymin, ymin, If[yP11sub > ymax, ymax, yP11sub]])
anchor_base:false
P11 = If(anchor_base, (0, 0), P11show)
LL = Corner(1)
UR = Corner(3)
xlabeldisplayed: "" + (LaTeX[xlabel]) + ""
ylabeldisplayed: "" + (LaTeX[ylabel]) + ""
v1 = Vector(P11, P12)
show_points:true
P21_sub = (0.7594674556212994, 2.5333060343768308)
xP21sub: (round(x(P21_sub) / dx) * dx)
yP21sub: (round(y(P21_sub) / dy) * dy)
P21show = DynamicCoordinates(P21_sub, If[xP21sub  <  xmin, xmin, If[xP21sub > xmax, xmax, xP21sub]], If[yP21sub  <  ymin, ymin, If[yP21sub > ymax, ymax, yP21sub]])
P21 = If(anchor_base, (0, 0), P21show)
P22_sub = (2.642307692307688, 1.25957674334935)
xP22sub: (round(x(P22_sub) / dx) * dx)
yP22sub: (round(y(P22_sub) / dy) * dy)
P22 = DynamicCoordinates(P22_sub, If[xP22sub  <  xmin, xmin, If[xP22sub > xmax, xmax, xP22sub]], If[yP22sub  <  ymin, ymin, If[yP22sub > ymax, ymax, yP22sub]])
v2 = Vector(P21, P22)
P31_sub = (1.8213017751479252, 0.027190020696324882)
xP31sub: (round(x(P31_sub) / dx) * dx)
yP31sub: (round(y(P31_sub) / dy) * dy)
P31show = DynamicCoordinates(P31_sub, If[xP31sub  <  xmin, xmin, If[xP31sub > xmax, xmax, xP31sub]], If[yP31sub  <  ymin, ymin, If[yP31sub > ymax, ymax, yP31sub]])
P31 = If(anchor_base, (0, 0), P31show)
P32_sub = (2.543786982248516, 2.266658998048857)
xP32sub: (round(x(P32_sub) / dx) * dx)
yP32sub: (round(y(P32_sub) / dy) * dy)
P32 = DynamicCoordinates(P32_sub, If[xP32sub  <  xmin, xmin, If[xP32sub > xmax, xmax, xP32sub]], If[yP32sub  <  ymin, ymin, If[yP32sub > ymax, ymax, yP32sub]])
v3 = Vector(P31, P32)
P41_sub = (1.7665680473372745, -1.070298087410214)
xP41sub: (round(x(P41_sub) / dx) * dx)
yP41sub: (round(y(P41_sub) / dy) * dy)
P41show = DynamicCoordinates(P41_sub, If[xP41sub  <  xmin, xmin, If[xP41sub > xmax, xmax, xP41sub]], If[yP41sub  <  ymin, ymin, If[yP41sub > ymax, ymax, yP41sub]])
P41 = If(anchor_base, (0, 0), P41show)
P42_sub = (-0.11797999364397496, 3.7803198917556817)
xP42sub: (round(x(P42_sub) / dx) * dx)
yP42sub: (round(y(P42_sub) / dy) * dy)
P42 = DynamicCoordinates(P42_sub, If[xP42sub  <  xmin, xmin, If[xP42sub > xmax, xmax, xP42sub]], If[yP42sub  <  ymin, ymin, If[yP42sub > ymax, ymax, yP42sub]])
v4 = Vector(P41, P42)
P51_sub = (-0.35710059171597736, 1.658591262476315)
xP51sub: (round(x(P51_sub) / dx) * dx)
yP51sub: (round(y(P51_sub) / dy) * dy)
P51show = DynamicCoordinates(P51_sub, If[xP51sub  <  xmin, xmin, If[xP51sub > xmax, xmax, xP51sub]], If[yP51sub  <  ymin, ymin, If[yP51sub > ymax, ymax, yP51sub]])
P51 = If(anchor_base, (0, 0), P51show)
P52_sub = (-0.3488350773607847, -0.8334200979388476)
xP52sub: (round(x(P52_sub) / dx) * dx)
yP52sub: (round(y(P52_sub) / dy) * dy)
P52 = DynamicCoordinates(P52_sub, If[xP52sub  <  xmin, xmin, If[xP52sub > xmax, xmax, xP52sub]], If[yP52sub  <  ymin, ymin, If[yP52sub > ymax, ymax, yP52sub]])
v5 = Vector(P51, P52)
P61_sub = (-0.45562130177514887, 1.0356926065239551)
xP61sub: (round(x(P61_sub) / dx) * dx)
yP61sub: (round(y(P61_sub) / dy) * dy)
P61show = DynamicCoordinates(P61_sub, If[xP61sub  <  xmin, xmin, If[xP61sub > xmax, xmax, xP61sub]], If[yP61sub  <  ymin, ymin, If[yP61sub > ymax, ymax, yP61sub]])
P61 = If(anchor_base, (0, 0), P61show)
P62_sub = (-0.9482248520710063, 0.14583738373486962)
xP62sub: (round(x(P62_sub) / dx) * dx)
yP62sub: (round(y(P62_sub) / dy) * dy)
P62 = DynamicCoordinates(P62_sub, If[xP62sub  <  xmin, xmin, If[xP62sub > xmax, xmax, xP62sub]], If[yP62sub  <  ymin, ymin, If[yP62sub > ymax, ymax, yP62sub]])
v6 = Vector(P61, P62)
P71_sub = (0.7923076923076899, 1.1543399695624998)
xP71sub: (round(x(P71_sub) / dx) * dx)
yP71sub: (round(y(P71_sub) / dy) * dy)
P71show = DynamicCoordinates(P71_sub, If[xP71sub  <  xmin, xmin, If[xP71sub > xmax, xmax, xP71sub]], If[yP71sub  <  ymin, ymin, If[yP71sub > ymax, ymax, yP71sub]])
P71 = If(anchor_base, (0, 0), P71show)
P72_sub = (0.8908284023668613, 13.317547365076168)
xP72sub: (round(x(P72_sub) / dx) * dx)
yP72sub: (round(y(P72_sub) / dy) * dy)
P72 = DynamicCoordinates(P72_sub, If[xP72sub  <  xmin, xmin, If[xP72sub > xmax, xmax, xP72sub]], If[yP72sub  <  ymin, ymin, If[yP72sub > ymax, ymax, yP72sub]])
v7 = Vector(P71, P72)
P81_sub = (-2.59442543715157, 1.6806537886611654)
xP81sub: (round(x(P81_sub) / dx) * dx)
yP81sub: (round(y(P81_sub) / dy) * dy)
P81show = DynamicCoordinates(P81_sub, If[xP81sub  <  xmin, xmin, If[xP81sub > xmax, xmax, xP81sub]], If[yP81sub  <  ymin, ymin, If[yP81sub > ymax, ymax, yP81sub]])
P81 = If(anchor_base, (0, 0), P81show)
P82_sub = (-1.1673212832658373, 4.470999530931509)
xP82sub: (round(x(P82_sub) / dx) * dx)
yP82sub: (round(y(P82_sub) / dy) * dy)
P82 = DynamicCoordinates(P82_sub, If[xP82sub  <  xmin, xmin, If[xP82sub > xmax, xmax, xP82sub]], If[yP82sub  <  ymin, ymin, If[yP82sub > ymax, ymax, yP82sub]])
v8 = Vector(P81, P82)
n_v = 0 (slider from 0 to max_nv, step 1)
max_nv:8
show_nv:true
vectorlist_points = First({{P11, P12}, {P21, P22}, {P31, P32}, {P41, P42}, {P51, P52}, {P61, P62}, {P71, P72}, {P81, P82}}, n_v)
vectorlist = First({v1, v2, v3, v4, v5, v6, v7, v8}, n_v)
gridy = Sequence(Segment[(xmin, (i * dy)), (xmax, (i * dy))], i, ceil(ymin / dy), floor(ymax / dy))
gridx = Sequence(Segment[((i * dx), ymin), ((i * dx), ymax)], i, ceil(xmin / dx), floor(xmax / dx))
show_grid:true