Skip to content

Commit efbf53d

Browse files
Merge pull request #7 from haotian127/master
update HL's dissertation figures and a couple of small fixes
2 parents a5c8ad9 + f85ec9c commit efbf53d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+188
-67
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "MultiscaleGraphSignalTransforms"
22
uuid = "cc44fc10-d0fb-5545-af72-ba1cb661a341"
33
authors = ["Naoki Saito <saito@math.ucdavis.edu>", "Yiqun Shao <shaoyiqun1992@gmail.com>", "Haotian Li <htsli@ucdavis.edu>"]
4-
version = "1.5.1"
4+
version = "1.5.2"
55

66
[deps]
77
Arpack = "7d9fca2a-8960-54d3-9f78-7d1dccf2cb97"

src/LP-NGWP.jl

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,3 +247,49 @@ function const_meyer_wavelets(𝚽, Uf; idx = 1:size(Uf, 1))
247247
Wavelets = varimax(B)
248248
return Wavelets
249249
end
250+
251+
"""
252+
lp_ngwp_analysis(G::GraphSig, 𝚽::Matrix{Float64}, W_dual::SparseMatrixCSC{Float64, Int64},
253+
GP_dual::GraphPart; ϵ::Float64 = 0.3)
254+
255+
perform the LP-NGWP transform of the graph signal(s) `G.f`.
256+
257+
# Input Arguments
258+
- `G::GraphSig`: a GraphSig object
259+
- `𝚽::Matrix{Float64}`: graph Laplacian eigenvectors
260+
- `W_dual::SparseMatrixCSC{Float64, Int64}`: weight matrix of the dual graph
261+
- `GP_dual::GraphPart`: GraphPart object of the dual graph
262+
263+
# Output Argument
264+
- `wavelet_packet::Array{Float64,3}`: the lapped NGWP dictionary. The first
265+
index is for selecting wavelets at a fixed level; the second index is for
266+
selecting the level `j`; the third index is for selecting elements in the
267+
wavelet vector.
268+
269+
"""
270+
function lp_ngwp_analysis(G::GraphSig, 𝚽::Matrix{Float64}, W_dual::SparseMatrixCSC{Float64, Int64},
271+
GP_dual::GraphPart; ϵ::Float64 = 0.3)
272+
rs = GP_dual.rs
273+
inds = GP_dual.inds
274+
(N, jmax) = Base.size(inds)
275+
fcols = size(G.f, 2)
276+
277+
GP_dual.tag = zeros(Int, N, jmax)
278+
GP_dual.tag[:, 1] = Vector{Int}(0:(N - 1))
279+
280+
Uf = Matrix{Float64}(I, N, N)
281+
used_node = Set()
282+
283+
dmatrix = zeros(N, jmax, fcols)
284+
dmatrix[:, 1, :] = G.f
285+
for j = 2:jmax
286+
regioncount = count(!iszero, rs[:, j]) - 1
287+
keep_folding!(Uf, used_node, W_dual, GP_dual; ϵ = ϵ, j = j - 1)
288+
for r = 1:regioncount
289+
indr = rs[r, j]:(rs[r + 1, j] - 1)
290+
GP_dual.tag[indr, j] = Vector{Int}(0:(length(indr) - 1))
291+
dmatrix[indr, j, :] = const_meyer_wavelets(𝚽, Uf; idx = inds[indr, j])' * G.f
292+
end
293+
end
294+
return dmatrix
295+
end

src/MultiscaleGraphSignalTransforms.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export natural_eigdist
5252
export SunFlowerGraph, dualgraph
5353
export pc_ngwp, pairclustering
5454
export vm_ngwp, varimax
55-
export lp_ngwp, rising_cutoff, find_pairinds, pair_inds_shadding
55+
export lp_ngwp, rising_cutoff, find_pairinds, pair_inds_shadding, lp_ngwp_analysis
5656
export LPHGLET_Synthesis, LPHGLET_Analysis_All, HGLET_dictionary, LPHGLET_dictionary
5757
export unitary_folding_operator, keep_folding!
5858
export ngwp_analysis, ngwp_bestbasis, NGWP_jkl

src/helpers.jl

