adding in the text of a figure a number

For requesting general information about EViews, sharing your own tips and tricks, and information on EViews training or guides.

Moderators: EViews Gareth, EViews Moderator

lukeroom
Posts: 11
Joined: Tue Sep 13, 2022 12:50 am

adding in the text of a figure a number

Postby lukeroom » Sun Oct 02, 2022 7:28 am

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

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13317
Joined: Tue Sep 16, 2008 5:38 pm

Re: adding in the text of a figure a number

Postby EViews Gareth » Sun Oct 02, 2022 7:59 am

Code: Select all

%y = @str(!x)
fig1.addtext(b) {%y}
Follow us on Twitter @IHSEViews

lukeroom
Posts: 11
Joined: Tue Sep 13, 2022 12:50 am

Re: adding in the text of a figure a number

Postby lukeroom » Sun Oct 02, 2022 11:20 am

Thank you!


Return to “General Information and Tips and Tricks”

Who is online

Users browsing this forum: No registered users and 17 guests