Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Stata error when changing lpattern of twoway line?

    Hey guys,
    I was just about to produce a graph with a scatter and different lines. Here is the code:

    Code:
    twoway scatter yt_4 nfci if qdate <= tq(2017q4), msize(vsmall) || line yt_4_hat_fcio_q5 yt_4_hat_fcio_q50 yt_4_hat_fcio_q95 nfci, lpattern(dash dash dash) || lfit yt_4 nfci, color(red) lpattern(dash) sort ///
    title("") xtitle("FCI", size(medium)) xlabel(,labsize(small)) ytitle("GDP growth 4 quarters ahead", size(medium)) ///
    ylabel(, labsize(small)) ///
    aspectratio(1) ysize(6) graphregion(color(white)) ///
    legend(size(small) order(2 3 4 5) label(5 "OLS")) graphregion(color(white))
    Why are the lines, which should be "dashed" interrupted?

    Click image for larger version

Name:	error_lpattern.png
Views:	1
Size:	118.7 KB
ID:	1659230

    Best,
    Mario

  • #2
    I found the problem! CLOSED

    Comment


    • #3
      🤣🤣🤣🤣🤣🤣🤣🤣 closed


      What was the problem after all?

      Comment

      Working...
      X