Lines changed: 40 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -121,52 +121,74 @@ SCATTER\\_GPLOT!(X; ...) adds a plot to `current` one.
121121
122122
"""
123123
function scatter_gplot(X; marker = nothing, ms = 4, plotOrder = :normal, c = :viridis)
124-
dim = size(X,2)
125-
if marker != nothing && plotOrder != :normal
126-
if plotOrder == :s2l
124+
N, dim = size(X)
125+
if marker != nothing
126+
if size(marker) == (N,) || size(marker) == (N, 1)
127+
marker = marker[:] # reshape N x 1 matrix to a vector of length N
128+
else
129+
error("marker only accepts a vector of length $(N) or a matrix of size $(N) x 1.")
130+
end
131+
if plotOrder == :normal
132+
idx = 1:N
133+
elseif plotOrder == :s2l
127134
idx = sortperm(marker)
128135
elseif plotOrder == :l2s
129-
idx = sortperm(marker, rev=true)
136+
idx = sortperm(marker, rev = true)
130137
else
131-
print("Error: plotOrder only supports for :normal, :s2l, or :l2s.")
138+
error("plotOrder only supports for :normal, :s2l, or :l2s.")
132139
end
133-
X = X[idx,:]
140+
X = X[idx, :]
134141
marker = marker[idx]
135142
if length(ms) > 1
136143
ms = ms[idx]
137144
end
138145
end
139146
if dim == 2
140-
scatter(X[:,1],X[:,2], marker_z = marker, ms = ms, c = c, legend = false, mswidth = 0, cbar = true, aspect_ratio = 1, grid = false)
147+
scatter(X[:, 1], X[:, 2], marker_z = marker, ms = ms, c = c,
148+
legend = false, mswidth = 0, cbar = true, aspect_ratio = 1,
149+
grid = false)
141150
elseif dim == 3
142-
scatter(X[:,1],X[:,2],X[:,3], marker_z = marker, ms = ms, c = c, legend = false, mswidth = 0, cbar = true, aspect_ratio = 1, grid = false)
151+
scatter(X[:, 1], X[:, 2], X[:, 3], marker_z = marker, ms = ms, c = c,
152+
legend = false, mswidth = 0, cbar = true, aspect_ratio = 1,
153+
grid = false)
143154
else
144-
print("Dimension Error: scatter_gplot only supports for 2-dim or 3-dim scatter plots.")
155+
error("Dimension Error: scatter_gplot only supports for 2-dim or 3-dim scatter plots.")
145156
end
146157
end
147158

148159
function scatter_gplot!(X; marker = nothing, ms = 4, plotOrder = :normal, c = :viridis)
149-
dim = size(X,2)
150-
if marker != nothing && plotOrder != :normal
151-
if plotOrder == :s2l
160+
N, dim = size(X)
161+
if marker != nothing
162+
if size(marker) == (N,) || size(marker) == (N, 1)
163+
marker = marker[:] # reshape N x 1 matrix to a vector of length N
164+
else
165+
error("marker only accepts a vector of length $(N) or a matrix of size $(N) x 1.")
166+
end
167+
if plotOrder == :normal
168+
idx = 1:N
169+
elseif plotOrder == :s2l
152170
idx = sortperm(marker)
153171
elseif plotOrder == :l2s
154-
idx = sortperm(marker, rev=true)
172+
idx = sortperm(marker, rev = true)
155173
else
156-
print("Error: plotOrder only supports for :normal, :s2l, or :l2s.")
174+
error("plotOrder only supports for :normal, :s2l, or :l2s.")
157175
end
158-
X = X[idx,:]
176+
X = X[idx, :]
159177
marker = marker[idx]
160178
if length(ms) > 1
161179
ms = ms[idx]
162180
end
163181
end
164182
if dim == 2
165-
scatter!(X[:,1],X[:,2], marker_z = marker, ms = ms, c = c, legend = false, mswidth = 0, cbar = true, aspect_ratio = 1, grid = false)
183+
scatter!(X[:, 1], X[:, 2], marker_z = marker, ms = ms, c = c,
184+
legend = false, mswidth = 0, cbar = true, aspect_ratio = 1,
185+
grid = false)
166186
elseif dim == 3
167-
scatter!(X[:,1],X[:,2],X[:,3], marker_z = marker, ms = ms, c = c, legend = false, mswidth = 0, cbar = true, aspect_ratio = 1, grid = false)
187+
scatter!(X[:, 1], X[:, 2], X[:, 3], marker_z = marker, ms = ms, c = c,
188+
legend = false, mswidth = 0, cbar = true, aspect_ratio = 1,
189+
grid = false)
168190
else
169-
print("Dimension Error: scatter_gplot! only supports for 2-dim or 3-dim scatter plots.")
191+
error("Dimension Error: scatter_gplot! only supports for 2-dim or 3-dim scatter plots.")
170192
end
171193
end
172194

989 Bytes
1.85 KB

test/dissertations/htli/scripts/Figure10.8.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ SGWT_dual = (SGWT * SGWT') \ SGWT
88
f = digit_img[:]
99

1010
important_idx = sortperm((SGWT' * f).^2; rev = true)
11-
plot(layout = Plots.grid(10,10), size = (2300, 2200))
11+
plot(layout = Plots.grid(10,10), size = (2300, 2800))
1212
for i = 1:100
1313
grid_vector_plot!(important_idx[i], i, SGWT)
1414
if i == 90

test/dissertations/htli/scripts/Figure10.9.jl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,15 @@ f = digit_img[:]
99

1010
important_idx = sortperm((rNGWF' * f).^2; rev = true)
1111
red_box_inds = [41, 43, 66, 69, 71, 73, 75, 84, 85, 86, 89, 99]
12-
plot(layout = Plots.grid(10,10), size = (2300, 2200))
12+
orange_box_inds = [40, 53, 54, 55, 72]
13+
plot(layout = Plots.grid(10,10), size = (2300, 2800))
1314
for i = 1:100
1415
plot!(clims = (-0.002, 0.02))
1516
grid_vector_plot!(important_idx[i], i, rNGWF)
1617
if i in red_box_inds
1718
plot_square!(Nx, Ny; subplot = i)
19+
elseif i in orange_box_inds
20+
plot_square!(Nx, Ny; subplot = i, c = :orange)
1821
end
1922
end
2023
plt = current()

test/dissertations/htli/scripts/Figure4.1.jl

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,33 @@ gr(dpi = 200)
44
## (a) P64
55
include("setups/path64.jl")
66
ρ1 = generate_ROT_TSD_ratio(nsim, 𝚽, ∇𝚽, 𝛌, Q)
7-
plt = ROT_TSD_ratio_histogram(ρ1)
8-
savefig(plt, "../figs/Path64_ROT_TSD.png")
7+
# plt = ROT_TSD_ratio_histogram(ρ1)
8+
# savefig(plt, "../figs/Path64_ROT_TSD.png")
99

1010
## (b) P₇ x P₃
1111
include("setups/grid7x3.jl")
1212
ρ2 = generate_ROT_TSD_ratio(nsim, 𝚽, ∇𝚽, 𝛌, Q)
13-
plt = ROT_TSD_ratio_histogram(ρ2)
14-
savefig(plt, "../figs/Grid7x3_ROT_TSD.png")
13+
# plt = ROT_TSD_ratio_histogram(ρ2)
14+
# savefig(plt, "../figs/Grid7x3_ROT_TSD.png")
1515

1616
## (c) Erdos Rényi
1717
include("setups/er.jl")
1818
ρ3 = generate_ROT_TSD_ratio(nsim, 𝚽, ∇𝚽, 𝛌, Q)
19-
plt = ROT_TSD_ratio_histogram(ρ3)
20-
savefig(plt, "../figs/Erdos_Renyi_ROT_TSD.png")
19+
# plt = ROT_TSD_ratio_histogram(ρ3)
20+
# savefig(plt, "../figs/Erdos_Renyi_ROT_TSD.png")
2121

2222
## (d) weighted RGC100
2323
include("setups/rgc100.jl")
2424
ρ4 = generate_ROT_TSD_ratio(nsim, 𝚽, ∇𝚽, 𝛌, Q; edge_length = edge_length)
25-
plt = ROT_TSD_ratio_histogram(ρ4)
26-
savefig(plt, "../figs/wRGC100_ROT_TSD.png")
25+
# plt = ROT_TSD_ratio_histogram(ρ4)
26+
# savefig(plt, "../figs/wRGC100_ROT_TSD.png")
27+
28+
## boxplot
29+
plt = boxplot(["(a) Path" "(b) Grid" "(c) ER" "(d) RGC100"], [ρ1, ρ2, ρ3, ρ4];
30+
legend = false, frame = :box, ylim = [0.9, 1.9], tickfontsize = 11,
31+
outliers = true, grid = false, range = 3, lw = 1, size = (800, 600),
32+
ylab = "ρ", yguidefontsize = 14)
33+
savefig(plt, "../figs/ROT_TSD_boxplots.png")
2734

2835
## Table 4.1
2936
display_basic_stats([ρ1, ρ2, ρ3, ρ4])
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
cd(@__DIR__); include("setups/simpletree.jl");
2-
gr(dpi=200)
2+
pyplot(dpi=200)
33

44
for l = 97:100
5+
local plt
56
plot(size = (200, 500), framestyle = :none)
67
gplot!(W, X, width = 1)
7-
scatter_gplot!(X; marker = 𝚽[:, l])
8+
scatter_gplot!(X; marker = 𝚽[:, l], ms = 5)
89
plt = plot!(cbar = false, clims = (-0.3, 0.3))
910
savefig(plt, "../figs/SimpleTree_eigenvector$(l-1)_red.png")
1011
end

test/dissertations/htli/scripts/Figure5.8.jl

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ pyplot(dpi = 200)
44
## (a)
55
plot(size = (200,500))
66
gplot!(W, X, width = 1)
7-
scatter_gplot!(X[ib1, :]; c = :pink)
8-
scatter_gplot!(X[ib2, :]; c = :orange)
9-
scatter_gplot!(X[ib3, :]; c = :green)
10-
scatter_gplot!(X[ib4, :]; c = :yellow)
11-
scatter_gplot!(X[ijc, :]; c = :red)
12-
scatter_gplot!(X[ir, :]; c = :grey)
7+
scatter_gplot!(X[ib1, :]; c = :pink, ms = 5)
8+
scatter_gplot!(X[ib2, :]; c = :orange, ms = 5)
9+
scatter_gplot!(X[ib3, :]; c = :green, ms = 5)
10+
scatter_gplot!(X[ib4, :]; c = :yellow, ms = 5)
11+
scatter_gplot!(X[ijc, :]; c = :red, ms = 5)
12+
scatter_gplot!(X[ir, :]; c = :grey, ms = 5)
1313
plot!(framestyle = :none)
1414
plot!([0, 0], [0.3, 2], line = :arrow, c = :black, lw = 1)
1515
plt = annotate!(0, 3, text("root", 9))
@@ -19,12 +19,12 @@ savefig(plt, "../figs/SimpleTree.png")
1919
## (b)
2020
plot(size = (200, 500))
2121
gplot!(Ws, Xs, width = 1)
22-
scatter_gplot!(Xs[11:11, :]; c = :pink, ms = 4)
23-
scatter_gplot!(Xs[10:10, :]; c = :orange, ms = 4)
24-
scatter_gplot!(Xs[13:13, :]; c = :green, ms = 4)
25-
scatter_gplot!(Xs[12:12, :]; c = :yellow, ms = 4)
26-
scatter_gplot!(Xs[[2,4,6,8], :]; c = :red, ms = 4)
27-
scatter_gplot!(Xs[[1,3,5,7,9], :]; c = :grey, ms = 4)
22+
scatter_gplot!(Xs[11:11, :]; c = :pink, ms = 5)
23+
scatter_gplot!(Xs[10:10, :]; c = :orange, ms = 5)
24+
scatter_gplot!(Xs[13:13, :]; c = :green, ms = 5)
25+
scatter_gplot!(Xs[12:12, :]; c = :yellow, ms = 5)
26+
scatter_gplot!(Xs[[2,4,6,8], :]; c = :red, ms = 5)
27+
scatter_gplot!(Xs[[1,3,5,7,9], :]; c = :grey, ms = 5)
2828
plt = plot!(framestyle = :none, xlims = [minimum(X[:, 1]), maximum(X[:, 1])],
2929
ylims = [minimum(X[:, 2]), maximum(X[:, 2])])
3030
savefig(plt, "../figs/SimpleTree_simplified.png")

test/dissertations/htli/scripts/Figure5.9.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,30 +5,30 @@ pyplot(dpi = 200)
55
println("l = $(ieb1[end] - 1) and λₗ = $(𝛌[ieb1[end] - 1])")
66
plot(size = (200, 500), framestyle = :none)
77
gplot!(W, X, width = 1)
8-
scatter_gplot!(X; marker = 𝚽[:, ieb1[end]])
8+
scatter_gplot!(X; marker = 𝚽[:, ieb1[end]], ms = 5)
99
plt = plot!(cbar = false, clims = (-0.3, 0.3))
1010
savefig(plt, "../figs/SimpleTree_eigenvector$(ieb1[end]-1)_pink.png")
1111

1212
## (b)
1313
println("l = $(ieb2[end] - 1) and λₗ = $(𝛌[ieb2[end] - 1])")
1414
plot(size = (200, 500), framestyle = :none)
1515
gplot!(W, X, width = 1)
16-
scatter_gplot!(X; marker = 𝚽[:, ieb2[end]])
16+
scatter_gplot!(X; marker = 𝚽[:, ieb2[end]], ms = 5)
1717
plt = plot!(cbar = false, clims = (-0.3, 0.3))
1818
savefig(plt, "../figs/SimpleTree_eigenvector$(ieb2[end]-1)_orange.png")
1919

2020
## (c)
2121
println("l = $(ieb3[end] - 1) and λₗ = $(𝛌[ieb3[end] - 1])")
2222
plot(size = (200, 500), framestyle = :none)
2323
gplot!(W, X, width = 1)
24-
scatter_gplot!(X; marker = 𝚽[:, ieb3[end]])
24+
scatter_gplot!(X; marker = 𝚽[:, ieb3[end]], ms = 5)
2525
plt = plot!(cbar = false, clims = (-0.3, 0.3))
2626
savefig(plt, "../figs/SimpleTree_eigenvector$(ieb3[end]-1)_green.png")
2727

2828
## (d)
2929
println("l = $(ieb4[end] - 1) and λₗ = $(𝛌[ieb4[end] - 1])")
3030
plot(size = (200, 500), framestyle = :none)
3131
gplot!(W, X, width = 1)
32-
scatter_gplot!(X; marker = 𝚽[:, ieb4[end]])
32+
scatter_gplot!(X; marker = 𝚽[:, ieb4[end]], ms = 5)
3333
plt = plot!(cbar = false, clims = (-0.3, 0.3))
3434
savefig(plt, "../figs/SimpleTree_eigenvector$(ieb4[end]-1)_yellow.png")
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
cd(@__DIR__); include("setups/path512.jl")
2+
pyplot(dpi = 200)
3+
4+
## construct full HGLET and Lapped-HGLET dictionaries
5+
@time HGLET_dic = HGLET_dictionary(GP, G_Sig; method = :L)
6+
@time LPHGLET_dic = LPHGLET_dictionary(GP, G_Sig; method = :L, ϵ = 0.3)
7+
8+
j = 3; k = 2; l = 6;
9+
WH = HGLET_dic[GP.rs[k, j]:(GP.rs[k + 1, j] - 1), j, :]'
10+
WlH = LPHGLET_dic[GP.rs[k, j]:(GP.rs[k + 1, j] - 1), j, :]'
11+
12+
plt = plot(WH[:, l], c = :black, grid = false, frame = :box, lw = 0.8,
13+
legendfontsize = 11, legend = false, size = (500, 400), ylim = [-0.15, 0.15])
14+
xticks!([1; 64:64:N], vcat(string(1), [string(k) for k in 64:64:N]))
15+
savefig(plt, "../figs/Path512_HGLET_j$(j-1)k$(k-1)l$(l-1).png")
16+
17+
plt = plot(WlH[:, l], c = :black, grid = false, frame = :box, lw = 0.8,
18+
legendfontsize = 11, legend = false, size = (500, 400), ylim = [-0.15, 0.15])
19+
xticks!([1; 64:64:N], vcat(string(1), [string(k) for k in 64:64:N]))
20+
savefig(plt, "../figs/Path512_LPHGLET_j$(j-1)k$(k-1)l$(l-1).png")

test/dissertations/htli/scripts/Figure8.9.jl

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,38 @@ gr(dpi = 200)
1010
T = [(2, 1, 1), (2, 1, 12), (3, 1, 3), (3, 1, 5),
1111
(4, 5, 6), (6, 23, 3), (7, 5, 2), (8, 15, 1)]
1212

13-
for (j, k, l) in T
13+
XLs = [
14+
[-50, 50], [-50, 50], [-110, 40], [-110, 40],
15+
[-20, 50], [50, 120], [-80, -20], [-40, -10]
16+
]
17+
YLs = [
18+
[-50, 50], [-50, 50], [-50, 100], [-50, 100],
19+
[-50, 20], [-70, 0], [-90, -30], [-160, -130]
20+
]
21+
22+
for i in 1:length(T)
23+
(j, k, l) = T[i]
1424
𝚽H = HGLET_dic[GP.rs[k, j]:(GP.rs[k + 1, j] - 1), j, :]'
1525
𝚽lH = LPHGLET_dic[GP.rs[k, j]:(GP.rs[k + 1, j] - 1), j, :]'
1626
p1 = gplot(W, X; width = 1)
17-
scatter_gplot!(X; marker = 𝚽H[:, l], plotOrder = :s2l)
27+
scatter_gplot!(X; marker = 𝚽H[:, l], plotOrder = :s2l, ms = 5)
1828
plot!(xlims = [-180, 220], xlabel = "x(μm)", ylabel = "y(μm)", frame = :box, cbar = false)
1929
plot!(left_margin = 3mm, bottom_margin = 3mm, clims = (-0.05, 0.05))
2030
p2 = gplot(W, X; width = 1)
21-
scatter_gplot!(X; marker = 𝚽lH[:, l], plotOrder = :s2l)
31+
scatter_gplot!(X; marker = 𝚽lH[:, l], plotOrder = :s2l, ms = 5)
2232
plot!(xlims = [-180, 220], xlabel = "x(μm)", ylabel = "y(μm)", frame = :box, cbar = false)
2333
plot!(left_margin = 3mm, bottom_margin = 3mm, clims = (-0.05, 0.05))
24-
plt = plot(p1, p2, size = (800, 400), layout = Plots.grid(1, 2))
34+
plt = plot(p1, p2, size = (640, 300), layout = Plots.grid(1, 2),
35+
xlims = XLs[i], ylims = YLs[i])
36+
# xlims = [-120, 120], ylims = [-150, 150])
37+
# gplot(W, X; width = 1)
38+
# ord = :s2l
39+
# if i == 8
40+
# ord = :l2s
41+
# end
42+
# scatter_gplot!(X; marker = 𝚽lH[:, l] - 𝚽H[:, l], plotOrder = ord, ms = 4)
43+
# plot!(xlabel = "x(μm)", ylabel = "y(μm)", frame = :box, cbar = true)
44+
# plot!(left_margin = 3mm, bottom_margin = 3mm, right_margin = 3mm)
45+
# plt = plot!(size = (500, 500))
2546
savefig(plt, "../figs/RGC100_HGLET_LPHGLET_j$(j-1)k$(k-1)l$(l-1).png")
2647
end

test/dissertations/htli/scripts/Figure9.2.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ savefig(plt, "../figs/SunFlower_barbara_feye.png")
1818
DVEC = getall_expansioncoeffs2(G_Sig, GP_dual, GP_dual_Lsym, VM_NGWP, PC_NGWP, LP_NGWP,
1919
VM_NGWP_Lsym, PC_NGWP_Lsym, LP_NGWP_Lsym, 𝚽, 𝚽sym)
2020
approx_error_plot2(DVEC);
21-
plt = plot!(xguidefontsize = 14, yguidefontsize = 14, legendfontsize = 11)
21+
plt = plot!(xguidefontsize = 14, yguidefontsize = 14, legendfontsize = 11, size = (600, 600))
2222
savefig(plt, "../figs/SunFlower_barbara_feye_DAG_approx.png")

test/dissertations/htli/scripts/Figure9.4.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ savefig(plt, "../figs/SunFlower_barbara_ftrouser.png")
1818
DVEC = getall_expansioncoeffs2(G_Sig, GP_dual, GP_dual_Lsym, VM_NGWP, PC_NGWP, LP_NGWP,
1919
VM_NGWP_Lsym, PC_NGWP_Lsym, LP_NGWP_Lsym, 𝚽, 𝚽sym)
2020
approx_error_plot2(DVEC);
21-
plt = plot!(xguidefontsize = 14, yguidefontsize = 14, legendfontsize = 11)
21+
plt = plot!(xguidefontsize = 14, yguidefontsize = 14, legendfontsize = 11, size = (600, 600))
2222
savefig(plt, "../figs/SunFlower_barbara_ftrouser_DAG_approx.png")

0 commit comments

Comments
 (0)