Code: Select all
\begin{pspicture}(11,-2)(-3.5,8)
\psaxes[labels=none,ticks=none,trigLabelBase=2,dx=\psPiH, xunit=\psPi,trigLabels,linewidth=1.5pt]{<->}(0,0)(-2,-3)(3,4)[$x$,0][$y$,90]
\psplot[linestyle=dashed,yMaxValue=4,linewidth=1.5pt,plotpoints=2000,linecolor=red]{-1.56}{1.56}{1/sin(x)}
\psset{algebraic}
\end{pspicture}
Code: Select all
csc(x)
Here is the code for my document.
Code: Select all
\documentclass[12pt]{exam}
\usepackage{geometry} % See geometry.pdf to learn the layout options. There are lots.
\geometry{letterpaper} % ... or a4paper or a5paper or ...
%\geometry{landscape} % Activate for for rotated page geometry
%\usepackage[parfill]{parskip} % Activate to begin paragraphs with an empty line rather than an indent
\usepackage{graphicx}
\usepackage{amssymb}
\usepackage{multicol}
\usepackage{amsmath}
\usepackage{pst-plot}
\usepackage{pstricks-add}
\addpoints
\DeclareGraphicsRule{.tif}{png}{.png}{`convert #1 `dirname #1`/`basename #1 .tif`.png}
\pagestyle{headandfoot}
\firstpageheader{Section 4.6}{Precalculus}{Other Trig Functions}
\runningheader{Section 4.6}{Precalculus}{Other Trig Functions}
\firstpagefooter{}{}{}
\begin{document}
\begin{pspicture}(11,-2)(-3.5,8)
\psaxes[labels=none,ticks=none,trigLabelBase=2,dx=\psPiH, xunit=\psPi,trigLabels,linewidth=1.5pt]{<->}(0,0)(-2,-3)(3,4)[$x$,0][$y$,90]
\psplot[linestyle=dashed,yMaxValue=4,linewidth=1.5pt,plotpoints=2000,linecolor=red]{-1.56}{1.56}{1/sin(x)}
\psset{algebraic}
\end{pspicture}
\end{document}
Nick