Page 1 of 1

auto placing variable value in chart

Posted: Mon May 21, 2012 2:34 pm
by vogelh
Using Eviews 7.2.

I've defined !probcutoff=0.15
this is my name for a given p-value.

Is there a simple way to automatically place this as a string or otherwise as part of or into chart?

thanks.

Re: auto placing variable value in chart

Posted: Mon May 21, 2012 2:41 pm
by EViews Gareth
Use chart.addtext

Re: auto placing variable value in chart

Posted: Wed May 23, 2012 4:57 pm
by vogelh
Sorry to bother again. Still having difficulty implementing instructions.

I want to add !probcutoff = 0.15 with
string probval ="pval="
to the line graph generated as shown below.

What would you recommend to get the !probcutoff value into the graph?
thanks

My program works fine in doing the following:
----------------------------
smpl @first @first+!length-2*!ssize
if !v=1 then line wabsigraphts
endif
if !v=2 then line wacsigraphts
endif
-----------------------------

thanks.

Re: auto placing variable value in chart

Posted: Wed May 23, 2012 7:04 pm
by EViews Gareth
Use the:

Code: Select all

freeze(graphname) series.line
method of generating the graph.