# HG changeset patch # User Chris Cannam # Date 1366271246 -3600 # Node ID 30c790d2789e519bb938e4d5559baeb95656e228 # Parent 3f5af01ff42a1daa97cce9e7c62bb4a36d795f5c plot -> plotMatrix diff -r 3f5af01ff42a -r 30c790d2789e yetilab/plot/plot.yeti --- a/yetilab/plot/plot.yeti Thu Apr 18 08:47:05 2013 +0100 +++ b/yetilab/plot/plot.yeti Thu Apr 18 08:47:26 2013 +0100 @@ -32,7 +32,7 @@ end; new FMapper()); -plot matrix = +plotMatrix matrix = (mapper = newMatrixLogMapper matrix; size = matrix.size; xrange = new Range(1, size.columns - 1); @@ -46,15 +46,19 @@ // chart = new Chart(Quality#Fastest, "swing"); chart = new Chart(Quality#Nicest); chart#getScene()#getGraph()#add(surface); - ChartLauncher#openChart(chart)); + ChartLauncher#openChart(chart); + ()); plotStructure structure = case structure of Grid matrix: - plot matrix; + plotMatrix matrix; //!!! _: failWith "Cannot plot this structure (only grids implemented so far)"; esac; -{ plot, plotStructure } +{ + plotMatrix, + plotStructure +}