You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+89-18Lines changed: 89 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@
9
9
10
10
---
11
11
12
-
# arcplot v1.2
12
+
# arcplot v1.3
13
13
(16 Feb 2023)
14
14
15
15
This package allows us to draw arc plots in Stata. It is based on the [Arc plot Guide](https://medium.com/the-stata-guide/stata-graphs-arc-plots-eb87015510e6) (October 2021).
@@ -25,19 +25,19 @@ SSC (**v1.2**):
25
25
ssc install arcplot, replace
26
26
```
27
27
28
-
GitHub (**v1.2**):
28
+
GitHub (**v1.3**):
29
29
30
30
```
31
31
net install arcplot, from("https://raw.githubusercontent.com/asjadnaqvi/stata-arcplot/main/installation/") replace
32
32
```
33
33
34
34
35
-
36
-
The `palettes` package is required to run this command:
35
+
The following packages are required to run this command:
37
36
38
37
```
39
38
ssc install palettes, replace
40
39
ssc install colrspace, replace
40
+
ssc install gtools, replace
41
41
```
42
42
43
43
Even if you have these packages installed, please check for updates: `ado update, update`.
@@ -60,25 +60,28 @@ graph set window fontface "Arial Narrow"
where `var1` and `var2` are the string source and destination variables respectively against which the `values` are plotted. Out going values have the same color as the horizontal bar, while the incoming values have the colors of respective bars. This might still be refined but this is in line with standard arcplot packages in other softwares.
84
+
where `var1` and `var2` are the string source and destination variables respectively against which the numerical `var` variable is plotted. Out going values have the same color as the horizontal bar, while the incoming values have the colors of respective bars. Incoming boxes have a slightly different shade.
82
85
83
86
84
87
@@ -87,38 +90,106 @@ where `var1` and `var2` are the string source and destination variables respecti
87
90
Get the example data from GitHub:
88
91
89
92
```
90
-
use "https://github.com/asjadnaqvi/stata-arcplot/blob/main/data/sankey_example.dta?raw=true", clear
93
+
use "https://github.com/asjadnaqvi/stata-arcplot/blob/main/data/trade_2022.dta?raw=true", clear
0 commit comments