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.
change the location of a graph's text label
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: change the location of a graph's text label
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.
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
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.
Thank you.
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: change the location of a graph's text label
graph.addtext(t) ""
Re: change the location of a graph's text label
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
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
Who is online
Users browsing this forum: No registered users and 2 guests
