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