private void Display(int expIdx) { object[,] data = ctxt.BatchExperiment.Experiments[expIdx].NonTimeSeriesData[ctxt.FocusedItem.Index] as object[,]; ColorMap cm = CreateColorMap(expIdx); plotter = new Array2DPlotter(cm); plotter.ResetData(data); mdTSMatrix.Draw(plotter); lciInformation.Text = string.Format("ʵ��\"{0}\"( ���ֵ:{1:F3} ���ֵ:{2:F3} ��ֵ:{3:F3} ����:{4:F3} )", lueExprs.Text, minValue, maxValue, mean, stdDev); }
public PlotTSMatrixForm( Context ctxt ) { this.ctxt = ctxt; InitializeComponent(); timeStampList = ctxt.FocusedExperiment.TimeSeriesData.GetTimeSeries(ctxt.FocusedItem.Index); timeStampList.Sort(); tbcTime.Properties.Minimum = rtbcPlayback.Properties.Minimum = 0; tbcTime.Properties.Maximum = rtbcPlayback.Properties.Maximum = timeStampList.Count - 1; ColorMap cm = CreateColorMap(); plotter = new Array2DPlotter(cm); }
private void simpleButton2_Click(object sender, EventArgs e) { isCancel = false; ColorMap cm = ColorMapGenerator.Instance.GenerateLinearColorMap(Color.Black, Color.Blue, 2700.0, 3300.0); orgPlot = new Array2DPlotter(cm); destPlot = new Array2DPlotter(cm); GaussSurfaceGenerator gsg = new GaussSurfaceGenerator(); int size = 41; data_ = gsg.Generate(size, 3000.0, 500.0, 15, 3.0); object[,] objdata = new object[size, size]; for (int i = 0; i < size; ++i) { for (int j = 0; j < size; ++j) { objdata[i, j] = data_[i, j]; } } orgPlot.ResetData(objdata); mdOrg.Draw(orgPlot); }
private void simpleButton2_Click(object sender, EventArgs e) { isCancel = false; ColorMap cm = ColorMapGenerator.Instance.GenerateLinearColorMap(Color.Black, Color.Blue, 2700.0, 3300.0); orgPlot = new Array2DPlotter(cm); destPlot = new Array2DPlotter(cm); GaussSurfaceGenerator gsg = new GaussSurfaceGenerator(); int size = 41; data_ = gsg.Generate(size, 3000.0, 500.0, 15, 3.0); object[,] objdata = new object[size, size]; for (int i = 0; i < size; ++i) { for (int j = 0; j < size; ++j) { objdata[i, j] = data_[i, j]; } } orgPlot.ResetData(objdata); mdOrg.Draw(orgPlot); }
public void Draw( Array2DPlotter plotter) { this.plotter = plotter; pePlot.Image = null; pePlot.Image = plotter.GetPlottedImage(Width, Height); }