()
| 1626 | } |
| 1627 | |
| 1628 | Variable[] getProfile() { |
| 1629 | interp.getParens(); |
| 1630 | ImagePlus imp = getImage(); |
| 1631 | if (imp.getRoi()==null) |
| 1632 | interp.error("Selection required"); |
| 1633 | ProfilePlot pp = new ProfilePlot(imp, IJ.altKeyDown()); |
| 1634 | double[] array = pp.getProfile(); |
| 1635 | if (array==null) { |
| 1636 | interp.done=true; |
| 1637 | return null; |
| 1638 | } else |
| 1639 | return new Variable(array).getArray(); |
| 1640 | } |
| 1641 | |
| 1642 | Variable[] split() { |
| 1643 | String s1 = getFirstString(); |
no test coverage detected