Skip to content

Instantly share code, notes, and snippets.

View ulmangt's full-sized avatar

Geoffrey Ulman ulmangt

View GitHub Profile
@ulmangt
ulmangt / CollapsedTimelinePlotExample.java
Created March 12, 2012 22:16
Collapse / Expand StackedTimePlot2D
/*
* Copyright (c) 2012, Metron, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
@ulmangt
ulmangt / TrackHeadGlyphExample.java
Created March 13, 2012 18:56
Track Head Glyph Example
/*
* Copyright (c) 2012, Metron, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
@ulmangt
ulmangt / SimpleIconExample.java
Created March 15, 2012 21:36
Simple Texture Atlas Example
/*
* Copyright (c) 2012, Metron, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
@ulmangt
ulmangt / TextureAtlasTestExample.java
Created March 18, 2012 04:27
Texture Atlas Compaction Example
/*
* Copyright (c) 2012, Metron, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
@ulmangt
ulmangt / IconTimelinePlotExample.java
Created March 18, 2012 06:40
StackedTimePlot2D Overlay Layout and GlimpseAxisLayout1D TextureAtlas Example
/*
* Copyright (c) 2012, Metron, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
@ulmangt
ulmangt / ToolTipExample.java
Created March 21, 2012 16:56
JFace ToolTip Example
/*
* Copyright (c) 2012, Metron, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
@ulmangt
ulmangt / hw4.py
Created March 27, 2012 03:32
Bumpfilter
# CSI 709 - Homework 4 - Stefan Novak
import numpy as np
import matplotlib.image as mpimg
import matplotlib.pyplot as plt
# Configuration.
config = {'azimuth': np.radians(0.0),
'elevation': np.radians(35.0),
'ambient_factor': 0.30,
package com.metsci.glimpse.examples.stacked;
import static com.metsci.glimpse.util.logging.LoggerUtils.logWarning;
import java.util.logging.Logger;
import com.metsci.glimpse.examples.Example;
import com.metsci.glimpse.plot.StackedPlot2D.PlotInfo;
import com.metsci.glimpse.plot.timeline.StackedTimePlot2D;
@ulmangt
ulmangt / QuoteAwareStringSplitter.java
Created April 15, 2012 17:22
A String splitter utility class which ignores delimiters between quotes. Has no external dependencies.
/*
* Copyright (c) 2012, Metron, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
@ulmangt
ulmangt / ScatterplotExample.java
Created May 9, 2012 21:14
Scatterplot Example modified to display grid of data values
/*
* Copyright (c) 2012, Metron, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the