The result panel is the area on the right of the editor when you're editing a sheet. The output from each calculation is shown on the same line.
In situations where a line is run more than one time (e.g. a loop or function declaration), a result will also show the number of times the line was executed. The result shown is the last value that was generated.
By default, result values are updated as you type. In most situations this is exactly what you want since it gives you immediate feedback on your calculation. However, if you have a very long document or a long-running calculation the results may not appear immediately. This can also happen if you create a loop that never ends. In these cases, Figures will show a message at the bottom of the results panel, and the recalculate button (clockwise arrow) will change to a stop button (solid square).
Clicking the stop button will stop running the calculation until you start typing again or click the recalculate button. If you'd like to run your calculations manually go to
Preferences > Editing > Automation and uncheck the option for automatically calculating results. In manual mode, Figures will not calculate any results until you click the recalculate button or select the menu item
Editor > Recalculate.
Since the existing results will no longer be relevant after you edit your calculation, there's also an option to clear the existing results when you make a change. With this option selected (which is the default) the result panel will be emptied when you start to type.
As a convenience, there's a summary displayed at the bottom of the results panel. By default, it shows the total of all the results. You can change the type of summary by selecting
View > Result Summary. You could also click the summary name (
Total by default) and select a different one from the drop-down menu:
- None: removes the summary from all documents
- Total: adds up all the results (see the total function)
- Average: divides the sum of all the results by their number (see the average function)
- Maximum: shows the largest result (see the maximum function)
- Minimum: shows the smallest result (see the minimum function)
Click on the summary value to copy it.
NOTEIf the summary isn't valid, it will remain blank. For example, if there are two results,
true, the summary value will be empty.