I have two SVG Paths which are constructed in the same way.
a = "M 10 60 C 20 80 40 80 50 60";
b = "M 0 -150 C 82.8 -150 150 -82.8 150 0";
A quick Plot of 'a' shows the following arc
New Window( "JMP 8PFU Layout Example",
Graph Box(
frameSize( 500, 500 ),
xScale(-175,175),
yScale(-175,175),
penColor("blue");
penSize(2);
path(a, 0);
);
);
![thickey_0-1658143323267.png thickey_0-1658143323267.png](https://community.jmp.com/t5/image/serverpage/image-id/44067i84F03B073430F696/image-size/medium?v=v2&px=400)
However when I try to plot 'b' I get an error
DisplayBox[EvalContextBox]
argument value is invalid in access or evaluation of 'Path' , Bad Argument( b ), Path/*###*/(b, 0)
New Window( "JMP 8PFU Layout Example",
Graph Box(
frameSize( 500, 500 ),
xScale(-175,175),
yScale(-175,175),
penColor("blue");
penSize(2);
path(combined, 0);
);
);
If I add a 'closing' character 'z' in the curve it draws the segment, returning the 'line' to the origin point. This works but is not what I want - I just want the arc.
b = "M 0 -150 C 82.8 -150 150 -82.8 150 0 z";
![thickey_1-1658143465249.png thickey_1-1658143465249.png](https://community.jmp.com/t5/image/serverpage/image-id/44068iB52B29F269482AF3/image-size/medium?v=v2&px=400)
My Ultimate goal is to combine 4 arcs to approximate a circle
tr = "M 0 150 C 82.8 150 150 82.8 150 0 z";
br = "M 0 -150 C 82.8 -150 150 -82.8 150 0 z";
bl = "M 0 -150 C -82.8 -150 -150 -82.8 -150 0 z";
tl = "M 0 150 C -82.8 150 -150 82.8 -150 0 z";
combined = "M 0 150 C 82.8 150 150 82.8 150 0 z M 0 -150 C 82.8 -150 150 -82.8 150 0 z M 0 -150 C -82.8 -150 -150 -82.8 -150 0 z M 0 150 C -82.8 150 -150 82.8 -150 0 z";
New Window( "JMP 8PFU Layout Example",
Graph Box(
frameSize( 500, 500 ),
xScale(-175,175),
yScale(-175,175),
penColor("blue");
penSize(2);
path(combined, 0);
);
);
![thickey_2-1658143616070.png thickey_2-1658143616070.png](https://community.jmp.com/t5/image/serverpage/image-id/44069iA8676796D831F442/image-size/medium?v=v2&px=400)
Again, when I remove the 'z' character I get the same error.
For completeness, I tried this combined string in a web-browser with the 'z' characters removed and it rendered correctly
<svg viewBox="-175 -175 350 350" style="border: green solid;">
<path id="Wrf_Edge" stroke="black" fill="none" stroke-width="1" d="M 0 150 C 82.8 150 150 82.8 150 0 M 0 -150 C 82.8 -150 150 -82.8 150 0 M 0 -150 C -82.8 -150 -150 -82.8 -150 0 M 0 150 C -82.8 150 -150 82.8 -150 0"/>
</svg>
![thickey_4-1658143872338.png thickey_4-1658143872338.png](https://community.jmp.com/t5/image/serverpage/image-id/44071i33872B0813E591C5/image-size/medium?v=v2&px=400)