Hi. The code for my twoway scatterplot generates the graph below. I want to make the following changes to the graph:
- change the markers to white with black outline
- have the X-axis label show the years (2002, 2003, 2004) with smaller markers for the months in between each year marker
- remove the legend
Code:
set scheme s1color
twoway (scatter one time), title("Teleconsults trend") subtitle("(2022-2024)") ///
ytitle("Number of teleconsults") yscale(range(0 .)) ylabel(#6, labsize(small) ///
angle(horizontal) nogrid) ///
xtitle(Year) graphregion(fcolor(white)) || lfit one time
* Example generated by -dataex-. To install: ssc install dataex
clear
input float(year month) long one float time
2022 1 2233 1
2022 2 2224 2
2022 3 2326 3
2022 4 2052 4
2022 5 2059 5
2022 6 1656 6
2022 7 1574 7
2022 8 1386 8
2022 9 1361 9
2022 10 1071 10
2022 11 1154 11
2022 12 1109 12
2023 1 1082 13
2023 2 1435 14
2023 3 1447 15
2023 4 1172 16
2023 5 1176 17
2023 6 1209 18
2023 7 1289 19
2023 8 1759 20
2023 9 1480 21
2023 10 1311 22
2023 11 1186 23
2023 12 1208 24
2024 1 1345 25
2024 2 1277 26
2024 3 1185 27
2024 4 1257 28
2024 5 1209 29
2024 6 1405 30
2024 7 1491 31

Comment