I would like the code that instructs TikZ to plot the asymptotes to the graph for the rational function y=(x+2)/(x-1). What is the code for plotting these lines as a dashed lines with arrowheads? (I am removing the point (-3, 0.25) from the graph.) These should be a little shorter than the axes.
I would like more of the function to be graphed. I specified that the domain should be from -15 to 15, except for an interval near 1. It does not look like it is all graphed. I would also like to extend the y-axis in both directions so that the graph fits on the pictured Cartesian plane.
I would like one tick mark on the x-axis: -3. It should be typeset in a small font. I used tick style={font=\small} but it didn't change the font. I don't want the tick marks on the y-axis.
Only give code using pgfplots.
\documentclass[10pt]{amsart}
\usepackage{tikz}
\usetikzlibrary{calc,angles,positioning,intersections,quotes,decorations.markings}
\usepackage{tkz-euclide}
\usetkzobj{all}
\usepackage{pgfplots}
\pgfplotsset{compat=1.11}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsthm}
\begin{document}
\begin{tikzpicture}
\begin{axis}[width=4in,axis equal image,
axis lines=middle,
xmin=-15,xmax=15,
ymin=-5,ymax=5,
enlargelimits={abs=1cm},
axis line style={latex-latex},
tick style={font=\small},
ticklabel style={fill=white},
xtick={-3}
]
% Draw the two parts separately with individual domains:
\addplot[samples=50,domain=-15:1-0.27] {(x+2)/(x-1)};
\addplot[samples=50,domain=1+0.33:15] {(x+2)/(x-1)};
\draw [fill=white] (-3,0.25) circle [radius=1.5pt] node[left]{};
\end{axis}
\end{tikzpicture}


\draw [fill=white] (-3,0.25) circle [radius=1.5pt] node[left]{};added to the code. You have the tick mark -2 in a smaller font. (Why doesn't my code typeset it in the same small font?) I would like these coordinates in the same font. – user60254 Sep 25 '14 at 12:51node[fill=white,sloped] {$x=1$}. – user60254 Sep 25 '14 at 13:03