I have a for-loop like
for[i=2:12] for[j in "3 6 8"] {code}
In my code I plot something and i'd like to put something in the title, such as "things and stuff value1" and value1 is calculated over i and j, for example
value1=i*j+1/2.
How can I calculate it then, for example in the title or a label?