Last active
March 27, 2016 00:33
-
-
Save alstat/e797a104f7569037f721 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Gadfly | |
using Distributions | |
function plot_theme() | |
Theme(panel_fill = colorant"#3B444B", default_color = colorant"#DE3163", | |
grid_color = colorant"#848482") | |
end | |
x = rand(Dirichlet([10; 1; 1]), 3000) | |
# View the samples in yz plane | |
myplot = plot(x = x1[2, :], y = x[3, :], Guide.xlabel("y"), Guide.ylabel("z"), plot_theme) | |
draw(SVG("myplot.svg", 6inch, 4inch), myplot) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment