Skip to content

Commit

Permalink
fixed y scale
Browse files Browse the repository at this point in the history
  • Loading branch information
maxibor committed Dec 20, 2019
1 parent 294319c commit 826bcd7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ <h1>Plotting aDNA simulated damage with geometric distribution for ADRSM</h1>
</p>
<form id="form">
<label for="eq">Parameter for geometric distribution:</label>
<input type="number" id="param" step="0.01" min="0.1" max="1" value="0.5" />
<input type="number" id="param" step="0.01" min="0.01" max="1" value="0.5" />
<label for="eq">Sequence size:</label>
<input type="number" id="seqsize" min="20" max="100" value="30" />
<label for="eq">Max probability:</label>
Expand Down Expand Up @@ -78,7 +78,8 @@ <h1>Plotting aDNA simulated damage with geometric distribution for ADRSM</h1>
title: 'nucleotide position'
},
yaxis: {
title: 'probability'
title: 'probability',
range: [0, 1]
}
};
const data = [trace1]
Expand Down

0 comments on commit 826bcd7

Please sign in to comment.