Skip to content

Instantly share code, notes, and snippets.

@eddotman
eddotman / contour_plot.py
Last active December 16, 2015 11:29
Example of a contour plotting function with a test data set
import matplotlib.pyplot as plt
from numpy import *
def draw_contour (data, xlabel, ylabel):
plt.xlabel(xlabel)
plt.ylabel(ylabel)
plt.contourf(data) #use plt.contour() for non-filled contours; plt.contourf() for filled
plt.show()
def run_test(): #plots a 'checkerboard' in 2D
@eddotman
eddotman / sciencefrontend_planning.md
Last active December 16, 2015 11:19
ScienceFrontend Planning Doc

ScienceFrontend

Abstract

ScienceFrontend aims to improve the front-end user experience for command-line-interface (CLI) scientific scripts. Scientific CLI scripts often require a number of dependencies and can be difficult for users unfamiliar with CLI. The goal of ScienceFrontend is to provide a simple, uniform front-end experience while also eliminating end-user software dependencies (besides having a web browser). Naturally, ScienceFrontend is open-source.

Objective & Scope