DrawDoubleLogarithmicGridのxscaleの計算コピペしてr使うの忘れてたわ
// スケールを計算
float xscale = r.Width / (float)Math.Log10(xmax);
float yscale = r.Height / (float)Math.Log10(ymax);