This repository has been archived by the owner on Jul 15, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
backends.html
2 lines (2 loc) · 9.76 KB
/
backends.html
1
2
<!DOCTYPE html>
<html lang="en"><head><meta charset="UTF-8"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><title>Backends · Makie.jl</title><link href="https://fonts.googleapis.com/css?family=Lato|Roboto+Mono" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/fontawesome.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/solid.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/brands.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.11.1/katex.min.css" rel="stylesheet" type="text/css"/><script>documenterBaseURL="."</script><script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.6/require.min.js" data-main="assets/documenter.js"></script><script src="siteinfo.js"></script><script src="../versions.js"></script><link class="docs-theme-link" rel="stylesheet" type="text/css" href="assets/themes/documenter-dark.css" data-theme-name="documenter-dark"/><link class="docs-theme-link" rel="stylesheet" type="text/css" href="assets/themes/documenter-light.css" data-theme-name="documenter-light" data-theme-primary/><script src="assets/themeswap.js"></script><link href="assets/favicon.ico" rel="icon" type="image/x-icon"/><link href="assets/syntaxtheme.css" rel="stylesheet" type="text/css"/></head><body><div id="documenter"><nav class="docs-sidebar"><a class="docs-logo" href="index.html"><img src="assets/logo.png" alt="Makie.jl logo"/></a><div class="docs-package-name"><span class="docs-autofit">Makie.jl</span></div><form class="docs-search" action="search.html"><input class="docs-search-query" id="documenter-search-query" name="q" type="text" placeholder="Search docs"/></form><ul class="docs-menu"><li><a class="tocitem" href="index.html">Home</a></li><li><span class="tocitem">Basics</span><ul><li><a class="tocitem" href="basic-tutorial.html">Tutorial</a></li><li><a class="tocitem" href="animation.html">Animations</a></li><li><a class="tocitem" href="interaction.html">Interaction</a></li><li><a class="tocitem" href="plotting_functions.html">Plotting Functions</a></li></ul></li><li><span class="tocitem">Documentation</span><ul><li><a class="tocitem" href="scenes.html">Scenes</a></li><li><a class="tocitem" href="generated/axis.html">Axis</a></li><li><a class="tocitem" href="convenience.html">Convenience functions</a></li><li><a class="tocitem" href="generated/signatures.html">Plot function signatures</a></li><li><a class="tocitem" href="generated/plot-attributes.html">Plot attributes</a></li><li><a class="tocitem" href="generated/colors.html">Colors</a></li><li><a class="tocitem" href="lighting.html">Lighting</a></li><li><a class="tocitem" href="theming.html">Config file</a></li><li><a class="tocitem" href="cameras.html">Cameras</a></li><li><a class="tocitem" href="recipes.html">Plot Recipes</a></li><li><a class="tocitem" href="output.html">Output</a></li><li class="is-active"><a class="tocitem" href="backends.html">Backends</a><ul class="internal"><li><a class="tocitem" href="#[GLMakie](https://github.com/JuliaPlots/GLMakie.jl)"><span>GLMakie</span></a></li><li><a class="tocitem" href="#[WGLMakie](https://github.com/JuliaPlots/WGLMakie.jl)"><span>WGLMakie</span></a></li><li><a class="tocitem" href="#[CairoMakie](https://github.com/JuliaPlots/CairoMakie.jl)"><span>CairoMakie</span></a></li></ul></li><li><a class="tocitem" href="troubleshooting.html">Troubleshooting</a></li></ul></li><li><span class="tocitem">MakieLayout</span><ul><li><a class="tocitem" href="makielayout/tutorial.html">Tutorial</a></li><li><a class="tocitem" href="makielayout/grids.html">GridLayout</a></li><li><a class="tocitem" href="makielayout/laxis.html">LAxis</a></li><li><a class="tocitem" href="makielayout/special_plots.html">Special Plots</a></li><li><a class="tocitem" href="makielayout/llegend.html">LLegend</a></li><li><a class="tocitem" href="makielayout/layoutables_examples.html">Layoutables Examples</a></li><li><a class="tocitem" href="makielayout/theming.html">Theming Layoutables</a></li><li><a class="tocitem" href="makielayout/layouting.html">How Layouting Works</a></li><li><a class="tocitem" href="makielayout/faq.html">Frequently Asked Questions</a></li><li><a class="tocitem" href="makielayout/reference.html">API Reference</a></li></ul></li><li><span class="tocitem">Developer Documentation</span><ul><li><a class="tocitem" href="why-makie.html">Why <code>Makie</code>?</a></li><li><a class="tocitem" href="devdocs.html">Devdocs</a></li><li><a class="tocitem" href="abstractplotting_api.html">AbstractPlotting Reference</a></li></ul></li></ul><div class="docs-version-selector field has-addons"><div class="control"><span class="docs-label button is-static is-size-7">Version</span></div><div class="docs-selector control is-expanded"><div class="select is-fullwidth is-size-7"><select id="documenter-version-selector"></select></div></div></div></nav><div class="docs-main"><header class="docs-navbar"><nav class="breadcrumb"><ul class="is-hidden-mobile"><li><a class="is-disabled">Documentation</a></li><li class="is-active"><a href="backends.html">Backends</a></li></ul><ul class="is-hidden-tablet"><li class="is-active"><a href="backends.html">Backends</a></li></ul></nav><div class="docs-right"><a class="docs-edit-link" href="https://github.com/JuliaPlots/AbstractPlotting.jl/blob/master/docs/src/backends.md#" title="Edit on GitHub"><span class="docs-icon fab"></span><span class="docs-label is-hidden-touch">Edit on GitHub</span></a><a class="docs-settings-button fas fa-cog" id="documenter-settings-button" href="#" title="Settings"></a><a class="docs-sidebar-button fa fa-bars is-hidden-desktop" id="documenter-sidebar-button" href="#"></a></div></header><article class="content" id="documenter-page"><h1 id="Backends"><a class="docs-heading-anchor" href="#Backends">Backends</a><a id="Backends-1"></a><a class="docs-heading-anchor-permalink" href="#Backends" title="Permalink"></a></h1><p>There are three main backends for AbstractPlotting:</p><ul><li><code>GLMakie</code> (Desktop, high performance, 100% features) <strong>default</strong></li><li><code>WGLMakie</code> (Web, fast drawing, 80% features) <strong>web</strong></li><li><code>CairoMakie</code> (Print, SVG/PDF, 70% features) <strong>2D-only</strong> (for now)</li></ul><p>You can activate any backend by <code>using</code> the appropriate package and calling it's <code>activate!</code> function; to activate WGLMakie, you would do s<code>using WGLMakie; WGLMakie.activate!()</code>.</p><h2 id="[GLMakie](https://github.com/JuliaPlots/GLMakie.jl)"><a class="docs-heading-anchor" href="#[GLMakie](https://github.com/JuliaPlots/GLMakie.jl)"><a href="https://github.com/JuliaPlots/GLMakie.jl">GLMakie</a></a><a id="[GLMakie](https://github.com/JuliaPlots/GLMakie.jl)-1"></a><a class="docs-heading-anchor-permalink" href="#[GLMakie](https://github.com/JuliaPlots/GLMakie.jl)" title="Permalink"></a></h2><p>GLMakie is the native, desktop-based backend, and is the most feature-complete. It requires an OpenGL enabled graphics card with OpenGL version 3.3 or higher.</p><h2 id="[WGLMakie](https://github.com/JuliaPlots/WGLMakie.jl)"><a class="docs-heading-anchor" href="#[WGLMakie](https://github.com/JuliaPlots/WGLMakie.jl)"><a href="https://github.com/JuliaPlots/WGLMakie.jl">WGLMakie</a></a><a id="[WGLMakie](https://github.com/JuliaPlots/WGLMakie.jl)-1"></a><a class="docs-heading-anchor-permalink" href="#[WGLMakie](https://github.com/JuliaPlots/WGLMakie.jl)" title="Permalink"></a></h2><p>WGLMakie is the Web-based backend, and is still experimental (though relatively feature-complete). Only serving it on a webpage or in Pluto.jl / Ijulia are currently supported. VSCode integration should come soon.</p><h2 id="[CairoMakie](https://github.com/JuliaPlots/CairoMakie.jl)"><a class="docs-heading-anchor" href="#[CairoMakie](https://github.com/JuliaPlots/CairoMakie.jl)"><a href="https://github.com/JuliaPlots/CairoMakie.jl">CairoMakie</a></a><a id="[CairoMakie](https://github.com/JuliaPlots/CairoMakie.jl)-1"></a><a class="docs-heading-anchor-permalink" href="#[CairoMakie](https://github.com/JuliaPlots/CairoMakie.jl)" title="Permalink"></a></h2><p>CairoMakie uses Cairo to draw vector graphics to SVG and PDF. It needs Cairo.jl to build properly, which may be difficult on MacOS.</p><p>!!! tip "using GPU for rendering scenes in Linux" Normally the dedicated GPU is used for rendering scenes, but in case of mobile GPU's in Linux, one can tell Julia to use the dedicated GPU while launching julia as :<code>$ sudo DRI_PRIME=1 julia</code> in bash terminal.</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="output.html">« Output</a><a class="docs-footer-nextpage" href="troubleshooting.html">Troubleshooting »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> on <span class="colophon-date" title="Tuesday 20 October 2020 08:14">Tuesday 20 October 2020</span>. Using Julia version 1.3.1.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>