Let $X$ be a non-hyperelliptic Riemann surface of genus $g = 4$. Let $p,q,r$ be three points on $X$, not necessarily distinct. Is there any obstruction to the existence of a meromorphic function $f: X\to \mathbb{C}$, such that $f$ has simple poles at exactly $p,q,r$, and no other poles?
In other words, if $D = p + q + r$ is a divisor, what is the dimension of $L(D)$? (I believe this is standard terminology, but $L(D)$ is the space of meromorphic functions on $X$ which have poles bounded by the divisor $D$)
The dimension of $L(D)$ can only be 1 or 2 (by the non-hyperellipticity hypotesis). I was wondering if, in general, a function like the one described above does exist (and then $L(D)$ has always dimension 2) or not.