Page 1 of 1

adding in the text of a figure a number

Posted: Sun Oct 02, 2022 7:28 am
by lukeroom
Hello, I would like to add in the text of a figure a scalar, say x.
how to transform the scalar to be read as a text?
something like:
fig1.addtext(b) y

where y is the text version of x

Thank you!
Luke

Re: adding in the text of a figure a number

Posted: Sun Oct 02, 2022 7:59 am
by EViews Gareth

Code: Select all

%y = @str(!x) fig1.addtext(b) {%y}

Re: adding in the text of a figure a number

Posted: Sun Oct 02, 2022 11:20 am
by lukeroom
Thank you!