Example 4

This example extend example 1 adding an Export Button. These are similar to Export Areas only triggered by a button press, which calls a user define function with the export equation. Two buttons are created here to illustrate this behevior: