Class CustomLayoutExample


  • public class CustomLayoutExample
    extends Object
    Many Glimpse applications can simply use the plots in the package. However, when a custom arrangement of axes and plotting areas is required, low level Glimpse axes and painters can be arranged into any configuration.

    The following example creates a simple side-by-side plot with two plotting areas each with their own x axis and a common y axis. It demonstrates how to use the OpenGL MIG layout, how to create axes and hook them up to mouse and resize events to enable user interaction, and how to combine everything together into a custom Glimpse plot.

    Author:
    ulman
    See Also:
    SimpleLayoutExample
    • Constructor Detail

      • CustomLayoutExample

        public CustomLayoutExample()
    • Method Detail

      • main

        public static void main​(String[] args)