Skip to content
Snippets Groups Projects
Commit 5696d274 authored by HongKee Moon's avatar HongKee Moon
Browse files

Shows sequence character in IUPred2A plot

parent 67947912
No related branches found
No related tags found
No related merge requests found
......@@ -22,17 +22,29 @@ export default {
{
y: this.score,
x: _.range(1, this.score.length + 1),
text: this.x.split(''),
// x: this.x,
line: {
color: '#5e849e',
width: 3,
shape: "line"
},
type: 'scatter'
type: 'scatter',
mode: 'lines'
}
],
layout: {
title: 'UIPred2A Plot',
xaxis: {title: 'Position'},
xaxis: {
title: 'Position'
// tickmode: 'array', tickvals: _.range(1, this.score.length + 1),
// ticktext: this.x.split(''),
// tickformatstops: [
// {dtickrange: [0, 50], value: _.range(1, this.score.length + 1)},
// {dtickrange: [50, 100], value: _.range(1, this.score.length + 1, 3)},
// {dtickrange: [100, 500], value: _.range(1, this.score.length + 1, 5)}
// ]
},
yaxis: {title: 'Score'}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment