Revision: 5718
          http://sourceforge.net/p/jump-pilot/code/5718
Author:   ma15569
Date:     2018-03-26 18:07:03 +0000 (Mon, 26 Mar 2018)
Log Message:
-----------
Profile plugin - Limit profile length to max 2d length

Modified Paths:
--------------
    core/trunk/src/org/openjump/core/ui/plugin/raster/ProfileUtils.java

Modified: core/trunk/src/org/openjump/core/ui/plugin/raster/ProfileUtils.java
===================================================================
--- core/trunk/src/org/openjump/core/ui/plugin/raster/ProfileUtils.java 
2018-03-23 09:32:24 UTC (rev 5717)
+++ core/trunk/src/org/openjump/core/ui/plugin/raster/ProfileUtils.java 
2018-03-26 18:07:03 UTC (rev 5718)
@@ -309,6 +309,7 @@
         plot2dA.getAxis(1).setLabelPosition(-0.15, 0.5);
         // change axis title angle relatively to the base of the plot
         plot2dA.getAxis(1).setLabelAngle(-Math.PI / 2);
+        plot2dA.setFixedBounds(0, 0, width);
         return plot2dA;
 
     }


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to