Skip to content

Commit

Permalink
v1.52
Browse files Browse the repository at this point in the history
  • Loading branch information
asjadnaqvi committed Aug 25, 2023
1 parent 311e10f commit d304129
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 19 deletions.
4 changes: 2 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ authors:
- family-names: "Naqvi"
given-names: "Asjad"
title: "Stata package ``streamplot''"
version: 1.51
date-released: 2023-05-28
version: 1.52
date-released: 2023-08-25
url: "https://github.com/asjadnaqvi/stata-streamplot"
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022 Asjad Naqvi
Copyright (c) 2023 Asjad Naqvi

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

---

# streamplot v1.51
(28 May 2023)
# streamplot v1.52
(25 Aug 2023)

This package provides the ability to generate stream plots in Stata. It is based on the [Streamplot Guide](https://medium.com/the-stata-guide/covid-19-visualizations-with-stata-part-10-stream-graphs-9d55db12318a) (December 2020).

Expand All @@ -24,7 +24,7 @@ SSC (**v1.51**):
ssc install streamplot, replace
```

GitHub (**v1.51**):
GitHub (**v1.52**):

```
net install streamplot, from("https://raw.githubusercontent.com/asjadnaqvi/stata-streamplot/main/installation/") replace
Expand Down Expand Up @@ -60,7 +60,7 @@ graph set window fontface "Arial Narrow"

## Syntax

The syntax for **v1.51** is as follows:
The syntax for the latest version is as follows:

```
streamplot y x [if] [in], by(varname) [ palette(str) smooth(num) alpha(num) labcond(str) offset(num) droplow precent format
Expand Down Expand Up @@ -196,7 +196,10 @@ Please open an [issue](https://github.com/asjadnaqvi/stata-streamplot/issues) to

## Change log

**v1.51 (20 Nov 2022)**
**v1.51 (25 Aug 2023)**
- Support for `aspect()` and `saving()` added.

**v1.51 (28 May 2023)**
- Cleaned up `labcond()` to align it with other packages.
- `offset()` changed to percentages to align it with other packages.
- Minor code cleanups, updates to defaults, and help file.
Expand Down
4 changes: 2 additions & 2 deletions installation/stata.toc
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
v 1.51
v 1.52
d STREAMPLOT: A package for creating stream plots in Stata
d
d Asjad Naqvi,
d [email protected]
d
d Distribution-Date: 20230528
d Distribution-Date: 20230825
d
d https://medium.com/the-stata-guide
d https://github.com/asjadnaqvi/Stata-schemes
Expand Down
6 changes: 4 additions & 2 deletions installation/streamplot.ado
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
*! streamplot v1.51 (28 May 2023)
*! streamplot v1.52 (25 Aug 2023)
*! Asjad Naqvi ([email protected])

* v1.52 (25 Aug 2023): Support for aspect() and saving() added
* v1.51 (28 May 2023): Clean up labcond and offset changes to percentages.
* v1.5 (20 Nov 2022): recenter option added. improved variable precision.
* v1.4 (08 Nov 2022): Major code cleanup and some parts reworked. Observation checks. Palette options. label controls.
Expand Down Expand Up @@ -31,6 +32,7 @@ version 15
[ YLABSize(string) YLABel(varname) YLABColor(string) offset(real 15) droplow ] ///
[ xlabel(passthru) xtitle(passthru) title(passthru) subtitle(passthru) note(passthru) scheme(passthru) name(passthru) xsize(passthru) ysize(passthru) ] ///
[ PERCENT FORMAT(string) RECenter(string) ]
[ aspect(passthru) saving(passthru) ]



Expand Down Expand Up @@ -357,7 +359,7 @@ colorpalette `palette', n(`numcolor') nograph `poptions'
ytitle("") `xtitle' ///
ylabel(`ymin' `ymax', nolabels noticks nogrid) ///
`xlabel' xscale(noline range(`xrmin' `xrmax')) ///
`title' `subtitle' `note' `scheme' `xsize' `ysize' `name'
`title' `subtitle' `note' `scheme' `xsize' `ysize' `name' `aspect' `saving'

restore
}
Expand Down
6 changes: 3 additions & 3 deletions installation/streamplot.pkg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
v 1.51
v 1.52
d {bf:STREAMPLOT}: A package for creating streamplots in Stata
d
d Requires: Stata version 15 or higher.
Expand All @@ -7,9 +7,9 @@ d KW: Stata
d KW: graphs
d KW: streamplot
d
d Distribution-Date: 20230528
d Distribution-Date: 20230825
d
d This version: 28 May 2023
d This version: 25 Aug 2023
d First version: 05 Dec 2021
d License: MIT
d
Expand Down
8 changes: 4 additions & 4 deletions installation/streamplot.sthlp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{smcl}
{* 23May2023}{...}
{* 28Aug2023}{...}
{hi:help streamplot}{...}
{right:{browse "https://github.com/asjadnaqvi/stata-streamplot":streamplot v1.51 (GitHub)}}
{right:{browse "https://github.com/asjadnaqvi/stata-streamplot":streamplot v1.52 (GitHub)}}

{hline}

Expand Down Expand Up @@ -97,8 +97,8 @@ Marc Kaulisch has suggested several useful features across various versions.

{title:Package details}

Version : {bf:streamplot} v1.61
This release : 23 May 2023
Version : {bf:streamplot} v1.52
This release : 25 Aug 2023
First release: 06 Aug 2021
Repository : {browse "https://github.com/asjadnaqvi/stata-streamplot":GitHub}
Keywords : Stata, graph, stream plot
Expand Down

0 comments on commit d304129

Please sign in to comment.