Generation of Figures in Illustrator: Difference between revisions

No edit summary
Clarified instructions for making figures
Line 1: Line 1:
==From Excel==
==From R==
*Make chart bars black/white/grey in that order
 
*Move chart to own tab
* Make chart in R, make as many as possible changes to text size, labels colors and layout within R
*Set font Arial and size 24 for labels and 16 for numbering (2x)
* Some recommendations:
*Transform ... scale ... 50% in illustrator
** 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==