Generation of Figures in Illustrator: Difference between revisions
No edit summary |
Clarified instructions for making figures |
||
| Line 1: | Line 1: | ||
==From | ==From R== | ||
*Make chart | |||
* | * Make chart in R, make as many as possible changes to text size, labels colors and layout within R | ||
* | * Some recommendations: | ||
* | ** Use ggplot2 library for all figures | ||
** Add the commands at the end of your figure generation command : | |||
<code>theme_classic() + # to get the overall layout</code> | |||
<code>theme(text = element_text(size=18) # to increase font</code> | |||
* Use same library (ie ggplot), font sizes etc for all figures in a paper. If you need to create multiple versions of a figure in R that is fine. | |||
* Create an illustrator file, with artboards for each figure panel (if for a paper) | |||
* Drag the '''pdf''' file from the figures folder in your R script onto the artboard. For ease of use do not resize figure. | |||
* Add a panel indicator (i.e. "A.") for each figure | |||
* Note in the README.md file where the script is located (in the git repository) and which pdf file was used | |||
==Notes== | ==Notes== | ||