Skip to content

briochemc/JuliaProPlotExamples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Julia ProPlot Examples

Here you will find some (most?) of the ProPlot examples from the documentation, but translated to Julia using PyCall.jl and PyPlot.jl.

Note you must install ProPlot first. (And probably some other things.)


Click on the images below to be directed to the julia code that produced it.

Basics

Figures and subplots

Formatting subplots

Changing rc settings

Subplot grids

Notes

  1. The scoping rules are a bit different between Python and Julia, which require some tweaking for the examples to work.

  2. You can't format all the subplots at once with axs.format AFAIK, so you have to loop through all axes and format each of them.

  3. f, axs = proplot.subplots() returns a vector of axes, even if you specify multiple columns, so that you need to reshape (and transpose) the axs array to get access to the axes in the "expected" way.

  4. I saved the images via savefig("X.png"), which did not preserve some features.

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages