Skip to content

Commit 6efc22a

Browse files
committed
#4 add svg, pdf output
1 parent 6c75c85 commit 6efc22a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/Jx_postprocess.jl

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,13 @@ for result_i in 2:size(J_ij_R)[1]
317317
end
318318

319319
plot_filename = "Jplot_" * string(base_atom) * "_" *
320-
join(atom2_name_list,",") * "_" * orbital_name * ".html"
320+
join(atom2_name_list,",") * "_" * orbital_name * ".pdf"
321+
322+
println(" Writing Plot:",plot_filename)
323+
Plots.savefig(joinpath(root_dir,plot_filename))
324+
325+
plot_filename = "Jplot_" * string(base_atom) * "_" *
326+
join(atom2_name_list,",") * "_" * orbital_name * ".svg"
321327

322328
println(" Writing Plot:",plot_filename)
323329
Plots.savefig(joinpath(root_dir,plot_filename))

0 commit comments

Comments
 (0)