Graphical tools
Fra Robin
(Forskjeller mellom versjoner)
(→How to Export Figures) |
|||
Linje 4: | Linje 4: | ||
* Inkscape | * Inkscape | ||
* Gimp | * Gimp | ||
- | * Directly in | + | * Directly in LaTeX (PGF/Ti''k''Z: https://github.com/pgf-tikz/pgf) |
* Lucid charts | * Lucid charts | ||
* Powerpoint, Keynote, … | * Powerpoint, Keynote, … | ||
Linje 18: | Linje 18: | ||
** Matplotlib (see [https://github.com/jbmouret/matplotlib_for_papers Mouret's tutorial for publication quality plots ]) | ** Matplotlib (see [https://github.com/jbmouret/matplotlib_for_papers Mouret's tutorial for publication quality plots ]) | ||
** Seaborn (easy to create good looking plots, uses Matplotlib internally, see for example [https://elitedatascience.com/python-seaborn-tutorial tutorial here]) | ** Seaborn (easy to create good looking plots, uses Matplotlib internally, see for example [https://elitedatascience.com/python-seaborn-tutorial tutorial here]) | ||
- | ** Export to | + | ** Export to LaTeX (PGF/Ti''k''Z; https://github.com/nschloe/tikzplotlib) |
* R | * R | ||
** ggplot2 (with Rstudio) | ** ggplot2 (with Rstudio) | ||
- | ** Export to | + | ** Export to LaTeX (PGF/Ti''k''Z; https://github.com/daqana/tikzDevice) |
* Matlab (available at uio) | * Matlab (available at uio) | ||
** Export to Latex (PGF/Ti''k''Z; https://github.com/matlab2tikz/matlab2tikz) | ** Export to Latex (PGF/Ti''k''Z; https://github.com/matlab2tikz/matlab2tikz) | ||
* Octave (free alternative to matlab) | * Octave (free alternative to matlab) | ||
- | ** Export to | + | ** Export to LaTeX (PGF/Ti''k''Z; https://github.com/matlab2tikz/matlab2tikz) |
* Gnuplot (free) | * Gnuplot (free) | ||
* Desmos.com (web based) | * Desmos.com (web based) | ||
Linje 32: | Linje 32: | ||
=== Digitalize Figures === | === Digitalize Figures === | ||
+ | To qualitatively compare one's own data with other published data, it is sometimes needed to obtain the concrete data of the respective publication. In that case there are multiple possibilities to get that: | ||
* Python: https://github.com/dilawar/PlotDigitizer | * Python: https://github.com/dilawar/PlotDigitizer | ||
* Matlab: https://blogs.mathworks.com/steve/2013/12/31/automating-data-extraction-1/ | * Matlab: https://blogs.mathworks.com/steve/2013/12/31/automating-data-extraction-1/ | ||
Linje 42: | Linje 43: | ||
** preferably use vector graphics such as svg, pdf or eps | ** preferably use vector graphics such as svg, pdf or eps | ||
** avoid bitmap graphics if possible and especially jpg! | ** avoid bitmap graphics if possible and especially jpg! | ||
- | * For | + | * For LaTeX |
** recommended approach: save as pdf, use pdfcrop | ** recommended approach: save as pdf, use pdfcrop | ||
- | ** epstopdf - usually installed with | + | ** epstopdf - usually installed with LaTeX |
- | ** pdfcrop - usually installed with | + | ** pdfcrop - usually installed with LaTeX |
- | ** for direct inclusion in | + | ** for direct inclusion in LaTeX use the scripts linked above to create PGF/Ti''k''Z files |
add more info here | add more info here |
Versjonen fra 28. mai 2021 kl. 06:33
Innhold |
Figures / Illustrations
- Adobe Illustrator/Photoshop - for students only through UiO programkiosk?
- Inkscape
- Gimp
- Directly in LaTeX (PGF/TikZ: https://github.com/pgf-tikz/pgf)
- Lucid charts
- Powerpoint, Keynote, …
- Google draw, in Google disk
- Blender
- Photopea (online editor)
- Figma?
- Draw.io
- Linux-program for grafer, finn ut navn
Plotting, Graphs
- Python
- Matplotlib (see Mouret's tutorial for publication quality plots )
- Seaborn (easy to create good looking plots, uses Matplotlib internally, see for example tutorial here)
- Export to LaTeX (PGF/TikZ; https://github.com/nschloe/tikzplotlib)
- R
- ggplot2 (with Rstudio)
- Export to LaTeX (PGF/TikZ; https://github.com/daqana/tikzDevice)
- Matlab (available at uio)
- Export to Latex (PGF/TikZ; https://github.com/matlab2tikz/matlab2tikz)
- Octave (free alternative to matlab)
- Export to LaTeX (PGF/TikZ; https://github.com/matlab2tikz/matlab2tikz)
- Gnuplot (free)
- Desmos.com (web based)
- javaFX
- excel (uio)
Digitalize Figures
To qualitatively compare one's own data with other published data, it is sometimes needed to obtain the concrete data of the respective publication. In that case there are multiple possibilities to get that:
- Python: https://github.com/dilawar/PlotDigitizer
- Matlab: https://blogs.mathworks.com/steve/2013/12/31/automating-data-extraction-1/
- External App: WebPlotDigitizer
How to Export Figures
- before saving the graphics in the respective programs
- check colour maps (see https://www.nature.com/articles/s41467-020-19160-7 or https://matplotlib.org/stable/tutorials/colors/colormaps.html)
- check font size and type
- preferably use vector graphics such as svg, pdf or eps
- avoid bitmap graphics if possible and especially jpg!
- For LaTeX
- recommended approach: save as pdf, use pdfcrop
- epstopdf - usually installed with LaTeX
- pdfcrop - usually installed with LaTeX
- for direct inclusion in LaTeX use the scripts linked above to create PGF/TikZ files
add more info here