Last active
January 11, 2016 20:37
-
-
Save rBatt/2a7787bd468d7c8af723 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| png(file="~/Desktop/figure.png", width=3.5, height=3.5, res=150, units="in") # open / setup device | |
| par( | |
| mar=c(1.75, 1.75, 0.1, 0.1), # panel magin size in "line number" units | |
| mgp=c(1, 0.1, 0), # default is c(3,1,0); line number for axis label, tick label, axis | |
| tcl=-0.1, # size of tick marks as distance INTO figure (negative means pointing outward) | |
| cex=1, # character expansion factor; keep as 1; if you have a many-panel figure, they start changing the default! | |
| ps=8, # point size, which is the font size | |
| family="sans" | |
| ) | |
| plot(1:10) # or w/e you want | |
| dev.off() # close device, saving final |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment