Skip to content

Commit 33f2122

Browse files
committed
Plot function in LibTest
1 parent 8cf42ae commit 33f2122

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

LibTest/LibTest.jl

+10
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,16 @@ using DataFrames
66
using ANOVAapprox
77
using LinearAlgebra
88
using Random
9+
using Plots
10+
11+
function plotGSIS(f, lambda)
12+
gsis = ANOVAapprox.get_GSI(f, lambda)
13+
label = string.(f.U[2:end])
14+
label = replace.(label, "[" => "{")
15+
label = replace.(label, "]" => "}")
16+
l = length(label)
17+
Plots.plot(gsis, markershape=:utriangle, st=:sticks, xticks = (1:l, label), legend = false)
18+
end
919

1020
function getN1fromN2( N2 )
1121
return (N2 - 1)*(N2 - 1) + 1

0 commit comments

Comments
 (0)