heliosdrm / GRUtils.jl

Tools for using the GR framework in Julia
Other
31 stars 6 forks source link

Subplots and Label position. #66

Open kojix2 opened 4 years ago

kojix2 commented 4 years ago

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

heliosdrm commented 4 years ago

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)