robust pgfx_axes
This commit is contained in:
parent
02b54e72a6
commit
aaaedcab1a
@ -11,7 +11,11 @@ Base.@kwdef mutable struct PGFPlotsXPlot
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
pgfx_axes(pgfx_plot::PGFPlotsXPlot) = pgfx_plot.the_plot.elements[1].elements[1].contents
|
function pgfx_axes(pgfx_plot::PGFPlotsXPlot)
|
||||||
|
gp = pgfx_plot.the_plot.elements[1]
|
||||||
|
return gp isa PGFPlotsX.GroupPlot ? gp.elements[1].contents : gp
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
function surface_to_vecs(x::AVec, y::AVec, s::Union{AMat, Surface})
|
function surface_to_vecs(x::AVec, y::AVec, s::Union{AMat, Surface})
|
||||||
a = Array(s)
|
a = Array(s)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user