public class CustomLayoutExample extends Object implements GlimpseLayoutProvider
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.
SimpleLayoutExample
Constructor and Description |
---|
CustomLayoutExample() |
public GlimpseLayout getLayout()
getLayout
in interface GlimpseLayoutProvider
Copyright © 2013 Metron, Inc.. All rights reserved.