I am looking for a way to use the value of a local variable in a .grec file.
I want to combine a series of graphs into a single one. In the resulting graph, what is now the title of each individual graph should be replaced by the year.
This change is part of a series of changes recorded in a grec file. I would like to add this change to the grec file (or have it in a different grec file, this does not matter).
The graph play command is called within a -foreach- loop where the year is stored in local variable X.
I tried what seemed plausible, that is
.subtitle.text = {}
.subtitle.text.Arrpush `X'
and
.subtitle.text = {}
.subtitle.text.Arrpush "`X'"
These commands simply erase the title, as if the local variable was empty.
Is there a way to do what I want to do?
Thanks in advance.
I want to combine a series of graphs into a single one. In the resulting graph, what is now the title of each individual graph should be replaced by the year.
This change is part of a series of changes recorded in a grec file. I would like to add this change to the grec file (or have it in a different grec file, this does not matter).
The graph play command is called within a -foreach- loop where the year is stored in local variable X.
I tried what seemed plausible, that is
.subtitle.text = {}
.subtitle.text.Arrpush `X'
and
.subtitle.text = {}
.subtitle.text.Arrpush "`X'"
These commands simply erase the title, as if the local variable was empty.
Is there a way to do what I want to do?
Thanks in advance.
Comment