You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
functionplot_makie!(scene, data::StructArray{T,N,NT,Tu}, u::Union{Nothing, Unitful.FreeUnits}=u"kpc"; kw...) where T<:AbstractParticle3Dwhere N where NT where Tu
105
-
plot_makie!(scene, data.Pos, u; kw...)
105
+
functionplot_makie!(fig, data::StructArray{T,N,NT,Tu}, u::Union{Nothing, Unitful.FreeUnits}=u"kpc"; kw...) where T<:AbstractParticle3Dwhere N where NT where Tu
106
+
plot_makie!(fig, data.Pos, u; kw...)
106
107
end
107
108
108
-
functionplot_makie!(scene, data::Union{Array{T,N}, StructArray{T,N,NT,Tu}}, collection::Collection, u::Union{Nothing, Unitful.FreeUnits}=u"kpc"; kw...) where T<:AbstractParticle3Dwhere N where NT where Tu
109
+
functionplot_makie!(fig, data::Union{Array{T,N}, StructArray{T,N,NT,Tu}}, collection::Collection, u::Union{Nothing, Unitful.FreeUnits}=u"kpc"; kw...) where T<:AbstractParticle3Dwhere N where NT where Tu
109
110
d =filter(p->p.Collection == collection, data)
110
111
ifisempty(d)
111
112
@warn"No $collection particle found."
112
113
returnnothing
113
114
else
114
-
plot_makie!(scene, d, u; kw...)
115
+
plot_makie!(fig, d, u; kw...)
115
116
end
116
117
end
117
118
119
+
functionplot_makie!(fig, data::StructArray{T,N,NT,Tu}, u::Union{Nothing, Unitful.FreeUnits}=u"kpc"; kw...) where T<:AbstractPoint3Dwhere N where NT where Tu
0 commit comments