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, markersize = 5)
leg = Legend(fig, [[line1, pnts1]], ["sin(x)"], markersize = 7,
halign = :right, valign = :top, bgcolor = :transparent)
fig[1, 1] = ax
fig[1, 1] = leg
#save("./results/FigLineScatter.svg", scene, pt_per_unit = 0.7);
#save("./results/FigLineScatter.png", fig, px_per_unit = 2)
fig