[plotting] some more tarnslation

This commit is contained in:
Jan Grewe 2017-10-26 10:24:44 +02:00
parent 467c7511c2
commit 5087bdf386

View File

@ -121,7 +121,7 @@ more examples on \url{https://en.wikipedia.org/wiki/Misleading_graph}.
fair and correct but leads to the effect that the covered surface
is not increased to the 3-fold but the 9-fold (center plot). The
plot on the right shows how it could have been done correctly.
\url{https://en.wikipedia.org/wiki/Misleading_graph}} \label{misleadingsymbolsfig}
\url{https://en.wikipedia.org/wiki/Misleading_graph}}\label{misleadingsymbolsfig}
\end{figure}
By using perspective effects in 3-D plot the perceived size can be
@ -136,15 +136,14 @@ lead to a much weaker perceived correlation
quantity we have to take care not to overrate of difference due to
symbol scaling (\figref{misleadingsymbolsfig}).
\section{Das Plottingsystem von \matlab{}}
\section{The \matlab{} plotting system}
Plotten in \matlab{} ist zun\"achst einmal einfach. Durch den Aufruf
von \code[plot()]{plot(x, y)} wird ein einfacher, schlichter Linienplot
erstellt. Diesem Plot fehlen jedoch jegliche Annotationen wie
Achsbeschriftungen, Legenden, etc. Es gibt zwei M\"oglichkeiten diese
hinzuzuf\"ugen: (i) das Graphische User Interface oder (ii) die
Kommandozeile. Beide haben ihre Berechtigung sowie Vor- und
Nachteile.
Plotting data in \matlab{} is rather straight forward for simple line
plots. By calling \code[plot()]{plot(x, y)} a simple line plot will be
created. This figure, however is missing any annotations like axis
labeling, a legend, etc.. There are two options to edit the plot: (i)
the graphical user interface (GUI) or the command line. Both ways have
there use and their pros and cons.
\begin{figure}
\begin{minipage}[t]{0.6\textwidth}
@ -153,46 +152,48 @@ Nachteile.
\begin{minipage}[t]{0.3\textwidth}
\includegraphics[height=0.29\textheight]{property_editor}
\end{minipage}
\titlecaption{Der \matlab{} Plot-Editor.}{\"Uber das Menu
``Tools $\rightarrow$ Edit Plot'' erreicht man den Plot Editor. Je nachdem
welches Element des Plots ausgew\"ahlt wurde, ver\"andern sich
die Einstellungsm\"oglichkeiten. Weitere Eigenschaften und
Einstellungen k\"onnen \"uber den ``Property Editor'', rechts,
eingesehen und ver\"andert werden. Der ``Property Editor'' ist
\"uber die Schaltfl\"ache ``More Properties''
erreichbar.}\label{ploteditorfig}
\titlecaption{The graphical plot-editor.}{From the menu ``Tools
$\rightarrow$ Edit Plot'' one can select the editor. Using the
mouse you can select different parts of the current plot (axes,
lines, the figure background, etc.) and the interface will change
to allow modifying the properties. Some properties are not offered
directly but hide behind the \emph{More Properties} button which
will open the \emph{Property Editor}.}\label{ploteditorfig}
\end{figure}
W\"ahrend es bequem ist, die Abbildung mit der GUI
(\figref{ploteditorfig}) zu bearbeiten sind die erhaltenen Ergebnisse
nicht einfach reproduzierbar oder \"ubertragbar. Wenn eine Abbildung
korrigiert werden musss, wird es schwierig und zeitaufwendig.
While it is very convenient to edit a figure using the GUI
(\figref{ploteditor}), it is hard to re-create the exact same plot
later on or transfer the changes done to one figure to another.
Plots in \matlab{} bestehen aus mehreren Elementen:
Figures consist of several graphical objects:
\begin{enumerate}
\item \enterm[figure]{Figure}: Dieses Element stellt die gesamte
Zeichenf\"ache, das Blatt Papier, dar.
\item \enterm[axes]{Axes}: Das Koordinatensystem in welches gezeichnet wird.
\item \enterm[lines]{Lines}: Die gezeichneten Datenplots wie Linien,
Fl\"achen, etc.
\item \enterm[annotations]{Annotations}: Annotationen wie Textboxen
oder auch Pfeile, die zum Hervorheben von Punkten, oder Abschnitten
gedacht sind.
\item \enterm[legends]{Legends}: Legenden der Datenplots.
\item \enterm[figure]{Figure}: This object represents the whole
drawing area, it holds properties like background color, the size of
the figure/paper and the placement of the axes on the paper, etc..
\item \enterm[axes]{Axes}: The coordinate system for plotting the
data. Defines properties like the scaling of the axes, the labeling,
line widths, etc..
\item \enterm[lines]{Lines}: The drawn data lines. Holds properties
like line width and color, the name associated with the line, marker
size ...
\item \enterm[annotations]{Annotations}: Annotations like textboxes
and or arrows that can be used to highlight points or segments.
\item \enterm[legends]{Legends}: Legends of the data plot. One can
define the style of the legend, its placement in the plot, etc..
\end{enumerate}
Jedes dieser Elemente bietet eine Vielzahl von
Einstellungsm\"oglichkeiten. Wie schon erw\"ahnt, k\"onnen diese
\"uber die GUI (Abbildung \ref{ploteditorfig}) bearbeitet werden.
Alle Einstellungen, die \"uber das graphische Interface vorgenommen
werden k\"onnen, sind auch \"uber Befehle auf der Kommandozeile
m\"oglich. Auf diese Weise k\"onnen Einstellungen problemlos in ein
Skript oder eine Funktion eingebaut werden. Dieser Ansatz hat den
gro{\ss}en Vorteil, dass man sich die M\"uhe nur einmal machen
muss. Die Abbildungen k\"onnen exakt reproduziert werden und m\"ussen
nicht mehr neu beschriftet werden, wenn sich die Daten ver\"andert
oder erweitert haben, oder wenn der gleiche Plot von vielen
Datens\"atzen erstellt werden soll.
Each of these objects offers a number of settings some of them can be
directly manipulated in the plot editor others are available via the
property editor.
\subsection{Avoiding manual editing of figures}
All properties that can be manipulated with the graphical interfaces
can also be edited using command line or the respective commands can
be included in a script or function. Creating the plot from inside a
script or function has the advantage that one can apply the same
settings to several figures, re-create the figure automatically when
the data was changed or the same kind of plot has to be created for a
number of datasets.
\begin{important}[Manuelle Bearbeitung vermeiden]
Das nachtr\"agliche Bearbeiten und Beschriften der Abbildungen mit