Skip to content

Commit fb443d4

Browse files
committed
Minor changes
1 parent a923f7f commit fb443d4

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

ChangeLog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
* Bugfix: `@gp x x x "w p lc pal"` when using the binary data format used to raise an error because of a missing `using` clause. Now the `using` clause is added any time the binary format is used, and a check is made to avoid duplicated clauses in case the user adds a custom one;
55

6-
* Bugfix: forcing a blank between GPVAL_TERM and GPVAL_TERM when reading default terminal (fixes #62);
6+
* Bugfix: forcing a blank between the GPVAL_TERM and GPVAL_TERMOPTTIONS values when reading default terminal (fixes #62);
77

88

99
# Version 1.6.1

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,5 +79,5 @@ The main gallery of examples is maintained in a separate repository:
7979
https://lazarusa.github.io/gnuplot-examples/
8080

8181
Since **Gnuplot.jl** is just a transparent interface (not a wrapper) it exposes all capabilities of the underlying gnuplot process, hence pure-gnuplot examples also applies to **Gnuplot.jl**. Further examples are available here:
82-
- http://gnuplot.sourceforge.net/demo_5.2/
82+
- https://gnuplot.sourceforge.net/demo_6.0/
8383
- http://www.gnuplotting.org/

docs/make.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ using Documenter, Gnuplot
33

44
makedocs(sitename="Gnuplot.jl",
55
authors = "Giorgio Calderone",
6-
# format = Documenter.HTML(prettyurls = false), # uncomment for local use, comment for deployment
6+
format = Documenter.HTML(prettyurls = false), # uncomment for local use, comment for deployment
77
modules=[Gnuplot],
88
checkdocs=:exports,
99
pages = [

docs/src/style.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ in place of
3232
```julia
3333
@gp ... "set xrange [-1:5]" ...
3434
```
35-
This help reducing the number of strings, as well as the associated interpolating characters (`$`), and results in a more concise syntax.
35+
This helps in reducing the number of strings, as well as the associated interpolating characters (`$`), and results in a more concise syntax.
3636

3737

3838
### 3 - Use abbreviations for commands and keywords:

docs/src/terminals.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Gnuplot.options.term = "wxt size 800,600"
1818
```
1919
or
2020
```
21-
Gnuplot.options.term = "qt size 800,600"
21+
Gnuplot.options.term = "qt size 800,600"
2222
```
2323
(the `size 800,600` is optional and can be omitted).
2424

@@ -96,7 +96,7 @@ approx = fill(0., length(x));
9696
Gnuplot.save(term="cairolatex pdf input color dashed size 5in,3.3in", "test.tex")
9797
```
9898
!!! warning
99-
If you add a path in the `output=` keyword this will also be copied in the the `.tex` file, and may generate errors when compiling ``\LaTeX`` code. The simplest way to solve this problem is to use just filenames, with no paths.
99+
If you add a path in the output filename this will also be copied in the the `.tex` file, and may generate errors when compiling ``\LaTeX`` code. The simplest way to solve this problem is to use just filenames, with no paths.
100100

101101
The two output files (`test.tex` and `test.pdf`) can then be included in a ``\LaTeX`` file as follows:
102102
```latex

src/GnuplotProcess.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ end
206206

207207

208208
# --------------------------------------------------------------------
209-
terminal(gp::GPProcess) = gpexec(gp, "print GPVAL_TERM, ' ', GPVAL_TERMOPTIONS")
209+
terminal(gp::GPProcess) = gpexec(gp, "print GPVAL_TERM") * " " * gpexec(gp, "print GPVAL_TERMOPTIONS")
210210
terminals(gp::GPProcess) = string.(split(strip(gpexec(gp, "print GPVAL_TERMINALS")), " "))
211211

212212

0 commit comments

Comments
 (0)