matplotplusplus icon indicating copy to clipboard operation
matplotplusplus copied to clipboard

Multiplots don't render properly (Overlapped text)

Open remz1337 opened this issue 3 years ago • 5 comments

Bug category

  • [ ] bug - compilation error
  • [ ] bug - compilation warning
  • [x] bug - runtime error
  • [ ] bug - runtime warning
  • [ ] bug - logic error

Describe the bug

Steps to Reproduce Build a multiplot with titles for each subplot Save to any format (JPG, SVG, TEX)

Output

JPG: Genotype Robustness

SVG: image

LaTeX: image

Platform

  • [ ] cross-platform issue - linux
  • [x] cross-platform issue - windows
  • [ ] cross-platform issue - macos

Environment Details:

  • OS: Windows
  • OS Version: 10 x64
  • Compiler: MSVC
  • Compiler version: 19

Additional context

GnuPlot 5.4 patch level 1

remz1337 avatar Jul 16 '21 16:07 remz1337

This issue is probably the same as https://github.com/alandefreitas/matplotplusplus/issues/162

alandefreitas avatar Jul 16 '21 16:07 alandefreitas

Hmm indeed it could be related. I guess it has something to do with the Windows implementation.

remz1337 avatar Jul 16 '21 19:07 remz1337

This issue is also a problem on linux platforms, and it seems to depend on the resolution. Here my examples on 1260 x 1440 pixels and 800 x 450 pixels 1 2 .

carand avatar Jul 19 '22 12:07 carand

I have same problem on mac too ;-)

Nosenzor avatar Aug 14 '22 17:08 Nosenzor

This issue is also a problem on linux platforms, and it seems to depend on the resolution. Here my examples on 1260 x 1440 pixels and 800 x 450 pixels 1 2 .

How did you change the resolution ? I'd like to increase the size of my plots.

Nosenzor avatar Aug 15 '22 08:08 Nosenzor