# Graphical tools

### From Robin

(Difference between revisions)

(→How to Export Figures for Latex) |
(→Plotting, Graphs) |
||

Line 16: | Line 16: | ||

* Python | * Python | ||

** 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 | + | ** Seaborn (easy to create good looking plots, uses Matplotlib internally, see for exaxmple [https://elitedatascience.com/python-seaborn-tutorial tutorial here]) |

** Export to Latex (Ti''k''Z/PGF; https://github.com/nschloe/tikzplotlib) | ** Export to Latex (Ti''k''Z/PGF; https://github.com/nschloe/tikzplotlib) | ||

* R | * R |

## Revision as of 08:06, 19 May 2021

## Contents |

### Figures / Illustrations

- Adobe Illustrator/Photoshop - for students only through UiO programkiosk?
- Inkscape
- Gimp
- Directly in Latex (Ti
*k*Z/PGF: https://github.com/pgf-tikz/pgf) - Lucid charts
- Powerpoint, Keynote, …
- Google draw, in Google disk
- 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 exaxmple tutorial here)
- Export to Latex (Ti
*k*Z/PGF; https://github.com/nschloe/tikzplotlib)

- R
- ggplot2 (with Rstudio)
- Export to Latex (TikZ/PGF; https://github.com/daqana/tikzDevice)

- Matlab (available at uio)
- Export to Latex (Ti
*k*Z/PGF; https://github.com/matlab2tikz/matlab2tikz)

- Export to Latex (Ti
- Octave (free alternative to matlab)
- Export to Latex (TikZ/PGF; https://github.com/matlab2tikz/matlab2tikz)

- Gnuplot (free)
- Desmos.com (web based)
- javaFX
- excel (uio)

### Digitalize Figures

- 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 for Latex

- recommended approach: save as pdf, use pdfcrop, includegraphics in latex
- avoid bitmap graphics if possible and especially jpg!

- epstopdf - usually installed with latex
- pdfcrop - usually installed with latex
- check font size and type
- for direct inclusion to Latex use the scripts linked above to create TikZ/PGF files

add more info here