Login  Register

Bottom margin of plot is to small

Posted by Michael Entrup on Aug 19, 2015; 8:38am
URL: http://imagej.273.s1.nabble.com/Bottom-margin-of-plot-is-to-small-tp5014065.html

Hi,

when I run the following macro, the label of the x-axis is cut off:

        x = Array.getSequence(5);
        Plot.create("Example Plot", "q, y, g, j", "q, y, g, j", x, x);

Increasing BOTTOM_MARGIN (ij.gui.Plot.java line 110) from 37 to 42 fixes
the problem. I tested this value with different combinations of font
size and plot size.

Is there a way to fix such problems by myself and make a pull request?
The ImageJA repository [1] does not allow me to make pull requests.

Best regards
Michael


[1] https://github.com/imagej/ImageJA

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html