[plotting] updated exercise infrastructure
This commit is contained in:
parent
88c6afac1c
commit
18c53cb370
3
plotting/exercises/Makefile
Normal file
3
plotting/exercises/Makefile
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
TEXFILES=$(wildcard plotting-?.tex)
|
||||||
|
|
||||||
|
include ../../exercises.mk
|
@ -1,17 +1,11 @@
|
|||||||
\vspace*{-8ex}
|
\ifprintanswers%
|
||||||
\begin{center}
|
\else
|
||||||
\textbf{\Large Introduction to scientific computing}\\[1ex]
|
|
||||||
{\large Jan Grewe, Jan Benda}\\[-3ex]
|
|
||||||
Neuroethology lab \hfill --- \hfill Institute for Neurobiology \hfill --- \hfill \includegraphics[width=0.28\textwidth]{UT_WBMW_Black_RGB} \\
|
|
||||||
\end{center}
|
|
||||||
|
|
||||||
The exercises are meant for self-monitoring and revision of the
|
The exercises are meant for self-monitoring and revision of the
|
||||||
lecture. You should try to solve them on your own. In contrast
|
lecture. You should try to solve them on your own. In contrast
|
||||||
to previous exercises, the solutions can not be saved in a single file. Combine the files into a
|
to previous exercises, the solutions can not be saved in a single file. Combine the files into a
|
||||||
single zip archive and submit it via ILIAS. Name the archive according
|
single zip archive and submit it via ILIAS. Name the archive according
|
||||||
to the pattern: ``plotting\_\{surname\}.zip''.
|
to the pattern: ``plotting\_\{surname\}.zip''.
|
||||||
% \ifprintanswers%
|
|
||||||
% \else
|
|
||||||
|
|
||||||
% % Die folgenden Aufgaben dienen der Wiederholung, \"Ubung und
|
% % Die folgenden Aufgaben dienen der Wiederholung, \"Ubung und
|
||||||
% % Selbstkontrolle und sollten eigenst\"andig bearbeitet und gel\"ost
|
% % Selbstkontrolle und sollten eigenst\"andig bearbeitet und gel\"ost
|
||||||
@ -43,4 +37,4 @@ to the pattern: ``plotting\_\{surname\}.zip''.
|
|||||||
% Antworten!
|
% Antworten!
|
||||||
% \end{itemize}
|
% \end{itemize}
|
||||||
|
|
||||||
% \fi
|
\fi
|
||||||
|
@ -1,88 +1,18 @@
|
|||||||
\documentclass[12pt,a4paper,pdftex]{exam}
|
\documentclass[12pt,a4paper,pdftex]{exam}
|
||||||
|
|
||||||
\usepackage[german]{babel}
|
\newcommand{\exercisetopic}{Plotting}
|
||||||
\usepackage{pslatex}
|
\newcommand{\exercisenum}{X}
|
||||||
\usepackage[mediumspace,mediumqspace]{SIunits} % \ohm, \micro
|
\newcommand{\exercisedate}{December 14th, 2020}
|
||||||
\usepackage{xcolor}
|
|
||||||
\usepackage{graphicx}
|
|
||||||
\usepackage[breaklinks=true,bookmarks=true,bookmarksopen=true,pdfpagemode=UseNone,pdfstartview=FitH,colorlinks=true,citecolor=blue]{hyperref}
|
|
||||||
|
|
||||||
%%%%% layout %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
\input{../../exercisesheader}
|
||||||
\usepackage[left=20mm,right=20mm,top=25mm,bottom=25mm]{geometry}
|
|
||||||
\pagestyle{headandfoot}
|
|
||||||
\ifprintanswers
|
|
||||||
\newcommand{\stitle}{: Solutions}
|
|
||||||
\else
|
|
||||||
\newcommand{\stitle}{}
|
|
||||||
\fi
|
|
||||||
\header{{\bfseries\large Exercise 7\stitle}}{{\bfseries\large Plotting}}{{\bfseries\large November 20, 2019}}
|
|
||||||
\firstpagefooter{Dr. Jan Grewe}{Phone: 29 74588}{Email:
|
|
||||||
jan.grewe@uni-tuebingen.de}
|
|
||||||
\runningfooter{}{\thepage}{}
|
|
||||||
|
|
||||||
\setlength{\baselineskip}{15pt}
|
\firstpagefooter{Prof. Dr. Jan Benda}{}{jan.benda@uni-tuebingen.de}
|
||||||
\setlength{\parindent}{0.0cm}
|
|
||||||
\setlength{\parskip}{0.3cm}
|
|
||||||
\renewcommand{\baselinestretch}{1.15}
|
|
||||||
|
|
||||||
%%%%% listings %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
||||||
\usepackage{listings}
|
|
||||||
\lstset{
|
|
||||||
language=Matlab,
|
|
||||||
basicstyle=\ttfamily\footnotesize,
|
|
||||||
numbers=left,
|
|
||||||
numberstyle=\tiny,
|
|
||||||
title=\lstname,
|
|
||||||
showstringspaces=false,
|
|
||||||
commentstyle=\itshape\color{darkgray},
|
|
||||||
breaklines=true,
|
|
||||||
breakautoindent=true,
|
|
||||||
columns=flexible,
|
|
||||||
frame=single,
|
|
||||||
xleftmargin=1em,
|
|
||||||
xrightmargin=1em,
|
|
||||||
aboveskip=10pt
|
|
||||||
}
|
|
||||||
|
|
||||||
%%%%% math stuff: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
||||||
\usepackage{amsmath}
|
|
||||||
\usepackage{amssymb}
|
|
||||||
\usepackage{bm}
|
|
||||||
\usepackage{dsfont}
|
|
||||||
\newcommand{\naZ}{\mathds{N}}
|
|
||||||
\newcommand{\gaZ}{\mathds{Z}}
|
|
||||||
\newcommand{\raZ}{\mathds{Q}}
|
|
||||||
\newcommand{\reZ}{\mathds{R}}
|
|
||||||
\newcommand{\reZp}{\mathds{R^+}}
|
|
||||||
\newcommand{\reZpN}{\mathds{R^+_0}}
|
|
||||||
\newcommand{\koZ}{\mathds{C}}
|
|
||||||
|
|
||||||
%%%%% page breaks %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
||||||
\newcommand{\continue}{\ifprintanswers%
|
|
||||||
\else
|
|
||||||
\vfill\hspace*{\fill}$\rightarrow$\newpage%
|
|
||||||
\fi}
|
|
||||||
\newcommand{\continuepage}{\ifprintanswers%
|
|
||||||
\newpage
|
|
||||||
\else
|
|
||||||
\vfill\hspace*{\fill}$\rightarrow$\newpage%
|
|
||||||
\fi}
|
|
||||||
\newcommand{\newsolutionpage}{\ifprintanswers%
|
|
||||||
\newpage%
|
|
||||||
\else
|
|
||||||
\fi}
|
|
||||||
|
|
||||||
%%%%% new commands %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
||||||
\newcommand{\qt}[1]{\textbf{#1}\\}
|
|
||||||
\newcommand{\pref}[1]{(\ref{#1})}
|
|
||||||
\newcommand{\extra}{--- Zusatzaufgabe ---\ \mbox{}}
|
|
||||||
\newcommand{\code}[1]{\texttt{#1}}
|
|
||||||
|
|
||||||
|
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
\begin{document}
|
\begin{document}
|
||||||
|
|
||||||
|
\input{../../exercisestitle}
|
||||||
|
|
||||||
\input{instructions}
|
\input{instructions}
|
||||||
|
|
||||||
\begin{questions}
|
\begin{questions}
|
Reference in New Issue
Block a user