How to Overwrite an Existing Text?

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

gio.ortolani
Posts: 14
Joined: Wed Apr 25, 2012 7:34 am

How to Overwrite an Existing Text?

Postby gio.ortolani » Tue Dec 18, 2012 1:33 pm

Hi everybody!

Every month I shall update some graphs that have the following text, as an example: "prices of November 2012".

I use the following code:

Code: Select all

graph01.addtext(2.77,2.77) "prices of November 2012"
However, in December, I must update them and, if I use

Code: Select all

graph01.addtext(2.77,2.77) "prices of December 2012"
the code will not overwrite it, but it will superimpose the old text with the newer one.

Is there a way to overwrite it or change the existing text?

Thanks,
Giovanna

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

Re: How to Overwrite an Existing Text?

Postby EViews Gareth » Tue Dec 18, 2012 1:59 pm

Unfortunately not when you're using your own co-ordinates :(

gio.ortolani
Posts: 14
Joined: Wed Apr 25, 2012 7:34 am

Re: How to Overwrite an Existing Text?

Postby gio.ortolani » Tue Dec 18, 2012 6:12 pm

Damn it! What if I do not use my own coordinates? How the code would be? :roll:

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

Re: How to Overwrite an Existing Text?

Postby EViews Gareth » Tue Dec 18, 2012 6:13 pm

Just add a blank piece of text to the same location.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests