Clicking the Animation Script button on the Sample Size and Power window for one mean shows an interactive plot. This plot illustrates the effect that changing the sample size has on power. As an example of using the Animation Script:
1.

Select DOE > Design Diagnostics > Sample Size and Power.

2.

Click the One Sample Mean button in the Sample Size and Power Window.

3.

Enter 2 for Std Dev.

4.

Enter 1.5 as Difference to detect.

5.

Enter 20 for Sample Size.

6.

Leave Power blank.

The Sample Size and Power window appears as shown on the left of Example of Animation Script to Illustrate Power.
7.

Click Animation Script.

Select and drag the square handles to see the changes in statistics based on the positions of the curves. To change the values of Sample Size and Alpha, click on their values beneath the plot.