3d plot contours, fixed startup script
This commit is contained in:
parent
e5b796fce0
commit
c2ffbc8275
735
Manifest.toml
735
Manifest.toml
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,12 @@
|
|||||||
[deps]
|
[deps]
|
||||||
|
CairoMakie = "13f3f980-e62b-5c42-98c6-ff1f3baf88f0"
|
||||||
|
Colors = "5ae59095-9a9b-59fe-a467-6f913c188581"
|
||||||
Genie = "c43c736e-a2d1-11e8-161f-af95117fbd1e"
|
Genie = "c43c736e-a2d1-11e8-161f-af95117fbd1e"
|
||||||
GenieFramework = "a59fdf5c-6bf0-4f5d-949c-a137c9e2f353"
|
GenieFramework = "a59fdf5c-6bf0-4f5d-949c-a137c9e2f353"
|
||||||
|
Libz = "2ec943e9-cfe8-584d-b93d-64dcb6d567b7"
|
||||||
|
NaturalSort = "c020b1a1-e9b0-503a-9c33-f039bfc54a85"
|
||||||
|
PlotlyBase = "a03496cd-edff-5a9b-9e67-9cda94a718b5"
|
||||||
|
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
|
||||||
julia_mzML_imzML = "38eb50d3-2fb6-4afa-992a-964ed8562ed9"
|
julia_mzML_imzML = "38eb50d3-2fb6-4afa-992a-964ed8562ed9"
|
||||||
|
|
||||||
[Genie]
|
[Genie]
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
A Graphical User Interface for IMS in Julia: https://github.com/CINVESTAV-LABI/julia_mzML_imzML
|
A Graphical User Interface for IMS in Julia: https://github.com/CINVESTAV-LABI/julia_mzML_imzML
|
||||||
|
|
||||||
## Local Installation
|
## Local Installation
|
||||||
1. Make sure you have Julia installed, if not, follow the next installation guide for [juliaup](https://github.com/JuliaLang/juliaup) (recommended) or [julia] (https://julialang.org/downloads/platform/)
|
1. Make sure you have Julia installed, if not, follow the next installation guide for [juliaup](https://github.com/JuliaLang/juliaup) (recommended) or [julia](https://julialang.org/downloads/platform/)
|
||||||
2. Access the repository using this link:<br>
|
2. Access the repository using this link:<br>
|
||||||
https://github.com/Pixelguy14/Julia_msi_GUI<br>
|
https://github.com/Pixelguy14/Julia_msi_GUI<br>
|
||||||
click "<b><> Code</b>" button then hit "<b>Download ZIP</b>"<br>
|
click "<b><> Code</b>" button then hit "<b>Download ZIP</b>"<br>
|
||||||
|
|||||||
11
app.jl
11
app.jl
@ -138,7 +138,16 @@ end
|
|||||||
)
|
)
|
||||||
|
|
||||||
# Dummy 3D surface plot
|
# Dummy 3D surface plot
|
||||||
trace3D = PlotlyBase.surface(x=[1:10], y=[1:10], z=[1:10], colorscale="Viridis")
|
x = 1:10
|
||||||
|
y = 1:10
|
||||||
|
z = [sin(i * j / 10) for i in x, j in y]
|
||||||
|
trace3D = PlotlyBase.surface(x=x, y=y, z=z,
|
||||||
|
contours_z=attr(
|
||||||
|
show=true,
|
||||||
|
usecolormap=true,
|
||||||
|
highlightcolor="limegreen",
|
||||||
|
project_z=true
|
||||||
|
), colorscale="Viridis")
|
||||||
# Create conection to frontend
|
# Create conection to frontend
|
||||||
@out plotdata3d = [trace3D]
|
@out plotdata3d = [trace3D]
|
||||||
@out plotlayout3d = layout3D
|
@out plotlayout3d = layout3D
|
||||||
|
|||||||
@ -1,8 +1,10 @@
|
|||||||
using Pkg
|
using Pkg
|
||||||
Pkg.activate(".")
|
Pkg.activate(".")
|
||||||
|
Pkg.add("Libz") ; Pkg.add("PlotlyBase") ; Pkg.add("CairoMakie") ; Pkg.add("Colors") ; Pkg.add("Statistics") ; Pkg.add("NaturalSort")
|
||||||
|
Pkg.add(url="https://github.com/CINVESTAV-LABI/julia_mzML_imzML") # With this we ensure it uses the latest library iteration
|
||||||
Pkg.instantiate()
|
Pkg.instantiate()
|
||||||
Pkg.update()
|
Pkg.update()
|
||||||
# Pkg.add(url="https://github.com/CINVESTAV-LABI/julia_mzML_imzML") # with this we ensure it uses the latest library iteration
|
|
||||||
using Genie
|
using Genie
|
||||||
|
|
||||||
# Load and configure Genie
|
# Load and configure Genie
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user