Graphical tools

From Robin

(Difference between revisions)
Jump to: navigation, search
(Tips on Exporting Figures)
(Tips on Exporting Figures)
(One intermediate revision not shown)
Line 22: Line 22:
** Matplotlib
** Matplotlib
*** see [https://github.com/jbmouret/matplotlib_for_papers Mouret's tutorial] for publication quality plots
*** see [https://github.com/jbmouret/matplotlib_for_papers Mouret's tutorial] for publication quality plots
-
*** check the cheat sheets [https://raw.githubusercontent.com/matplotlib/cheatsheets/master/cheatsheets-1.png 1] & [https://raw.githubusercontent.com/matplotlib/cheatsheets/master/cheatsheets-2.png 2]
+
*** check the [https://github.com/matplotlib/cheatsheets cheat sheets]
** Seaborn (statistical data visualization; uses Matplotlib internally. See for example this [https://elitedatascience.com/python-seaborn-tutorial tutorial])
** Seaborn (statistical data visualization; uses Matplotlib internally. See for example this [https://elitedatascience.com/python-seaborn-tutorial tutorial])
* R
* R
Line 47: Line 47:
** Example plots with mostly default (left) and adapted (right) plotting parameters.
** Example plots with mostly default (left) and adapted (right) plotting parameters.
** [[Fil:TestT .png|400px|middle]][[Fil:Test.png|250px|middle]]  
** [[Fil:TestT .png|400px|middle]][[Fil:Test.png|250px|middle]]  
-
** Make sure that your figures are still readable when printing them in black and white
+
** Make sure that your figures are still readable when printing them in grayscale
* Sometimes it is neccessary to use png format (e.g. in case of render graphics or plots with an essential transparency effect)
* Sometimes it is neccessary to use png format (e.g. in case of render graphics or plots with an essential transparency effect)
** In that case, one should pick a proper resolution for the export file while accounting for its file size
** In that case, one should pick a proper resolution for the export file while accounting for its file size

Revision as of 16:49, 16 September 2021

Contents

Figures/Illustrations

  • Vector Graphics Editors
    • Inkscape (free and open-source)
    • Adobe Illustrator (for students only through UiO programkiosk)
    • Directly in LaTeX (PGF/TikZ: https://github.com/pgf-tikz/pgf; some examples)
    • LibreOffice Draw (free and open-source)
    • Through presentation software such as Powerpoint, Keynote, …
    • Web-based options: Google draw (in Google disk), Draw.io, Figma, Lucid charts, …
  • Raster Graphics Editors
    • Gimp (free and open-source)
    • Adobe Photoshop (for students only through UiO programkiosk)
    • Photopea (online editor)
  • 3D Computer Graphics Editors
    • Blender (free and open-source)
    • Autodesk Maya
    • see also here

Plotting Apps

  • Python
    • Matplotlib
    • Seaborn (statistical data visualization; uses Matplotlib internally. See for example this tutorial)
  • R
    • ggplot2 (with Rstudio)
  • Matlab (available at UiO)
  • Octave (free alternative to matlab)
  • Gnuplot
  • 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 ways to do that:

Tips on Exporting Figures

  • Before saving the graphics in the respective programs
  • Sometimes it is neccessary to use png format (e.g. in case of render graphics or plots with an essential transparency effect)
    • In that case, one should pick a proper resolution for the export file while accounting for its file size
    • Possible ways to compress the png file is to use for example pngquant, AdvanceCOMP or ImageMagick
  • Exporting to LaTeX
Personal tools
Front page