fix image axis limits
This commit is contained in:
parent
05fe220102
commit
79e978aac9
@ -1191,7 +1191,7 @@ function gr_display(sp::Subplot{GRBackend}, w, h, viewport_canvas)
|
|||||||
|
|
||||||
elseif st == :image
|
elseif st == :image
|
||||||
z = transpose_z(series, series[:z].surf, true)'
|
z = transpose_z(series, series[:z].surf, true)'
|
||||||
w, h = length(x), length(y)
|
w, h = size(z)
|
||||||
xinds = sort(1:w, rev = xaxis[:flip])
|
xinds = sort(1:w, rev = xaxis[:flip])
|
||||||
yinds = sort(1:h, rev = yaxis[:flip])
|
yinds = sort(1:h, rev = yaxis[:flip])
|
||||||
z = z[xinds, yinds]
|
z = z[xinds, yinds]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user