diff --git a/README.md b/README.md index 0771eff..5e768da 100644 --- a/README.md +++ b/README.md @@ -224,7 +224,7 @@ SHA256 digest for macroArray: F*85E3BE4D163AC5223B6EC9D3C25C46564A656E3830998B45 [MacroArray in SASPAC](https://github.com/SASPAC/macroarray "MacroArray in SASPAC") -- **BasePlus**\[1.24.1\] adds a bunch of functionalities I am missing in BASE SAS, such as: +- **BasePlus**\[1.24.2\] adds a bunch of functionalities I am missing in BASE SAS, such as: ```sas call arrMissToRight(myArray); call arrFillMiss(17, myArray); @@ -248,7 +248,7 @@ format x bool.; %put %repeatTxt(#,15,s=$) HELLO SAS! %repeatTxt(#,15,s=$); ``` -SHA256 digest for BasePlus: F*0CCAA009D64CC20ED315FA123C233E0383967E635EB8708E7A48EEE3767C6BC5 +SHA256 digest for BasePlus: F*2A4F3953EC56DB914024457F74286D565C23DCF220FF151040BDB704FD8DDB06 [Documentation for BasePlus](https://github.com/yabwon/SAS_PACKAGES/blob/main/packages/baseplus.md "Documentation for BasePlus") diff --git a/packages/README.md b/packages/README.md index 6b059b1..6db2fc2 100644 --- a/packages/README.md +++ b/packages/README.md @@ -86,7 +86,7 @@ SHA256 digest for macroArray: F*85E3BE4D163AC5223B6EC9D3C25C46564A656E3830998B45 --- -- **BasePlus**\[1.24.1\] adds a bunch of functionalities I am missing in BASE SAS, such as: +- **BasePlus**\[1.24.2\] adds a bunch of functionalities I am missing in BASE SAS, such as: ```sas call arrMissToRight(myArray); call arrFillMiss(17, myArray); @@ -110,7 +110,7 @@ format x bool.; %put %repeatTxt(#,15,s=$) HELLO SAS! %repeatTxt(#,15,s=$); ``` -SHA256 digest for BasePlus: F*0CCAA009D64CC20ED315FA123C233E0383967E635EB8708E7A48EEE3767C6BC5 +SHA256 digest for BasePlus: F*2A4F3953EC56DB914024457F74286D565C23DCF220FF151040BDB704FD8DDB06 [Documentation for BasePlus](https://github.com/yabwon/SAS_PACKAGES/blob/main/packages/baseplus.md "Documentation for BasePlus") diff --git a/packages/SHA256_for_packages.txt b/packages/SHA256_for_packages.txt index 35fd0c1..c52f28a 100644 --- a/packages/SHA256_for_packages.txt +++ b/packages/SHA256_for_packages.txt @@ -1,3 +1,6 @@ +/* 20230526 */ +BasePlus: F*2A4F3953EC56DB914024457F74286D565C23DCF220FF151040BDB704FD8DDB06 + /* 20230520 */ BasePlus: F*0CCAA009D64CC20ED315FA123C233E0383967E635EB8708E7A48EEE3767C6BC5 diff --git a/packages/baseplus.md b/packages/baseplus.md index e58b603..7ee8ac9 100644 --- a/packages/baseplus.md +++ b/packages/baseplus.md @@ -67,7 +67,7 @@ --- -# The BasePlus package [ver. 1.24.1] ############################################### +# The BasePlus package [ver. 1.24.2] ############################################### The **BasePlus** package implements useful functions and functionalities I miss in the BASE SAS. @@ -339,7 +339,7 @@ localization (only if additional content was deployed during the installation pr * SAS package generated by generatePackage, version 20230520 * The SHA256 hash digest for package BasePlus: -`F*0CCAA009D64CC20ED315FA123C233E0383967E635EB8708E7A48EEE3767C6BC5` +`F*2A4F3953EC56DB914024457F74286D565C23DCF220FF151040BDB704FD8DDB06` --- # Content description ############################################################################################ @@ -3112,6 +3112,8 @@ The basic syntax is the following, the `<...>` means optional parameters: <,xLabels=> <,catLabelPos=> <,xLabelPos=> + <,catLabelAttrs=> + <,xLabelAttrs=> <,formated=> <,y2axis=> <,y2axisLevels=> @@ -3162,7 +3164,7 @@ The basic syntax is the following, the `<...>` means optional parameters: granularity level, e.g. for data with value around `1e-8` should be decreased. -* `rainDropSiz` - *Optional*, default value `5px`. +* `rainDropSize` - *Optional*, default value `5px`. Size of data points in the "rain" plot. * `boxPlotSymbolSize` - *Optional*, default value `8px`. @@ -3205,11 +3207,19 @@ The basic syntax is the following, the `<...>` means optional parameters: Indicates position of the label on data axix (horizontal). Allowed values are `LEFT`, `CENTER`, `DATACENTER`, and `RIGHT`. +* `catLabelAttrs` - *Optional*, default value is empty. + List of attributes for group axix labels (vertical). + For details see notes below. + +* `xLabelAttrs` - *Optional*, default value is empty. + List of attributes for data variable axix labels (horizontal). + For details see notes below. + * `formated` - *Optional*, default value `0`. Indicates if values of the grouping variable should be formated. * `y2axis` - *Optional*, default value `1`. - Indicates if the righ vertical axix should be displayed. + Indicates if the right vertical axix should be displayed. * `y2axisLevels` - *Optional*, default value `4`. Indicates if the number of expected levels of values printed @@ -3279,6 +3289,9 @@ The basic syntax is the following, the `<...>` means optional parameters: * The `catLabels` and `xLabels` should be quoted comma separated lists enclosed with brackets, e.g. `catLabels=("Continent of Origin", "Car Type")`, see Example below. +* The `catLabelAttrs` and `xLabelAttrs` should be space separated lists of `key=value` pairs, + e.g. `xLabelAttrs=size=12 color=Pink weight=bold`, see Example below. + * Kernel density estimates and basic statistics are calculated with `PROC UNIVARIATE`. * Plot is generated by `PROC SGPLOT` with `BAND`, `SCATTE`, and `POLYGON` plots. @@ -3360,6 +3373,7 @@ The output: , y2axisLevels=3 , catLabels=("Continent of Origin", "Car Type") , xLabels="Invoice, [$]" + , xLabelAttrs=size=12 color=Pink weight=bold ) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3370,7 +3384,7 @@ The output: -**EXAMPLE 3.** Rain Cloud plot with formated groups: +**EXAMPLE 3.** Rain Cloud plot with formatted groups and annotations. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~sas @@ -3400,7 +3414,7 @@ The output: data test; do system = 1 to 3; - do i = 1 to 30; + do i = 1 to 50; x = rannor(123)/system; output; end; @@ -3410,15 +3424,19 @@ The output: %RainCloudPlot(test, system, x + , colorslist=CX88CCEE CX44AA99 CX117733 , formated=1 , sganno=annotation , sgPlotOptions=noborder - , WidthPX=2000 - , HeightPX=420 + , WidthPX=1000 + , HeightPX=320 ) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +The output: +![Example 3](./baseplus_RainCloudPlot_Ex3.png) + --- ## >>> `%zipLibrary()` macro: <<< ####################### diff --git a/packages/baseplus.zip b/packages/baseplus.zip index 0629f42..f559448 100644 Binary files a/packages/baseplus.zip and b/packages/baseplus.zip differ diff --git a/packages/baseplus_RainCloudPlot_Ex2a.png b/packages/baseplus_RainCloudPlot_Ex2a.png index cbf24d5..fdbd846 100644 Binary files a/packages/baseplus_RainCloudPlot_Ex2a.png and b/packages/baseplus_RainCloudPlot_Ex2a.png differ diff --git a/packages/baseplus_RainCloudPlot_Ex2b.png b/packages/baseplus_RainCloudPlot_Ex2b.png index 0d258fa..7381886 100644 Binary files a/packages/baseplus_RainCloudPlot_Ex2b.png and b/packages/baseplus_RainCloudPlot_Ex2b.png differ diff --git a/packages/baseplus_RainCloudPlot_Ex3.png b/packages/baseplus_RainCloudPlot_Ex3.png new file mode 100644 index 0000000..fb26e05 Binary files /dev/null and b/packages/baseplus_RainCloudPlot_Ex3.png differ