diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/pgfplots/pgfplots.reference.2dplots.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/pgfplots/pgfplots.reference.2dplots.tex | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/Master/texmf-dist/doc/latex/pgfplots/pgfplots.reference.2dplots.tex b/Master/texmf-dist/doc/latex/pgfplots/pgfplots.reference.2dplots.tex index 7999d661e5b..cb55235b94d 100644 --- a/Master/texmf-dist/doc/latex/pgfplots/pgfplots.reference.2dplots.tex +++ b/Master/texmf-dist/doc/latex/pgfplots/pgfplots.reference.2dplots.tex @@ -34,7 +34,7 @@ Smooth plots interpolate smoothly between successive points. \end{plottype} \subsubsection{Constant Plots} -Constant plots draw lines parallel to the $x$-axis to connect coordinates. The discontinuos edges may be drawn or not, and marks may be placed on left or right ends. +Constant plots draw lines parallel to the $x$-axis to connect coordinates. The discontinuous edges may be drawn or not, and marks may be placed on left or right ends. \begin{plottype}{const plot} Connects all points with horizontal and vertical lines. Marks are placed left-handed on horizontal line segments, causing the plot to be right-sided continuous at all data points. @@ -580,13 +580,13 @@ Area plots may need modified legends, for example using the |area legend| key. F \end{codeexample} \begin{codeexample}[] -\pgfplotstableread{pgfplots.timeseries.dat}\table -\pgfplotstabletypeset\table +\pgfplotstableread{pgfplots.timeseries.dat}\loadedtable +\pgfplotstabletypeset\loadedtable \end{codeexample} \begin{codeexample}[] \pgfplotstableread {pgfplots.timeseries.dat} - {\table} + {\loadedtable} \begin{tikzpicture} \begin{axis}[ @@ -604,19 +604,19 @@ Area plots may need modified legends, for example using the |area legend| key. F legend columns=-1}] \addplot[draw=blue,fill=blue!30!white] - table[x=time,y=1minload] from \table + table[x=time,y=1minload] from \loadedtable \closedcycle; - \addplot table[x=time,y=nodes] from \table; - \addplot table[x=time,y=cpus] from \table; + \addplot table[x=time,y=nodes] from \loadedtable; + \addplot table[x=time,y=cpus] from \loadedtable; \addplot table[x=time,y=processes] - from \table; + from \loadedtable; \legend{1min load,nodes,cpus,processes} \end{axis} \end{tikzpicture} \end{codeexample} \begin{codeexample}[width=4cm] -\pgfplotstableread{pgfplots.timeseries.dat}\table +\pgfplotstableread{pgfplots.timeseries.dat}\loadedtable \begin{tikzpicture} \begin{axis}[ @@ -639,11 +639,11 @@ Area plots may need modified legends, for example using the |area legend| key. F anchor=north, legend columns=2}] - \addplot table[x=time,y=memused] from \table \closedcycle; - \addplot table[x=time,y=memcached] from \table \closedcycle; - \addplot table[x=time,y=membuf] from \table \closedcycle; + \addplot table[x=time,y=memused] from \loadedtable \closedcycle; + \addplot table[x=time,y=memcached] from \loadedtable \closedcycle; + \addplot table[x=time,y=membuf] from \loadedtable \closedcycle; \addplot+[stack plots=false] - table[x=time,y=memtotal] from \table; + table[x=time,y=memtotal] from \loadedtable; \legend{Memory used,Memory cached,Memory buffered,Total memory} \end{axis} \end{tikzpicture} @@ -798,9 +798,9 @@ Scatter plots can be configured using a set of options. One of them is mandatory \paragraph{Remark:} The style |use mapped color| \emph{re}defines |@pre marker code| and |@post marker code|. There is a starred variant \declareandlabel{use mapped color*} which \emph{appends} the functionality while keeping the old marker code. \end{stylekey} -\begin{stylekey}{/pgfplots/scatter/classes=\marg{styles for each classname}} +\begin{stylekey}{/pgfplots/scatter/classes=\marg{styles for each class name}} \label{pgfplots:scatterclasses} - A scatter plot style which visualizes points using several classes. The style assumes that every point coordinate has a class label attached, that means the choice |scatter src=explicit symbolic| is assumed\footnote{If \texttt{scatter src} is not \texttt{explicit symbolic}, we expect a numeric argument which is rounded to the nearest integer. The resulting integer is used a class label. If that fails, the numeric argument is truncated to the nearest integer. If that fails as well, the point has no label.}. A class label can be a number, but it can also be a symbolic constant. Given class labels for every point, \marg{styles for each classname} contains a comma-separated list which associates appearance options to each class label. + A scatter plot style which visualizes points using several classes. The style assumes that every point coordinate has a class label attached, that means the choice |scatter src=explicit symbolic| is assumed\footnote{If \texttt{scatter src} is not \texttt{explicit symbolic}, we expect a numeric argument which is rounded to the nearest integer. The resulting integer is used a class label. If that fails, the numeric argument is truncated to the nearest integer. If that fails as well, the point has no label.}. A class label can be a number, but it can also be a symbolic constant. Given class labels for every point, \marg{styles for each class name} contains a comma-separated list which associates appearance options to each class label. \begin{codeexample}[] \begin{tikzpicture} @@ -870,9 +870,9 @@ It is also possible to provide |scatter/classes| as argument to a single plot, a \end{tikzpicture} \end{codeexample} -In general, the format of \marg{styles for each classname} is a comma separated list of \meta{label}|=|\marg{style options}. +In general, the format of \marg{styles for each class name} is a comma separated list of \meta{label}|=|\marg{style options}. -\paragraph{Attention:} The keys |every mark| and |mark options| have \emph{no effect} when used inside of \marg{styles for each classname}! So, instead of assigning |mark options|, you can simply provide the options directly. They apply only to markers anyway. +\paragraph{Attention:} The keys |every mark| and |mark options| have \emph{no effect} when used inside of \marg{styles for each class name}! So, instead of assigning |mark options|, you can simply provide the options directly. They apply only to markers anyway. \paragraph{Remark:} To use |\label| and |\ref| in conjunction with |scatter/classes|, you can provide the class labels as optional arguments to |\label| in square brackets: @@ -970,7 +970,7 @@ First class is \ref{label:for:first:class}, second is \ref{label:for:second:clas scatter/@post marker code} These two keys constitute the public interface which determines the marker appearance depending on scatter source coordinates. - Redefining them allows fine grained control even over marker types, linestyles and colors. + Redefining them allows fine grained control even over marker types, line styles and colors. The scatter plot algorithm works as follows: \begin{enumerate} @@ -1054,7 +1054,7 @@ Please note that |\ifdim| compares \TeX\ lengths, so the example employs the suf \subsubsection{Interrupted Plots} \index{Interrupted Plots}% \label{pgfplots:interrupt}% -Sometimes it is desireable to draw parts of a single plot separately, without connection between the parts (discontinuities). This can be achieved using the |unbounded coords| key combined with coordinate values |nan|, |inf| or |-inf|. +Sometimes it is desirable to draw parts of a single plot separately, without connection between the parts (discontinuities). This can be achieved using the |unbounded coords| key combined with coordinate values |nan|, |inf| or |-inf|. \begin{pgfplotskey}{unbounded coords=\mchoice{discard,jump} (initially discard)} This key configures what to do if one or more coordinates of a single point are unbounded. Here, unbounded means it is either $\pm \infty$ (|+inf| or |-inf|) or it has the special ``not--a--number'' value |nan|. |