theambient
Joined: 27 Mar 2010 Posts: 3
|
Posted: Tue Oct 04, 2011 3:47 am Post subject: Bug found |
|
|
Hi, it seems that i found bug.
if graph is constant than plot2kill displays nothing. as far as i understood this happens because of wrong scale. the lib just gets min and max, in case of const graph they match and we see empty plot with scale [a,a] on x line.
the code to reproduce the bug
Code: |
void main()
{
auto fig = Figure().xLabel("Movie").yLabel("# Watches").title("zipf: " ).gridIntensity(cast(ubyte)200);
fig.addPlot( LineGraph( [101,101] ).pointSymbol('o')
.pointColor(getColor(255, 0, 0)) );
fig.showAsMain();
}
|
P.S. consider to move project to bitbucket / github. |
|