Please try the following code:
subplot(grid="2x1")
lines(1:10, repeat([1],10), panel=1)
lines(1:10, sin.(1:10), panel=2)
subplot(:show)
The code above fails in GMT 1.41.2. However, adding a limits option resolves the issue.
subplot(grid="2x1")
lines(1:10, repeat([1],10), panel=1, limits=(1,10,0,2))
lines(1:10, sin.(1:10), panel=2)
subplot(:show)
Please try the following code:
The code above fails in GMT 1.41.2. However, adding a
limitsoption resolves the issue.