-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
df2a6bd
commit f2fd573
Showing
8 changed files
with
31 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
*! bimap v1.6 (17 Mar 2023) | ||
*! bimap v1.61 (12 Apr 2023) | ||
*! Asjad Naqvi ([email protected]) | ||
|
||
* v1.61 (12 Apr 2023): Fix to legend box and label rescaling. | ||
* v1.6 (17 Mar 2023): Colors are now dynamically generated for any number of bins. several new options to control colors, bins, saturation, labels | ||
* v1.51 (14 Nov 2022): Minor legend fixes | ||
* v1.5 (05 Nov 2022): 3 new colors: rgb, gscale, viridis. arrow, scalebar, diagram passthrus added. | ||
|
@@ -639,6 +640,19 @@ qui { | |
local z = `z' + 1 | ||
} | ||
|
||
|
||
// rescale x and y (0-1) | ||
summ x, meanonly | ||
replace x = (x - r(min)) / (r(max) - r(min)) | ||
replace x_mid = (x_mid - r(min)) / (r(max) - r(min)) | ||
replace x_mark = (x_mark - r(min)) / (r(max) - r(min)) | ||
|
||
summ y, meanonly | ||
replace y = (y - r(min)) / (r(max) - r(min)) | ||
replace y_mid = (y_mid - r(min)) / (r(max) - r(min)) | ||
replace y_mark = (y_mark - r(min)) / (r(max) - r(min)) | ||
|
||
|
||
if "`formatx'" =="" local formatx "%5.1f" | ||
if "`formaty'" =="" local formaty "%5.1f" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
v 1.6 | ||
v 1.61 | ||
d BIMAP: A package for creating bivariate maps. | ||
d | ||
d Asjad Naqvi | ||
|