My data consists of an x-variable (year) and a y-variable (y1). I want to plot a line graph of (y1, year). "year" ranges from 1923-1933, but the issue is that 1930 is split into two parts: 1930a and 1930b, denoting the first and second half of 1930, respectively. Because of this, the "year" variable has to be in string format. How do I plot a line graph using a string x-axis?
Example:
Example:
Code:
* Example generated by -dataex-. For more info, type help dataex clear input str5 year float y1 "1923" 112 "1924" 112 "1925" 117 "1926" 115 "1927" 128 "1928" 132 "1929" 141 "1930a" 123 "1930b" 158 "1931" 170 "1932" 171 "1933" 163 end
Comment