The following code loads data, stored in binary file and then creates a XBar chart.
Uses StatSeries,StatControlCharts, MtxExp, Math387, MtxVecTee; procedure Example; var CL, UCL, LCL : double; Data: Matrix; DrawVec: Vector; begin Data.LoadFromFile('ewma_data.mtx'); QCXChart(Data,DrawVec,CL,UCL,LCL,0.025); // DrawVec now stores values to-be-drawn // CL, LCL and UCL store XBar chart center, // lower and upper control limits respectively. end;
#include "MtxExpr.hpp" #include "StatControlCharts.hpp" #include "Math387.hpp" void __fastcall Example(); { sMatrix Data; sVector DrawVec; double cl,ucl,lcl; Data.LoadFromFile("ewma_data.mtx"); QCXChart(Data,DrawVec,cl,ucl,lcl,0.025); }
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
|