Menu

#49 logarithmic axis miscalculation

open
nobody
General (896)
5
2012-11-27
2002-06-23
No

On VerticalLogarithmicAxis and
HorizontalLogarithmicAxis method
translateJava2DtoValue miscalculation

for example in HorizontalLogarithmicAxis line 292
should be :

return Math.pow(10,
axisMin + ((java2DValue-plotX)/(plotMaxX-
plotX))*(axisMax - axisMin));

instead of

return axisMin + Math.pow(10,
((java2DValue-plotX)/(plotMaxX-plotX))*
(axisMax - axisMin));

Discussion


Log in to post a comment.