nominalplot
This commit is contained in:
parent
de8ff55740
commit
6c6605f160
BIN
statistics/figs/nominaldataplot.png
Normal file
BIN
statistics/figs/nominaldataplot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.1 KiB |
@ -364,6 +364,45 @@ geeignet. Der Pearson Korrelationskoeffizient ist es nicht.
|
||||
\end{solution}
|
||||
\end{frame}
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
\section{Beschreibung und Darstellung von Daten}
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
\subsection{Nominalskala}
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%-------------------------------------------------------------
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{Darstellung nominaler Daten}
|
||||
\framesubtitle{Bar-Plot f\"ur Anzahl/ rel. H\"aufigkeit}
|
||||
\begin{center}
|
||||
\includegraphics[width=.6\linewidth]{figs/nominaldataplot}
|
||||
\end{center}
|
||||
\end{frame}
|
||||
%-------------------------------------------------------------
|
||||
\begin{frame}[fragile]
|
||||
\frametitle{Darstellung nominaler Daten}
|
||||
\framesubtitle{Bar-Plot f\"ur Anzahl/ rel. H\"aufigkeit}
|
||||
\scriptsize
|
||||
\begin{lstlisting}
|
||||
% eigentlicher Plot
|
||||
bar([1,2], [50, 90], 'facecolor', 'k')
|
||||
|
||||
% Achsenbeschriftung
|
||||
ylabel('cell count')
|
||||
xlabel('cell type')
|
||||
|
||||
% Kosmetik
|
||||
xlim([0.5,2.5])
|
||||
ylim([0, 100])
|
||||
box('off')
|
||||
set(gca,'XTick',1:2,'XTickLabel',{'pyramidal','interneuron'},'FontSize',20)
|
||||
|
||||
% Settings fuers Abspeichern
|
||||
set(gcf, 'PaperUnits', 'centimeters');
|
||||
set(gcf, 'PaperSize', [11.7 9.0]);
|
||||
set(gcf, 'PaperPosition',[0.0 0.0 11.7 9.0]);
|
||||
\end{lstlisting}
|
||||
\end{frame}
|
||||
|
||||
|
||||
\end{document}
|
||||
|
||||
|
12
statistics/matlab/nominal_plots.m
Normal file
12
statistics/matlab/nominal_plots.m
Normal file
@ -0,0 +1,12 @@
|
||||
close all
|
||||
% cell type
|
||||
bar([1,2], [50, 90], 'facecolor', 'k')
|
||||
ylabel('cell count')
|
||||
xlabel('cell type')
|
||||
xlim([0.5,2.5])
|
||||
ylim([0, 100])
|
||||
box('off')
|
||||
set(gca,'XTick',1:2,'XTickLabel',{'pyramidal', 'interneuron'},'FontSize',20)
|
||||
set(gcf, 'PaperUnits', 'centimeters');
|
||||
set(gcf, 'PaperSize', [11.7 9.0]);
|
||||
set(gcf, 'PaperPosition',[0.0 0.0 11.7 9.0]);
|
Reference in New Issue
Block a user