Minor changes
This commit is contained in:
parent
7f60a4deb6
commit
1355a5f171
@ -32,13 +32,12 @@ in place of
|
|||||||
```julia
|
```julia
|
||||||
@gp ... "set xrange [-1:5]" ...
|
@gp ... "set xrange [-1:5]" ...
|
||||||
```
|
```
|
||||||
This help reducing the number of strings used in the code, as well as the associated interpolating characters (`$`), and results in a more concise syntax.
|
This help reducing the number of strings, as well as the associated interpolating characters (`$`), and results in a more concise syntax.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### 3 - Use abbreviations for commands and keywords:
|
### 3 - Use abbreviations for commands and keywords:
|
||||||
|
|
||||||
Many gnuplot commands, as well as all keywords (see [Keywords for common commands](@ref), can be abbreviated as long as the abbreviation is unambiguous. E.g., the following code:
|
Many gnuplot commands, as well as all keywords (see [Keywords for common commands](@ref)), can be abbreviated as long as the abbreviation is unambiguous. E.g., the following code:
|
||||||
```julia
|
```julia
|
||||||
@gp "set grid" "set key left" "set logscale y"
|
@gp "set grid" "set key left" "set logscale y"
|
||||||
@gp :- "set title 'Plot title'" "set label 'X label'" "set xrange [0:*]"
|
@gp :- "set title 'Plot title'" "set label 'X label'" "set xrange [0:*]"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user