diff options
Diffstat (limited to 'texmf-dist/scripts/ketpic/ketlib/ketpic2escifiles6/InWindow.sci')
-rwxr-xr-x | texmf-dist/scripts/ketpic/ketlib/ketpic2escifiles6/InWindow.sci | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/texmf-dist/scripts/ketpic/ketlib/ketpic2escifiles6/InWindow.sci b/texmf-dist/scripts/ketpic/ketlib/ketpic2escifiles6/InWindow.sci new file mode 100755 index 00000000..9dacd30c --- /dev/null +++ b/texmf-dist/scripts/ketpic/ketlib/ketpic2escifiles6/InWindow.sci @@ -0,0 +1,11 @@ +function Rx=InWindow(PA) + global XMIN XMAX YMIN YMAX + Eps=10.0^(-6); + X=PA(1); Y=PA(2); + if X>XMIN-Eps & X<XMAX+Eps & Y>YMIN-Eps & Y<YMAX+Eps + Rx='i' + else + Rx='o' + end +endfunction + |