Hi everybody,
I am new in this network. I am new with Stata. I am using the 15.1 and trying to plot marginal effects... I have almost all done but... I have the problem you can see in the graph. The Y axis is to narrow... How can I change in order my Y axis uses all the complete space in the line? and How can I do in order that the X scale is in the Xline and not out of the graph (see it bellow)... These are the codes I am using:
graph twoway line conbx MVZ, clpattern(solid) clwidth(thin) clcolor(black)
|| line top MVZ, clpattern(dash) clwidth(thin) clcolor(black)
|| line bottom MVZ, clpattern(dash) clwidth(thin) clcolor(black)
|| line topb MVZ, clpattern(dash) clwidth(thin) clcolor(blue)
|| line bottomb MVZ, clpattern(dash) clwidth(thin) clcolor(blue)
|| line topc MVZ, clpattern(dash) clwidth(thin) clcolor(green)
|| line bottomc MVZ, clpattern(dash) clwidth(thin) clcolor(green)
|| ,
xlabel(0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5, nogrid labsize(2))
ylabel(-1.5 -1 -0.5 0 0.5 1 1.5 2.5 3, nogrid labsize(2))
yscale(line)
xscale(noline)
legend(col(1) order(1 3 4 6) label(1 "Marginal Effect of Fiscal Multiplier") label(3 "95% Confidence Interval") label(4 "90% Confidence Interval") label(6 "99% Confidence Interval"))
yline(0, lcolor(black))
title("Marginal Effect of Fiscal Multiplier in an Open Economy", size(4))
subtitle(" " "Dependent Variable: Real GDP Growth Rate" " ", size(3))
xtitle(Openness level, size(3) )
xsca(titlegap(2))
ysca(titlegap(2))
ytitle("Fiscal Multiplier", size(3))
scheme(s2mono) graphregion(fcolor(white));
And this is the graph I obtain... I have changed the Y scale but it always put the numbers in the same little space...:
Array
Related Posts with How to solve this Y axis problem...?
entropy and missing valuesThe number of non-missing values varies with cases. For example, as shown in the below table, a has …
Help with Tabout One-way tableHello, I would like to make a simple summary statistic table describing 3 merges. I just renamed th…
sdmxuse error with OECD APII have a strange error with "sdmxuse" command. I used the same code a week ago with no issues. Now I…
Reshape long multiple variables error invalid "var" 198Hi all, I am having trouble with the reshaping long command. I have read the previous posts, but I w…
Problem with margins after regression with cubic spline interaction termsHello, I am working on a longitudinal study looking for differences between two groups in the depen…
Subscribe to:
Post Comments (Atom)
0 Response to How to solve this Y axis problem...?
Post a Comment