You can add variables into the Text command using a token. These are blue pill-shaped entries that will dynamically update when you change your data. There are two types of values that can be used for tokens:
- From a global variable
- From another command
For example, the Text command documentation demonstrates how to use display results from a Fit command, where the plus symbol to the right of the text box is used to add the Token.
I see in your file you have the values calculated in the data table. These values cannot be used as tokens. Instead, use a Number from Column variable to calculate the values. FYI — Some commands can calculate summary stats that can directly be used as a token (Box, Histogram).
Here is an example showing tokens from a Box command and tokens from two variables ….
In your case, I think all the values you want to calculate are options in the number from column variable, so that is probably the way to go.
Does that help / make sense?
I am curious what command you are using to plot the data. Are you use these means to also create the graph when the error bars? If you are you might want to consider a slightly different approach where you flatten the data and then use the Pivot command – that can give you the graph with the mean and sem in one step. Just a thought! If you want more information or have other questions – let us know.