Data Science Desktop Survival Guide
by Graham Williams |
|||||
Add a Caption and Label |
Raw
Adding a caption (which automatically also adds a label) is done using fig.cap=.
We have also used (but can't see) fig.pos="h" which
requests placement of the figure “here” rather than letting it
float. Other options are to place the figure at the top of a page
(
Once a caption is added, a label is also added to the figure so that
it can be referred to in the document. The label is made up of
|