14.03.2014 Views

Scripting Guide - SAS

Scripting Guide - SAS

Scripting Guide - SAS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

616 JSL Syntax Reference Appendix A<br />

Graphic Functions<br />

Arrow(, {x1, y1}, {x2, y2})<br />

Description<br />

Draws an arrow from the first point to the second point. The optional first argument specifies the length<br />

of the arrow's head lines (in pixels).<br />

Returns<br />

Null.<br />

Arguments<br />

pixellength Optional: specifies the length of the arrowhead in pixels.<br />

{x1, y1}, {x2, y2} Two lists of two numbers that each specify a point in the graph.<br />

Notes<br />

The two points can also be enclosed in square brackets: Arrow(, [x1, x2], [y1,<br />

y2]).<br />

Back Color(name)<br />

Description<br />

Sets the color used for filling the graph's background.<br />

Returns<br />

Null.<br />

Argument<br />

name A name color or a color index.<br />

Char To Path(path)<br />

Description<br />

Converts a path specification from a string to a matrix.<br />

Returns<br />

A matrix.<br />

Arguments<br />

path A string that contains the path specification.<br />

Circle({x, y}, radius|PixelRadius(n), , )<br />

Description<br />

Draws a circle centered at {x, y} with the specified radius.<br />

Returns<br />

Null.<br />

Arguments<br />

{x, y} A number that describes a point in the graph<br />

radius A number that describes the length of the circle’s radius in relation to the vertical axis. If the<br />

vertical axis is resized, the circle is also resized.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!