GRUtils.jl icon indicating copy to clipboard operation
GRUtils.jl copied to clipboard

Subplots and Label position.

Open kojix2 opened this issue 4 years ago • 1 comments

When I create subplots, the labels on the 3D graphs are not in the correct position. This occurs not only in GRUtils, but also in GR.

import GR
import GRUtils
import RDatasets
vo = RDatasets.dataset("datasets", "volcano")
vo = Matrix(vo)
GR.wireframe(vo)
GRUtils.subplot(2,2,1)
GRUtils.wireframe(vo, xlabel="X", ylabel="Y", zlabel="Z")
GRUtils.subplot(2,2,2)
GRUtils.wireframe(vo, xlabel="X", ylabel="Y", zlabel="Z")
GRUtils.subplot(2,2,3)
GRUtils.wireframe(vo, xlabel="X", ylabel="Y", zlabel="Z")
GRUtils.subplot(2,2,4)
GRUtils.wireframe(vo, xlabel="X", ylabel="Y", zlabel="Z")

image

kojix2 avatar Jun 21 '20 04:06 kojix2

Thanks. I think this should be solved either in GR.jl, or maybe even in the C library (see my answer in the linked issue on GR.jl)

heliosdrm avatar Jun 21 '20 10:06 heliosdrm