14.03.2014 Views

Scripting Guide - SAS

Scripting Guide - SAS

Scripting Guide - SAS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

396 <strong>Scripting</strong> Graphs Chapter 12<br />

Creating New Graphs From Scratch<br />

)<br />

);<br />

yy > 20, 20,<br />

yy<br />

);<br />

Line( {x, y}, {xx, yy} );<br />

x = xx;<br />

y = yy;<br />

);<br />

Figure 12.2 Creating a Graph<br />

Making Changes to Graphs<br />

You can also make changes to graphs through scripting. For example, create a window with a graph and get<br />

a reference to the report:<br />

open("$SAMPLE_DATA/Big Class.jmp");<br />

biv = Bivariate( Y( :weight ), X( :height ), Fit Line );<br />

rbiv = biv

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

Saved successfully!

Ooh no, something went wrong!