using CairoMakie
include("makieTheme1.jl") # don't forget to include the theme.
x = LinRange(0,2π,50) # with 50 points in the interval.
fig = Figure(resolution = (600, 400), font =:sans)
ax = Axis(fig, xlabel = "x", ylabel = "")
line1 = lines!(x, sin.(x), color = :black)
pnts1 = scatter!(x, sin.(x), color = :black, marker = '◆', markersize = 8)
line2 = lines!(x, cos.(x), color = :black)
pnts2 = scatter!(x, cos.(x), color = :red, strokecolor = :red,
marker = '■', markersize = 5)
leg = Legend(fig, [[line1, pnts1], [line2, pnts2]], ["sin(x)", "cos(x)"],
halign = :center, valign = :center, markersize = 7,
framevisible =true, bgcolor = :white, framecolor=:white)
fig[1, 1] = ax
fig[1, 1] = leg
#save("/results/FigLineScatter2.svg", scene, pt_per_unit = 0.7);
#save("./results/FigLineScatter2.png", fig, px_per_unit = 2)
fig