Add support for polar axis
This commit is contained in:
parent
48ff2fb8b8
commit
dd505fedcc
@ -307,7 +307,11 @@ function _update_plot_object(plt::Plot{PGFPlotsBackend})
|
|||||||
kw[:legendPos] = _pgfplots_legend_pos[legpos]
|
kw[:legendPos] = _pgfplots_legend_pos[legpos]
|
||||||
end
|
end
|
||||||
|
|
||||||
o = PGFPlots.Axis(; style = style, kw...)
|
axisf = PGFPlots.Axis
|
||||||
|
if sp[:projection] == :polar
|
||||||
|
axisf = PGFPlots.PolarAxis
|
||||||
|
end
|
||||||
|
o = axisf(; style = style, kw...)
|
||||||
|
|
||||||
# add the series object to the PGFPlots.Axis
|
# add the series object to the PGFPlots.Axis
|
||||||
for series in series_list(sp)
|
for series in series_list(sp)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user