Merge e8e2cecbef9aa28d3824572d8b139ad0b1e20735 into 266d2efde5a8b621c115a9d41409e5ecc0a80ef2

This commit is contained in:
Josef Heinen 2016-06-13 16:31:40 +00:00 committed by GitHub
commit 2c948c01f1

View File

@ -510,7 +510,7 @@ function gr_display(sp::Subplot{GRBackend}, w, h, viewport_canvas)
xaxis[:flip] && (scale |= GR.OPTION_FLIP_X)
yaxis[:flip] && (scale |= GR.OPTION_FLIP_Y)
if scale & GR.OPTION_X_LOG == 0
majorx = 1 #5
majorx = 1
xtick = GR.tick(xmin, xmax) / majorx
else
# log axis
@ -518,7 +518,7 @@ function gr_display(sp::Subplot{GRBackend}, w, h, viewport_canvas)
majorx = 2 # no minor grid lines
end
if scale & GR.OPTION_Y_LOG == 0
majory = 1 #5
majory = 1
ytick = GR.tick(ymin, ymax) / majory
else
# log axis