diff --git a/CITATION.cff b/CITATION.cff
index 488ec47..04ac910 100644
--- a/CITATION.cff
+++ b/CITATION.cff
@@ -3,6 +3,6 @@ authors:
- family-names: "Naqvi"
given-names: "Asjad"
title: "Stata package ``trimap''"
-version: 1.0
-date-released: 2024-08-28
+version: 1.1
+date-released: 2024-09-12
url: "https://github.com/asjadnaqvi/stata-trimap"
diff --git a/README.md b/README.md
index c3a2cea..667e752 100644
--- a/README.md
+++ b/README.md
@@ -1,21 +1,17 @@
-
-
![StataMin](https://img.shields.io/badge/stata-2015-blue) ![issues](https://img.shields.io/github/issues/asjadnaqvi/stata-trimap) ![license](https://img.shields.io/github/license/asjadnaqvi/stata-trimap) ![Stars](https://img.shields.io/github/stars/asjadnaqvi/stata-trimap) ![version](https://img.shields.io/github/v/release/asjadnaqvi/stata-trimap) ![release](https://img.shields.io/github/release-date/asjadnaqvi/stata-trimap)
----
-
[Installation](#Installation) | [Syntax](#Syntax) | [Examples](#Examples) | [Feedback](#Feedback) | [Change log](#Change-log)
-
+---
![trimap_banner](https://github.com/user-attachments/assets/a06e7bc6-3e2e-4356-adf1-48aadd511d3a)
---
-# trimap v1.0
-(28 Aug 2024)
+# trimap v1.1
+(12 Sep 2024)
This package provides the ability to draw trimaps Stata.
@@ -30,7 +26,7 @@ The SSC version (**coming soon**):
```
-Or it can be installed from GitHub (**v1.0**):
+Or it can be installed from GitHub (**v1.1**):
```stata
net install trimap, from("https://raw.githubusercontent.com/asjadnaqvi/stata-trimap/main/installation/") replace
@@ -68,8 +64,11 @@ graph set window fontface "Arial Narrow"
The syntax for the latest version is as follows:
```stata
- trimap varL varR varB [if] [in], [ frame(frame name) cuts(num) geo(str) geopost(str) zoom fill points lines labels colorL(str) colorR(str) colorB(str) lwidth(str) msize(str) malpha(num) mcolor(str) mlcolor(str) mlwidth(str) leglwidth(str)
- leglcolor(str) xscale(num) yscale(num) * ]
+ trimap varL varR varB [if] [in],
+ [ frame(frame name) cuts(num) normalize(1|100) geo(geoplot layers) geopost(g) zoom fill
+ points lines labels colorL(str) colorR(str) colorB(str) lwidth(str) msize(str) malpha(num) mcolor(str) mlcolor(str)
+ mlwidth(str) leglwidth(str) leglcolor(str) mlabel(var) mlabsize(str) mlabcolor(str) mlabposition(str) xscale(num)
+ yscale(num) * ]
```
@@ -94,15 +93,15 @@ Software packages take countless hours of programming, testing, and bug fixing.
author = {Naqvi, Asjad},
title = {Stata package ``trimap''},
url = {https://github.com/asjadnaqvi/stata-trimap},
- version = {1.0},
- date = {2024-08-28}
+ version = {1.1},
+ date = {2024-09-12}
}
```
*or simple text*
```
-Naqvi, A. (2024). Stata package "trimap" version 1.0. Release date 28 August 2024. https://github.com/asjadnaqvi/stata-trimap.
+Naqvi, A. (2024). Stata package "trimap" version 1.1. Release date 12 September 2024. https://github.com/asjadnaqvi/stata-trimap.
```
@@ -206,6 +205,14 @@ trimap y99prop y15prop y64prop, frame(nuts3) mlc(white) ///
+```stata
+trimap y99prop y15prop y64prop, frame(nuts3) zoom mlc(white) cuts(4) ///
+ geo( (line nuts0, lc(white) lw(0.05)) ) norm(1)
+```
+
+
+
+
```stata
trimap y99prop y15prop y64prop, frame(nuts3) zoom mlc(white) cuts(4) ///
geo( (line nuts0, lc(white) lw(0.05)) )
@@ -332,6 +339,10 @@ Please open an [issue](https://github.com/asjadnaqvi/stata-trimap/issues) to rep
## Change log
+**v1.1 (12 Sep 2024)**
+- Package aligned with `ternary` by adding options `norm()`, `mlabel()`, `mlabcolor()`, `mlabposition()`, `mlabsize()`.
+- Minor cleanups.
+
**v1.0 (28 Aug 2024)**
- First release.
diff --git a/figures/ternary_test.png b/figures/ternary_test.png
index 74c03ff..82f6a25 100644
Binary files a/figures/ternary_test.png and b/figures/ternary_test.png differ
diff --git a/figures/trimap1.png b/figures/trimap1.png
index 2cb85e1..117de58 100644
Binary files a/figures/trimap1.png and b/figures/trimap1.png differ
diff --git a/figures/trimap10.png b/figures/trimap10.png
index d2816bb..e16e074 100644
Binary files a/figures/trimap10.png and b/figures/trimap10.png differ
diff --git a/figures/trimap11.png b/figures/trimap11.png
index c1e96d3..34e3b7d 100644
Binary files a/figures/trimap11.png and b/figures/trimap11.png differ
diff --git a/figures/trimap12.png b/figures/trimap12.png
index f11e4e1..86837f8 100644
Binary files a/figures/trimap12.png and b/figures/trimap12.png differ
diff --git a/figures/trimap13.png b/figures/trimap13.png
index 8baa361..a141371 100644
Binary files a/figures/trimap13.png and b/figures/trimap13.png differ
diff --git a/figures/trimap14.png b/figures/trimap14.png
index 8b3b189..74fba7a 100644
Binary files a/figures/trimap14.png and b/figures/trimap14.png differ
diff --git a/figures/trimap1_1.png b/figures/trimap1_1.png
index 1ce8e57..804c8f2 100644
Binary files a/figures/trimap1_1.png and b/figures/trimap1_1.png differ
diff --git a/figures/trimap2.png b/figures/trimap2.png
index edc784d..39aecaa 100644
Binary files a/figures/trimap2.png and b/figures/trimap2.png differ
diff --git a/figures/trimap2_1.png b/figures/trimap2_1.png
new file mode 100644
index 0000000..e0a59fa
Binary files /dev/null and b/figures/trimap2_1.png differ
diff --git a/figures/trimap4.png b/figures/trimap4.png
index edc784d..39aecaa 100644
Binary files a/figures/trimap4.png and b/figures/trimap4.png differ
diff --git a/figures/trimap5.png b/figures/trimap5.png
index bdb1efc..facaf92 100644
Binary files a/figures/trimap5.png and b/figures/trimap5.png differ
diff --git a/figures/trimap6.png b/figures/trimap6.png
index 0faacbe..3c91480 100644
Binary files a/figures/trimap6.png and b/figures/trimap6.png differ
diff --git a/figures/trimap7.png b/figures/trimap7.png
index b130cd0..84c9891 100644
Binary files a/figures/trimap7.png and b/figures/trimap7.png differ
diff --git a/figures/trimap8.png b/figures/trimap8.png
index 79dfa88..9eb5589 100644
Binary files a/figures/trimap8.png and b/figures/trimap8.png differ
diff --git a/figures/trimap9.png b/figures/trimap9.png
index 50ca2c0..d1cc4de 100644
Binary files a/figures/trimap9.png and b/figures/trimap9.png differ