Open mhered opened 1 year ago
This sounds like an issue I have also encountered.
In my case this was an issue with gnuplot multiplots and the "replotonresize" functionality (which is broken for multiplots and only replots one plot [1]). This option has to be disabled per terminal, usually in the terminals UI e.g. for the QT terminal click on the "wrench" icon and ensure "replot on resize" is unchecked (this setting will be remembered so you only have to do this once).
With the unreleased gnuplot 5.5 the CLI option -noreplotonresize
works for both the "qt"2 and "x11" terminals, unfortunately as of gnuplot 5.4 this option only affects the "x11" terminal 2, this could option could be set by the gnuplot backend.
[1]: http://www.gnuplot.info/faq/faq.html section 8.5
In my case this was an issue with gnuplot multiplots and the "replotonresize" functionality (which is broken for multiplots and only replots one plot [1]). This option has to be disabled per terminal, usually in the terminals UI e.g. for the QT terminal click on the "wrench" icon and ensure "replot on resize" is unchecked (this setting will be remembered so you only have to do this once).
This alleviates the issue on resizing. But that does not help when toggling the grid on / off. In that case one of the subplots still disappears. Also zooming in doesn't seem to work for both subplots.
Bug category
Describe the bug
subplot
(similar behaviour occurs also when usingtiledlayout
)Steps to Reproduce
Code:
Output Console output as expected
Platform
Environment Details:
Additional context