Recipes with more inputs

using Pkg
using Plots
using Interact
using RecipesBase

md=0:1:50;
gamma=rand(51,1).+104;
res=rand(51,1).+1300;
sp=rand(51,1).-100;
den=rand(51,1).+2.65
ntr=rand(51,1);

mutable struct omeg
       depth::Array{Float64}
       gammaray::Array{Float64}
        sp::Array{Float64}
        from::Float64
        to::Float64
end


@recipe f(t::omeg) = t.depth, t.gammaray, t.sp, t.from, t.to


@recipe function f(t::omeg)
    layout:= @layout [track1 track2]
   xlim := (t.from,t.to) 
        @series begin
        seriestype := :path
        seriescolor := :green
        subplot := 1
        t.depth, t.gammaray
    end
    
            @series begin
        seriestype := :path
        seriescolor := :red
        subplot := 2
        t.depth, t.sp
    end
    
end 

well1=omeg(md,gamma,sp,5,40)

plot(well1)

aaaaa

How could I put some inputs/attributs directly to plot() function. For example modify the x lims like plot(well1,xlim=(10,30))