Page 1 of 1
change the location of a graph's text label
Posted: Thu Sep 10, 2009 10:37 am
by maggie
I generate a bunch of graphs in a code. Since there is only one series in each graph, the series name appears above the box of the chart. How can I move it down below the box in a program?
Thank you.
Re: change the location of a graph's text label
Posted: Thu Sep 10, 2009 10:56 am
by EViews Gareth
You can use the addtext command to add text to a graph.
I trick to get rid of the existing text is to use addtext to put an empty string over the existing text.
Re: change the location of a graph's text label
Posted: Thu Sep 10, 2009 11:36 am
by maggie
Thank you.
Re: change the location of a graph's text label
Posted: Wed Dec 01, 2010 7:54 am
by sylgin
How can I, in a program, delete the serie name which appears above the box of the chart ? I tried to use the addtext command but it doesn't work ?
Thank you.
Re: change the location of a graph's text label
Posted: Wed Dec 01, 2010 8:34 am
by EViews Gareth
graph.addtext(t) ""
Re: change the location of a graph's text label
Posted: Sat Nov 01, 2014 4:25 pm
by jtica
addtext "" command deletes the title, but compared to graphs with two series, graphs with addtext "" are shifted down for one line.
This does not presents a big problem, but if someone tries to use two graphs in a single line in latex it is going to be impossible to align them verticaly. Graph with two series will be higher compared to graph with one series.
I tried with merge command which aligns graphs properly, but the problem is that merge means that it is a single figure in latex, so I can not cross reference each of the graph separately.
I tried to move legend one line lower with (y,x) command but it did not solve alignment problem.
My guess it that addtext overwrites graph name with empty text, but graph name line still remains in the graph. SO basically I am wondering is there any way to delete that text box?
jt