Let $(X_1,X_2,...,X_n)$ be a random sample from a uniform distribution on the interval $(-\theta,\theta)$, where $\theta$ is an unknown positive number.
A particular sample of size $5$ gives values $0.87,-0.43,0.12,-0.92$ and $0.58$.
How can I draw a graph of the likelihood function $L(\theta)$ against $\theta$ for this sample?