Revision of plot view

This commit is contained in:
José Julián Sierra Álvarez 2024-09-11 19:24:16 -06:00 committed by GitHub
parent f08366bc12
commit 026b43daee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 3 deletions

View File

@ -11,8 +11,8 @@ Then open a terminal on the directory "JuliaIMZML_GUI" and put the next code: <b
julia
]
activate .
add Genie
##(press backspace)
using Genie
Genie.loadapp() ; up()
using Genie ; Genie.loadapp() ; up()
```
And finally open the port that gets generated to access to the GUI<br />

3
app.jl
View File

@ -51,13 +51,14 @@ using Statistics
layoutSpectra = PlotlyBase.Layout(
title = "Spectra Plot",
xaxis = PlotlyBase.attr(
title = "m/z",
title = "<i>m/z</i>",
showgrid = true
),
yaxis = PlotlyBase.attr(
title = "Intensity",
showgrid = true
),
height = 700
)
traceSpectra = PlotlyBase.scatter(x=[], y=[], mode="lines+markers")
@out plotdata = [traceSpectra]