Graphical tools

Fra Robin

(Forskjeller mellom versjoner)
Gå til: navigasjon, søk
(Tips on Exporting Figures)
(Tips on Exporting Figures)
Linje 59: Linje 59:
*** optionally use pdfcrop (usually installed with LaTeX) to cut unecessary white space
*** optionally use pdfcrop (usually installed with LaTeX) to cut unecessary white space
*** in case only eps export is supported, use epstopdf (usually installed with LaTeX)
*** in case only eps export is supported, use epstopdf (usually installed with LaTeX)
-
** For direct inclusion in LaTeX use the scripts linked above to create PGF/Ti''k''Z files. It is possible to either input the code directly through <code>\input{}</code> or to compile the figure first [https://blog.modelworks.ch/producing-stand-alone-figures-with-tikz-in-latex/ through] the ''standalone'' class
+
** For direct inclusion in LaTeX use the following scripts to create PGF/Ti''k''Z files:
-
 
+
*** Python: https://github.com/nschloe/tikzplotlib
-
Add more info here
+
*** R: https://github.com/daqana/tikzDevice
 +
*** Matlab/Octave: https://github.com/matlab2tikz/matlab2tikz
 +
** It is possible to either input the code directly through <code>\input{}</code> or to compile the figure first [https://blog.modelworks.ch/producing-stand-alone-figures-with-tikz-in-latex/ through] the ''standalone'' class

Versjonen fra 24. aug 2021 kl. 06:37

Innhold

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 in

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
Personlige verktøy