Hello,
I would like to use two line styles for the same graph to denote value above and below a certain threshold: twoway (tsline var if var<=1) (tsline var if var>1, lpattern(dash))
I also tried creating two variables, one for values <=1 and another for values >1. But in both cases I run into the problem that - because the values for each variable to do not occur continuously - I get different shapes than if I were to just draw one line for all values. What I would like is to have the same shape as when I don't split it, but with a dashed line for values above 1.
Could anyone suggest a solution?
Many thanks!
Related Posts with Dashed line graph for parts of the line
Quantile Regression : LogicHi, I am working on a dataset where I am required to run quantile regressions. I want to understand …
Urgent Help NeededDear Forum, I am currently working on my Bachelor's Thesis, and my data results are not really maki…
Help on Interpreting Negative Value Index dependent variableI am doing a linear regression with an index (values from -400 to 400) as my continuous dependent va…
-estout- returning "file could not be opened" error except for tex filesI'm running into a puzzling situation where I'm receiving the "file [XYZ] could not be opened" error…
What are .r values in a dataset? Can all values be replaced with 0?Hello, I have ".r" values in my dataset and I am unable to figure out why. Data comes from MSCI (KL…
Subscribe to:
Post Comments (Atom)
0 Response to Dashed line graph for parts of the line
Post a Comment