-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
baf89e1
commit 189b333
Showing
7 changed files
with
44 additions
and
25 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
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.
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,9 +1,10 @@ | ||
*! spider v1.2 (20 May 2023) | ||
*! spider v1.21 (10 June 2023) | ||
*! Asjad Naqvi ([email protected]) | ||
|
||
* v1.2 (20 May 2023): Major fixes to the legend. | ||
* v1.1 (22 Dec 2022): Minor fixes. | ||
* v1.0 (13 Oct 2022): Beta release. | ||
* v1.21 (10 Jun 2023): Options added: ralabcolor() ralabangle(). | ||
* v1.2 (20 May 2023): Major fixes to the legend. | ||
* v1.1 (22 Dec 2022): Minor fixes. | ||
* v1.0 (13 Oct 2022): Beta release. | ||
|
||
********************************** | ||
* Step-by-step guide on Medium * | ||
|
@@ -25,7 +26,8 @@ version 15 | |
[ LWidth(string) MSYMbol(string) MSize(string) MLWIDth(string) ] /// // spider properties | ||
[ CColor(string) CWidth(string) SColor(string) SWidth(string) SLABSize(string) ] /// // circle = C, spikes = S | ||
[ title(passthru) subtitle(passthru) note(passthru) scheme(passthru) name(passthru) ] /// | ||
[ NOLEGend LEGPOSition(real 6) LEGCOLumns(real 5) LEGSize(real 2.2) xsize(real 1) ysize(real 1) ] // v1.2 updates. | ||
[ NOLEGend LEGPOSition(real 6) LEGCOLumns(real 5) LEGSize(real 2.2) xsize(real 1) ysize(real 1) ] /// // v1.2 updates. | ||
[ RALABColor(string) RALABAngle(string) ] // v1.21 options | ||
|
||
// TODO: | ||
// ROTATELABel: allow label rotations | ||
|
@@ -305,16 +307,17 @@ preserve | |
////////////////////// | ||
|
||
local axisr = 100 * (1.3) | ||
if "`ralabsize'" == "" local ralabsize = 1.8 | ||
|
||
if "`ralabsize'" == "" local ralabsize = 1.8 | ||
if "`ralabcolor'" == "" local ralabcolor black | ||
if "`ralabangle'" == "" local ralabangle 0 | ||
|
||
twoway /// | ||
`circle' /// | ||
`spike' /// | ||
`spider' /// | ||
`spider2' /// | ||
`labs' /// | ||
(scatter yvar xvar, mc(none) mlab(xlab) mlabpos(0) mlabsize(`ralabsize')) /// | ||
(scatter yvar xvar, mc(none) mlab(xlab) mlabpos(0) mlabsize(`ralabsize') mlabcolor(`ralabcolor') mlabangle(`ralabangle') ) /// | ||
, /// | ||
aspect(1) xsize(`xsize') ysize(`ysize') /// | ||
xlabel(-`axisr' `axisr') /// | ||
|
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,7 +1,7 @@ | ||
v 1.2 | ||
v 1.21 | ||
d 'SPIDER': A Stata package for spider plots | ||
d | ||
d Distribution-Date: 20230520 | ||
d Distribution-Date: 20230610 | ||
d | ||
d Asjad Naqvi | ||
d [email protected] | ||
|