In [1]:
using Plots
gr()
using Colors
In [2]:
base03=parse(Colorant,"#002b36");
base02=parse(Colorant,"#073642");
base01=parse(Colorant,"#586e75");
base00=parse(Colorant,"#657b83");
base0=parse(Colorant,"#839496");
base1=parse(Colorant,"#839496");
base2=parse(Colorant,"#eee8d5");
base3=parse(Colorant,"#fdf6e3");
yellow=parse(Colorant,"#b58900");
orange=parse(Colorant,"#cb4b16");
red=parse(Colorant,"#dc322f");
magenta=parse(Colorant,"#d33682");
violet=parse(Colorant,"#6c71c4");
blue=parse(Colorant,"#268bd2");
cyan=parse(Colorant,"#3aa198");
green=parse(Colorant,"#859900");
display([base03, base02, base01,base00,base0,base1,base2,base3])
display([yellow,orange,red,magenta,violet,blue,cyan,magenta])
In [4]:
x=collect(0:.1:4π);
y1=sin.(x);
y2=cos.(x);
y3=sin.(2*x);
y4=cos.(2*x);
y5=sin.(x/2);
In [8]:
plot(x,y1,color=cyan)
plot!(background_color=base3)
Out[8]:
In [26]:
plot(x,y1,color=cyan)
plot!(background_color_outside=cyan,
foreground_color=base03)
Out[26]:
In [22]:
plot(x,y1,color=cyan)
plot!(background_color_legend=base3,
foreground_color_legend=base02)
Out[22]:
In [21]:
plot(x,y1,color=cyan)
plot!(foreground_color_grid=red)
Out[21]:
In [32]:
plot(x,y1)
plot!(title="Plot Title",
foreground_color_title=violet)
plot!(xlabel="x label", ylabel="y label",
foreground_color_guide=cyan)
plot!(foreground_color_axis=red)
Out[32]:
In [ ]: