I am working on an exam and I am trying to have a multiple choice question in which students have to determine which graph represents a function f(x). I have four choices, but can't seem to get he bottom two graphs to "align." Is there an easy way to fix this?
Thank you for your time,
Nicholas
Code: Select all
\documentclass[12pt]{exam}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{geometry}
\usepackage{multicol}
\usepackage{pstricks-add}
\psset{unit=0.75cm,arrowinset=0,arrowsize=8pt,arrows=<->}
\begin{document}
\begin{multicols}{2}
\begin{choices}
\choice \begin{pspicture}(0,-3)(5,3)
\psaxes(0,0)(-4,-4)(5,4)[$x$,-90][$y$,180]
\psplot[algebraic,linecolor=red,linewidth=1.5pt,arrows=<->]{-2}{1.5}{2^x}
\end{pspicture}
\choice \begin{pspicture}(0,-3)(5,3)
\psaxes(0,0)(-4,-4)(5,4)[$x$,-90][$y$,180]
\psplot[algebraic,linecolor=blue,linewidth=1.5pt,arrows=<->]{-2}{2}{x^2}
\end{pspicture}
\choice \begin{pspicture}(0,-6)(5,3)
\psaxes(0,0)(-4,-4)(5,4)[$x$,-90][$y$,180]
\psplot[algebraic,linecolor=blue,linewidth=1.5pt,arrows=<->]{-1}{1}{x^2}
\end{pspicture}
\choice \begin{pspicture}(0,-8)(5,3)
\psaxes(0,0)(-4,-4)(5,4)[$x$,-90][$y$,180]
\psplot[plotstyle=curve,linecolor=blue,linewidth=1.5pt,arrows=<->]{-1.5}{3.5}{x x mul -2 x mul add}
\end{pspicture}
\end{choices}
\end{multicols}
\end{document}