Replies: 3 comments 1 reply
-
Most publications require figures to be prepared in vector format. In general, there are two types of images, vector and raster. A raster image is like a photograph; it is essentially a table of locations with the color in each cell. You have seen the limitation of this type of image when you zoom in too far and the image becomes pixelated. Vector formats do not have this problem. A vector image is a set of instructions for the computer to redraw a perfectly crisp version of your image at any zoom level. The most common file type is encapsulated postscript (.eps). |
Beta Was this translation helpful? Give feedback.
-
Luckily, most scientific software packages will export to .eps. One standard package is R, which can easily be used with RStudio. See my lab wiki for more on R and RStudio installation. I highly recommend the ggplot2 library in R, which stands for the grammar of graphics. You can use this package to produce really nice figures. There are a lot of controls, so take your time learning some of the different options; a good place to start is the tidyverse documentation. If you have data already in R (to use ggplot, you must have your data in a data frame), try these commands:
For fancier labels, check out the library, latex2exp. This includes the tex command shown for the y-axis label. |
Beta Was this translation helpful? Give feedback.
-
For people looking for a pre-packged solution, Veusz (https://veusz.github.io/) is an open source app (built with python) that works similar to commercial software like Origin or Kaleidograph. It has all of the bells and whistles to make production-quality figures. |
Beta Was this translation helpful? Give feedback.
-
How do I prepare a figure for publication?
Beta Was this translation helpful? Give feedback.
All reactions