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...?
Predicted Probabilities using gologit2Hi, I have run a gologit2 command on my dependent variabel comprising of four catergoies with autofi…
How to replace long list value by orderHi all. I'm strunggling with replace value. For example, I want to replace "services_rehab_challenge…
Identify first time dummy variable = 1 across observations in a panel data setHello! This is my first time asking a question on here, so please excuse me if it is phrased incorre…
Serial, overlapping and nested hospital transfersHi Clyde I would like to have data that does not have transfers in it and compute length of stay and…
Generate new column with specified data based on an existing columnHi, I have dataset with several companies, and their NAICS code. I want to make a new (additional) c…
Subscribe to:
Post Comments (Atom)
0 Response to How to solve this Y axis problem...?
Post a Comment