Dependencies updated
This commit is contained in:
parent
0862263fec
commit
eb829a2d03
@ -7,6 +7,7 @@ version = "0.2.0"
|
|||||||
ColorTypes = "3da002f7-5984-5a60-b8a6-cbb66c0b333f"
|
ColorTypes = "3da002f7-5984-5a60-b8a6-cbb66c0b333f"
|
||||||
StructC14N = "5369e15c-9fda-11e8-194c-95a38f2a9483"
|
StructC14N = "5369e15c-9fda-11e8-194c-95a38f2a9483"
|
||||||
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
|
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
|
||||||
|
StatsBase = "2913bbd2-ae8a-5f71-8c99-4fb6c76f3a91"
|
||||||
|
|
||||||
[extras]
|
[extras]
|
||||||
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
|
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
|
||||||
|
|||||||
1
REQUIRE
1
REQUIRE
@ -1,3 +1,4 @@
|
|||||||
julia 0.7
|
julia 0.7
|
||||||
StructC14N 0.2
|
StructC14N 0.2
|
||||||
ColorTypes 0.6.7
|
ColorTypes 0.6.7
|
||||||
|
StatsBase 0.25
|
||||||
|
|||||||
@ -2,7 +2,7 @@ __precompile__(true)
|
|||||||
|
|
||||||
module Gnuplot
|
module Gnuplot
|
||||||
|
|
||||||
using StructC14N, ColorTypes, Printf
|
using StructC14N, ColorTypes, Printf, StatsBase
|
||||||
|
|
||||||
import Base.reset
|
import Base.reset
|
||||||
import Base.quit
|
import Base.quit
|
||||||
@ -1003,13 +1003,13 @@ gpeval(id::Symbol, s::String) = gpeval(id, [s])
|
|||||||
|
|
||||||
|
|
||||||
#---------------------------------------------------------------------
|
#---------------------------------------------------------------------
|
||||||
# function hist(v::Vector{T}; addright=false, closed::Symbol=:left, args...) where T <: AbstractFloat
|
function hist(v::Vector{T}; addright=false, closed::Symbol=:left, args...) where T <: AbstractFloat
|
||||||
# i = findall(isfinite.(v))
|
i = findall(isfinite.(v))
|
||||||
# hh = fit(Histogram, v[i]; closed=closed, args...)
|
hh = fit(Histogram, v[i]; closed=closed, args...)
|
||||||
# if addright == 0
|
if addright == 0
|
||||||
# return PackedDataPlot([hh.edges[1], [hh.weights;0]], "", [], ["w steps"])
|
return PackedDataPlot([hh.edges[1], [hh.weights;0]], "", [], ["w steps"])
|
||||||
# end
|
end
|
||||||
# return PackedDataPlot([hh.edges[1], [0;hh.weights]], "", [], ["w fsteps"])
|
return PackedDataPlot([hh.edges[1], [0;hh.weights]], "", [], ["w fsteps"])
|
||||||
# end
|
end
|
||||||
|
|
||||||
end #module
|
end #module
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user