When plotting a function (as opposed to numerical data), how can we set the number of sample points (i.e. the number of distinct *x* coordinates where the function is computed)? Importantly, where can I find this information in the documentation?

Example:

```
plot(x -> sin(1/x), 0.001, 1)
```

For a useful plot in the 0–0.25 range we need many more points.