Mercurial > hg > may
changeset 115:30c790d2789e
plot -> plotMatrix
author | Chris Cannam |
---|---|
date | Thu, 18 Apr 2013 08:47:26 +0100 |
parents | 3f5af01ff42a |
children | 44d745823a75 |
files | yetilab/plot/plot.yeti |
diffstat | 1 files changed, 8 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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 +}