diff options
-rwxr-xr-x | configure | 2 | ||||
-rw-r--r-- | paper.tex | 16 | ||||
-rw-r--r-- | reproduce/src/make/delete-me.mk | 3 | ||||
-rw-r--r-- | tex/delete-me.tex | 4 |
4 files changed, 13 insertions, 12 deletions
@@ -267,7 +267,7 @@ rm -f $ptconf $ptconf"~" # step(s) to take. echo if [ $ready = 1 ]; then - echo "This reproduction pipeline has been configured for this system." + echo "The reproduction pipeline has been configured for this system." echo "Please run the following command to start the pipeline:" else echo "AFTER MANUALLY EDITING THE FILE(S) ABOVE, please run the following" @@ -86,11 +86,13 @@ in this way, will let you focus clearly on your science and not have to worry about fixing this or that number/name in the text. Just as a demonstration of creating plots within \LaTeX{} (using the -{\small PGFP}lots package), in Figure \ref{deleteme} we show a plot of -\deletemenum{} random points that were generated by this pipeline using the -text manipulation program {\small AWK} (which is not the best random number -generator, but just used here to generate some values). The minimum value -in this distribution is $\deletememin$ and $\deletememax$ is the maximum. +{\small PGFP}lots package), in Figure \ref{deleteme} we show a simple +plot, where the Y axis is the square of the X axis. The minimum value +in this distribution is $\deletememin$, and $\deletememax$ is the +maximum. Take a look into the \LaTeX{} source and you'll see these +numbers are actually macros that were calculated from the same dataset +(they will change if the dataset, or function that produced it, +changes). The {\small PDF} file of Figure \ref{deleteme} is available in the directory \texttt{\bdir/tex/build/tikz/} and can be used in other contexts @@ -111,8 +113,8 @@ your paper. \begin{figure}[t] \includetikz{delete-me} - \captionof{figure}{\label{deleteme} A random set of values plotted as a - demonstration of how to generate plots within LaTeX.} + \captionof{figure}{\label{deleteme} A very basic $X^2$ plot for + demonstration.} \end{figure} Furthermore, since {\small PGFP}lots is built by \LaTeX{} it respects all diff --git a/reproduce/src/make/delete-me.mk b/reproduce/src/make/delete-me.mk index a93c2d0..de72873 100644 --- a/reproduce/src/make/delete-me.mk +++ b/reproduce/src/make/delete-me.mk @@ -37,8 +37,7 @@ $(dm): $(pconfdir)/delete-me-num.mk | $(dmdir) rm -f $(tikzdir)/delete-me.pdf # Generate the table of random values. - awk 'BEGIN { for (i = 1; i <= $(delete-me-num); i++) \ - print i, rand(); }' > $@ + awk 'BEGIN {for(i=1;i<=$(delete-me-num);i+=0.5) print i, i*i; }' > $@ diff --git a/tex/delete-me.tex b/tex/delete-me.tex index 495333a..32be11c 100644 --- a/tex/delete-me.tex +++ b/tex/delete-me.tex @@ -5,8 +5,8 @@ %% Settings of the plotted axis \begin{axis}[ width=\linewidth, - xlabel=Counter, - ylabel=Random value, + xlabel=$X$, + ylabel=$X^2$, ] %% A particular plot. |