assignment 5 scatterplot

assignment 5 scatterplot

by Sarah Patterson -
Number of replies: 2

I am working on the last figure--the scatterplot--for assignment 5. When I changed the color of the line to black it created a black outline around the gray confidence interval, and I cannot make this outline go away. Has anyone else come up against this issue and/or found a work-around. It's making me a little crazy...

In reply to Sarah Patterson

Re: assignment 5 scatterplot

by Maria -

Hi Sarah, 

I had the same issue and used the Graphics drop-down to figure out how to solve it. I am assuming you also used the lcolor(black) code, the moral of the story is that it is clcolor(black)

LONG WAY (in case you're interested): If you go to Graphics > Twoway, in the "plots" tab I chose to "edit" my linear plot (my Plot 2). I chose "fit plot" and chose linear fit w/CI, then I went to Options after inputting the x and y. Finally I went to "linear properties" to change the line color to black and "area properties" to keep the CI at default (without a line). This gave me the code below:

 

SHORT WAY: (lfitci bw gestage, clcolor(black) clpattern(solid))         

 

Hope this is helpful and works for you!

Best,

Maria