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 julia
] ]
activate . activate .
add Genie
##(press backspace) ##(press backspace)
using Genie using Genie ; Genie.loadapp() ; up()
Genie.loadapp() ; up()
``` ```
And finally open the port that gets generated to access to the GUI<br /> 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( layoutSpectra = PlotlyBase.Layout(
title = "Spectra Plot", title = "Spectra Plot",
xaxis = PlotlyBase.attr( xaxis = PlotlyBase.attr(
title = "m/z", title = "<i>m/z</i>",
showgrid = true showgrid = true
), ),
yaxis = PlotlyBase.attr( yaxis = PlotlyBase.attr(
title = "Intensity", title = "Intensity",
showgrid = true showgrid = true
), ),
height = 700
) )
traceSpectra = PlotlyBase.scatter(x=[], y=[], mode="lines+markers") traceSpectra = PlotlyBase.scatter(x=[], y=[], mode="lines+markers")
@out plotdata = [traceSpectra] @out plotdata = [traceSpectra]