Plotting from euclidean space to screen coordinates in Coffeescript, for my Spectrograph class
plot: (width, height, max_Y) ->
# re-generate coeficceint functions
if ! (@_width == width && @_height == height && @_max_Y == max_Y)
w_coef = width / SIZE
h_coef = height / max_Y # consider changing this to absolute w/height? nah
# @X and @Y transform normal euclidean X, Y points into screen X Y points