basecurve: fixed a bug in loglogscale drawing.