18 lines
464 B
TeX
18 lines
464 B
TeX
\begin{pspicture}(-5,-5)(5.2,5.2)
|
|
\psgrid[griddots=10,gridlabels=0pt, subgriddiv=0, gridcolor=black!40]
|
|
\psaxes
|
|
[
|
|
%ytrigLabels=true,
|
|
linewidth=\pslinewidth,
|
|
%labelFontSize=\scriptscriptstyle,
|
|
tickcolor=gray,
|
|
ticksize=-1.5pt 1.5pt,
|
|
xlabelsep=3pt,
|
|
arrowscale=1,
|
|
%trigLabelBase=4,
|
|
]{->}(0,0)(-5,-5)(5,5)[$x$,90][$g(x)$,0]
|
|
\psset{algebraic,linewidth=1.5pt}
|
|
|
|
\psplot{-5}{5}{2 * x - 2}
|
|
\end{pspicture}
|