Some plots
Plot 1 does not use context:
Plot 2 doesn't use context either; has length 6:
Plot 3 has length 4:
Plot 4 shows that a new block with context does not see the variable defined in the no-context block:
Plot 5 defines a
in a context block:
Plot 6 shows that a block with context sees the new variable. It also uses
:nofigs:
:
Plot 7 uses a variable previously defined in previous nofigs
context. It
also closes any previous figures to create a fresh figure:
Plot 8 shows that a non-context block still doesn't have a
:
Plot 9 has a context block, and does have a
:
Plot 10 resets context, and a
has gone again:
Plot 11 continues the context, we have the new value, but not the old:
Plot 12 opens a new figure. By default the directive will plot both the first and the second figure:
Plot 13 shows close-figs
in action. close-figs
closes all figures
previous to this plot directive, so we get always plot the figure we create in
the directive:
Plot 14 uses include-source
:
Plot 15 uses an external file with the plot commands and a caption:
Plot 16 uses a specific function in a file with plot commands: