legend position
This commit is contained in:
parent
a117bbc04b
commit
f2f647c642
@ -453,7 +453,7 @@ function _update_plot_object(plt::Plot{PGFPlotsXBackend})
|
|||||||
a = alpha(cstr)
|
a = alpha(cstr)
|
||||||
title_cstr = plot_color(sp[:titlefontcolor])
|
title_cstr = plot_color(sp[:titlefontcolor])
|
||||||
title_a = alpha(cstr)
|
title_a = alpha(cstr)
|
||||||
# TODO: aspect ratio, legend position
|
# TODO: aspect ratio
|
||||||
axis_opt = PGFPlotsX.Options(
|
axis_opt = PGFPlotsX.Options(
|
||||||
"height" => string(height(bb)),
|
"height" => string(height(bb)),
|
||||||
"width" => string(width(bb)),
|
"width" => string(width(bb)),
|
||||||
@ -464,6 +464,7 @@ function _update_plot_object(plt::Plot{PGFPlotsXBackend})
|
|||||||
"draw opacity" => title_a,
|
"draw opacity" => title_a,
|
||||||
"rotate" => sp[:titlefontrotation]
|
"rotate" => sp[:titlefontrotation]
|
||||||
),
|
),
|
||||||
|
"legend pos" => _pgfplotsx_legend_pos[sp[:legend]],
|
||||||
"legend style" => PGFPlotsX.Options(
|
"legend style" => PGFPlotsX.Options(
|
||||||
pgfx_linestyle(pgfx_thickness_scaling(sp), sp[:foreground_color_legend], 1.0, "solid") => nothing,
|
pgfx_linestyle(pgfx_thickness_scaling(sp), sp[:foreground_color_legend], 1.0, "solid") => nothing,
|
||||||
"fill" => cstr,
|
"fill" => cstr,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user