comparison yetilab/plot/plot.yeti @ 141:9852a273e559

Static chart
author Chris Cannam
date Thu, 25 Apr 2013 16:23:33 +0100
parents 10463070bab4
children 4065178f776b
comparison
equal deleted inserted replaced
140:10463070bab4 141:9852a273e559
112 // new Chart(quality, "offscreen,640,640"); 112 // new Chart(quality, "offscreen,640,640");
113 // fi); 113 // fi);
114 ); 114 );
115 115
116 showChart opts chart is 'a -> ~Chart -> () = 116 showChart opts chart is 'a -> ~Chart -> () =
117 (//if opts.display then 117 (if opts.display then
118 \() ChartLauncher#openChart(chart); 118 \() ChartLauncher#openChart(chart);
119 // fi; 119 else
120 \() ChartLauncher#openStaticChart(chart);
121 fi;
120 if opts.saveTo != "" then 122 if opts.saveTo != "" then
121 \() chart#screenshot(opts.saveTo); 123 \() chart#screenshot(opts.saveTo);
122 fi); 124 fi);
123 125
124 plotMatrix matrix = 126 plotMatrix matrix =