|
SNAP Library, User Reference
2012-10-02 12:56:23
SNAP, a general purpose network analysis and graph mining library
|
Classes | |
| class | TGpSeries |
| class | TGpSeriesCmp |
Public Member Functions | |
| TStr | GetSeriesPlotStr (const int &PlotN) |
| int | IsSameXCol (const int &CurId, const int &PrevId) const |
| void | CreatePlotFile (const TStr &Comment=TStr()) |
| void | RunGnuPlot () const |
| TGnuPlot (const TStr &FileNm="gplot", const TStr &PlotTitle=TStr(), const bool &Grid=true) | |
| TGnuPlot (const TStr &DataFileNm, const TStr &PlotFileNm, const TStr &PlotTitle, const bool &Grid) | |
| TGnuPlot (const TGnuPlot &GnuPlot) | |
| TGnuPlot & | operator= (const TGnuPlot &GnuPlot) |
| void | SetTitle (const TStr &PlotTitle) |
| void | SetXLabel (const TStr &XLabel) |
| void | SetYLabel (const TStr &YLabel) |
| void | SetXYLabel (const TStr &XLabel, const TStr &YLabel) |
| void | SetDataPlotFNm (const TStr &DatFNm, const TStr &PltFNm) |
| void | ShowGrid (const bool &Show) |
| void | Pause (const bool &DoPause) |
| void | SetScale (const TGpScaleTy &GpScaleTy) |
| void | SetXRange (const double &Min, const double &Max) |
| void | SetYRange (const double &Min, const double &Max) |
| void | AddCmd (const TStr &Cmd) |
| TStr | GetLineStyle (const int &PlotId) const |
| void | SetLineStyle (const int &PlotId, const TStr &StyleStr) |
| int | AddFunc (const TStr &FuncStr, const TGpSeriesTy &SeriesTy=gpwLinesPoints, const TStr &Label=TStr(), const TStr &Style=TStr()) |
| int | AddPlot (const TIntV &YValV, const TGpSeriesTy &SeriesTy=gpwLinesPoints, const TStr &Label=TStr(), const TStr &Style=TStr()) |
| int | AddPlot (const TFltV &YValV, const TGpSeriesTy &SeriesTy=gpwLinesPoints, const TStr &Label=TStr(), const TStr &Style=TStr()) |
| int | AddPlot (const TFltV &XValV, const TFltV &YValV, const TGpSeriesTy &SeriesTy=gpwLinesPoints, const TStr &Label=TStr(), const TStr &Style=TStr()) |
| int | AddPlot (const TIntPrV &XYValV, const TGpSeriesTy &SeriesTy=gpwLinesPoints, const TStr &Label=TStr(), const TStr &Style=TStr()) |
| int | AddPlot (const TFltPrV &XYValV, const TGpSeriesTy &SeriesTy=gpwLinesPoints, const TStr &Label=TStr(), const TStr &Style=TStr()) |
| int | AddPlot (const TIntKdV &XYValV, const TGpSeriesTy &SeriesTy=gpwLinesPoints, const TStr &Label=TStr(), const TStr &Style=TStr()) |
| int | AddPlot (const TFltKdV &XYValV, const TGpSeriesTy &SeriesTy=gpwLinesPoints, const TStr &Label=TStr(), const TStr &Style=TStr()) |
| int | AddPlot (const TIntFltKdV &XYValV, const TGpSeriesTy &SeriesTy=gpwLinesPoints, const TStr &Label=TStr(), const TStr &Style=TStr()) |
| int | AddPlot (const TIntFltPrV &XYValV, const TGpSeriesTy &SeriesTy=gpwLinesPoints, const TStr &Label=TStr(), const TStr &Style=TStr()) |
| int | AddPlot (const TStr &DataFNm, const int &ColY, const TGpSeriesTy &SeriesTy=gpwLinesPoints, const TStr &Label=TStr(), const TStr &Style=TStr()) |
| int | AddPlot (const TStr &DataFNm, const int &ColX, const int &ColY, const TGpSeriesTy &SeriesTy=gpwLinesPoints, const TStr &Label=TStr(), const TStr &Style=TStr()) |
| template<class TKey , class TDat , class THashFunc > | |
| int | AddPlot (const THash< TKey, TDat, THashFunc > &XYValH, const TGpSeriesTy &SeriesTy=gpwLinesPoints, const TStr &Label=TStr(), const TStr &Style=TStr(), const bool &ExpBucket=false) |
| template<class TKey , class THashFunc > | |
| int | AddPlot (const THash< TKey, TMom, THashFunc > &ValMomH, const TGpSeriesTy &SeriesTy=gpwLinesPoints, const TStr &Label=TStr(), const TStr &Style=TStr(), bool PlotAvg=true, bool PlotMed=true, bool PlotMin=false, bool PlotMax=false, bool PlotSDev=false, bool PlotStdErr=false, const bool &ExpBucket=false) |
| int | AddErrBar (const TFltTrV &XYDValV, const TStr &Label=TStr()) |
| int | AddErrBar (const TFltTrV &XYDValV, const TStr &DatLabel, const TStr &ErrLabel) |
| int | AddErrBar (const TFltV &YValV, const TFltV &DeltaYV, const TStr &Label=TStr()) |
| int | AddErrBar (const TFltV &XValV, const TFltV &YValV, const TFltV &DeltaYV, const TStr &Label=TStr()) |
| int | AddErrBar (const TFltPrV &XYValV, const TFltV &DeltaYV, const TStr &Label=TStr()) |
| int | AddErrBar (const TFltKdV &XYValV, const TFltV &DeltaYV, const TStr &Label=TStr()) |
| int | AddErrBar (const TFltPrV &XYValV, const TFltV &DeltaYV, const TStr &DatLabel, const TStr &ErrLabel) |
| int | AddLinFit (const int &PlotId, const TGpSeriesTy &SeriesTy=gpwLines, const TStr &Style=TStr()) |
| int | AddPwrFit (const int &PlotId, const TGpSeriesTy &SeriesTy=gpwLines, const TStr &Style=TStr()) |
| int | AddPwrFit1 (const int &PlotId, const TGpSeriesTy &SeriesTy=gpwLines, const TStr &Style=TStr()) |
| int | AddPwrFit2 (const int &PlotId, const TGpSeriesTy &SeriesTy=gpwLines, const double &MinX=-1.0, const TStr &Style=TStr()) |
| int | AddPwrFit3 (const int &PlotId, const TGpSeriesTy &SeriesTy=gpwLines, const double &MinX=-1.0, const TStr &Style=TStr()) |
| int | AddPwrFit3 (const int &PlotId, const TGpSeriesTy &SeriesTy, const double &MinX, const TStr &Style, double &Intercept, double &Slope, double &R2) |
| int | AddLogFit (const int &PlotId, const TGpSeriesTy &SeriesTy=gpwLines, const TStr &Style=TStr()) |
| int | AddExpFit (const int &PlotId, const TGpSeriesTy &SeriesTy=gpwLines, const double &FitXOffset=0.0, const TStr &Style=TStr()) |
| void | SavePng (const int &SizeX=1000, const int &SizeY=800, const TStr &Comment=TStr()) |
| void | SavePng (const TStr &FNm, const int &SizeX=1000, const int &SizeY=800, const TStr &Comment=TStr(), const TStr &Terminal=TStr()) |
| void | SaveEps (const int &FontSz=30, const TStr &Comment=TStr()) |
| void | SaveEps (const TStr &FNm, const int &FontSz=30, const TStr &Comment=TStr()) |
| void | Plot (const TStr &Comment=TStr()) |
Static Public Member Functions | |
| static void | MakeExpBins (const TFltPrV &XYValV, TFltPrV &ExpXYValV, const double &BinFactor=2, const double &MinYVal=1) |
| static void | MakeExpBins (const TFltKdV &XYValV, TFltKdV &ExpXYValV, const double &BinFactor=2, const double &MinYVal=1) |
| static void | LoadTs (const TStr &FNm, TStrV &ColNmV, TVec< TFltKdV > &ColV) |
| static TStr | GetScaleStr (const TGpScaleTy &ScaleTy) |
| static TStr | GetSeriesTyStr (const TGpSeriesTy &SeriesTy) |
| static void | SaveTs (const TIntKdV &KdV, const TStr &FNm, const TStr &HeadLn=TStr()) |
| static void | SaveTs (const TIntFltKdV &KdV, const TStr &FNm, const TStr &HeadLn=TStr()) |
| template<class TVal1 , class TVal2 > | |
| static void | SaveTs (const TVec< TPair< TVal1, TVal2 > > &ValV, const TStr &FNm, const TStr &HeadLn=TStr()) |
| template<class TVal1 , class TVal2 , class TVal3 > | |
| static void | SaveTs (const TVec< TTriple< TVal1, TVal2, TVal3 > > &ValV, const TStr &FNm, const TStr &HeadLn=TStr()) |
| template<class TVal , int Vals> | |
| static void | SaveTs (const TVec< TTuple< TVal, Vals > > &ValV, const TStr &FNm, const TStr &HeadLn=TStr()) |
| static void | Test () |
| template<class TVal1 , class TVal2 > | |
| static void | PlotValV (const TVec< TPair< TVal1, TVal2 > > &ValV, const TStr &OutFNmPref, const TStr &Desc="", const TStr &XLabel="", const TStr &YLabel="", const TGpScaleTy &ScaleTy=gpsAuto, const bool &PowerFit=false, const TGpSeriesTy &SeriesTy=gpwLinesPoints) |
| template<class TVal1 , class TVal2 > | |
| static void | PlotValV (const TVec< TPair< TVal1, TVal2 > > &ValV1, const TStr &Name1, const TVec< TPair< TVal1, TVal2 > > &ValV2, const TStr &Name2, const TStr &OutFNmPref, const TStr &Desc="", const TStr &XLabel="", const TStr &YLabel="", const TGpScaleTy &ScaleTy=gpsAuto, const bool &PowerFit=false, const TGpSeriesTy &SeriesTy=gpwLinesPoints) |
| template<class TVal1 > | |
| static void | PlotValV (const TVec< TVal1 > &ValV, const TStr &OutFNmPref, const TStr &Desc="", const TStr &XLabel="", const TStr &YLabel="", const TGpScaleTy &ScaleTy=gpsAuto, const bool &PowerFit=false, const TGpSeriesTy &SeriesTy=gpwLinesPoints) |
| template<class TKey , class TVal , class THashFunc > | |
| static void | PlotValCntH (const THash< TKey, TVal, THashFunc > &ValCntH, const TStr &OutFNmPref, const TStr &Desc="", const TStr &XLabel="", const TStr &YLabel="", const TGpScaleTy &ScaleTy=gpsAuto, const bool &PowerFit=false, const TGpSeriesTy &SeriesTy=gpwLinesPoints, const bool &PlotNCDF=false, const bool &ExpBucket=false) |
| template<class TKey , class TVal , class THashFunc > | |
| static void | PlotValCntH (const THash< TKey, TVal, THashFunc > &ValCntH1, const TStr &Label1, const THash< TKey, TVal, THashFunc > &ValCntH2, const TStr &Label2, const TStr &OutFNmPref, const TStr &Desc, const TStr &XLabel, const TStr &YLabel, const TGpScaleTy &ScaleTy=gpsAuto, const TGpSeriesTy &SeriesTy=gpwLinesPoints) |
| template<class TKey , class TVal , class THashFunc > | |
| static void | PlotValCntH (const THash< TKey, TVal, THashFunc > &ValCntH1, const TStr &Label1, const THash< TKey, TVal, THashFunc > &ValCntH2, const TStr &Label2, const THash< TKey, TVal, THashFunc > &ValCntH3, const TStr &Label3, const TStr &OutFNmPref, const TStr &Desc, const TStr &XLabel, const TStr &YLabel, const TGpScaleTy &ScaleTy=gpsAuto, const TGpSeriesTy &SeriesTy=gpwLinesPoints) |
| template<class TVal1 > | |
| static void | PlotValMomH (const THash< TVal1, TMom > &ValMomH, const TStr &OutFNmPref, const TStr &Desc="", const TStr &XLabel="", const TStr &YLabel="", const TGpScaleTy &ScaleTy=gpsAuto, const TGpSeriesTy &SeriesTy=gpwLinesPoints, bool PlotAvg=true, bool PlotMed=true, bool PlotMin=false, bool PlotMax=false, bool PlotSDev=false, bool PlotStdErr=true, bool PlotScatter=false) |
Static Public Attributes | |
| static TStr | DefPlotFNm = "GnuPlot.plt" |
| static TStr | DefDataFNm = "GnuPlot.tab" |
| TGnuPlot::TGnuPlot | ( | const TStr & | FileNm = "gplot", |
| const TStr & | PlotTitle = TStr(), |
||
| const bool & | Grid = true |
||
| ) |
| TGnuPlot::TGnuPlot | ( | const TStr & | DataFileNm, |
| const TStr & | PlotFileNm, | ||
| const TStr & | PlotTitle, | ||
| const bool & | Grid | ||
| ) |
| TGnuPlot::TGnuPlot | ( | const TGnuPlot & | GnuPlot | ) |
| void TGnuPlot::AddCmd | ( | const TStr & | Cmd | ) | [inline] |
| int TGnuPlot::AddErrBar | ( | const TFltTrV & | XYDValV, |
| const TStr & | Label = TStr() |
||
| ) |
| int TGnuPlot::AddErrBar | ( | const TFltTrV & | XYDValV, |
| const TStr & | DatLabel, | ||
| const TStr & | ErrLabel | ||
| ) |
| int TGnuPlot::AddErrBar | ( | const TFltV & | YValV, |
| const TFltV & | DeltaYV, | ||
| const TStr & | Label = TStr() |
||
| ) |
| int TGnuPlot::AddErrBar | ( | const TFltV & | XValV, |
| const TFltV & | YValV, | ||
| const TFltV & | DeltaYV, | ||
| const TStr & | Label = TStr() |
||
| ) |
| int TGnuPlot::AddErrBar | ( | const TFltPrV & | XYValV, |
| const TFltV & | DeltaYV, | ||
| const TStr & | Label = TStr() |
||
| ) |
| int TGnuPlot::AddErrBar | ( | const TFltKdV & | XYValV, |
| const TFltV & | DeltaYV, | ||
| const TStr & | Label = TStr() |
||
| ) |
| int TGnuPlot::AddErrBar | ( | const TFltPrV & | XYValV, |
| const TFltV & | DeltaYV, | ||
| const TStr & | DatLabel, | ||
| const TStr & | ErrLabel | ||
| ) |
| int TGnuPlot::AddExpFit | ( | const int & | PlotId, |
| const TGpSeriesTy & | SeriesTy = gpwLines, |
||
| const double & | FitXOffset = 0.0, |
||
| const TStr & | Style = TStr() |
||
| ) |
!! skip zero values
| int TGnuPlot::AddFunc | ( | const TStr & | FuncStr, |
| const TGpSeriesTy & | SeriesTy = gpwLinesPoints, |
||
| const TStr & | Label = TStr(), |
||
| const TStr & | Style = TStr() |
||
| ) |
| int TGnuPlot::AddLinFit | ( | const int & | PlotId, |
| const TGpSeriesTy & | SeriesTy = gpwLines, |
||
| const TStr & | Style = TStr() |
||
| ) |
| int TGnuPlot::AddLogFit | ( | const int & | PlotId, |
| const TGpSeriesTy & | SeriesTy = gpwLines, |
||
| const TStr & | Style = TStr() |
||
| ) |
!! skip zero values
| int TGnuPlot::AddPlot | ( | const TIntV & | YValV, |
| const TGpSeriesTy & | SeriesTy = gpwLinesPoints, |
||
| const TStr & | Label = TStr(), |
||
| const TStr & | Style = TStr() |
||
| ) |
| int TGnuPlot::AddPlot | ( | const TFltV & | YValV, |
| const TGpSeriesTy & | SeriesTy = gpwLinesPoints, |
||
| const TStr & | Label = TStr(), |
||
| const TStr & | Style = TStr() |
||
| ) |
| int TGnuPlot::AddPlot | ( | const TFltV & | XValV, |
| const TFltV & | YValV, | ||
| const TGpSeriesTy & | SeriesTy = gpwLinesPoints, |
||
| const TStr & | Label = TStr(), |
||
| const TStr & | Style = TStr() |
||
| ) |
| int TGnuPlot::AddPlot | ( | const TIntPrV & | XYValV, |
| const TGpSeriesTy & | SeriesTy = gpwLinesPoints, |
||
| const TStr & | Label = TStr(), |
||
| const TStr & | Style = TStr() |
||
| ) |
| int TGnuPlot::AddPlot | ( | const TFltPrV & | XYValV, |
| const TGpSeriesTy & | SeriesTy = gpwLinesPoints, |
||
| const TStr & | Label = TStr(), |
||
| const TStr & | Style = TStr() |
||
| ) |
| int TGnuPlot::AddPlot | ( | const TIntKdV & | XYValV, |
| const TGpSeriesTy & | SeriesTy = gpwLinesPoints, |
||
| const TStr & | Label = TStr(), |
||
| const TStr & | Style = TStr() |
||
| ) |
| int TGnuPlot::AddPlot | ( | const TFltKdV & | XYValV, |
| const TGpSeriesTy & | SeriesTy = gpwLinesPoints, |
||
| const TStr & | Label = TStr(), |
||
| const TStr & | Style = TStr() |
||
| ) |
| int TGnuPlot::AddPlot | ( | const TIntFltKdV & | XYValV, |
| const TGpSeriesTy & | SeriesTy = gpwLinesPoints, |
||
| const TStr & | Label = TStr(), |
||
| const TStr & | Style = TStr() |
||
| ) |
| int TGnuPlot::AddPlot | ( | const TIntFltPrV & | XYValV, |
| const TGpSeriesTy & | SeriesTy = gpwLinesPoints, |
||
| const TStr & | Label = TStr(), |
||
| const TStr & | Style = TStr() |
||
| ) |
| int TGnuPlot::AddPlot | ( | const TStr & | DataFNm, |
| const int & | ColY, | ||
| const TGpSeriesTy & | SeriesTy = gpwLinesPoints, |
||
| const TStr & | Label = TStr(), |
||
| const TStr & | Style = TStr() |
||
| ) |
| int TGnuPlot::AddPlot | ( | const TStr & | DataFNm, |
| const int & | ColX, | ||
| const int & | ColY, | ||
| const TGpSeriesTy & | SeriesTy = gpwLinesPoints, |
||
| const TStr & | Label = TStr(), |
||
| const TStr & | Style = TStr() |
||
| ) |
| int TGnuPlot::AddPlot | ( | const THash< TKey, TDat, THashFunc > & | XYValH, |
| const TGpSeriesTy & | SeriesTy = gpwLinesPoints, |
||
| const TStr & | Label = TStr(), |
||
| const TStr & | Style = TStr(), |
||
| const bool & | ExpBucket = false |
||
| ) |
| int TGnuPlot::AddPlot | ( | const THash< TKey, TMom, THashFunc > & | ValMomH, |
| const TGpSeriesTy & | SeriesTy = gpwLinesPoints, |
||
| const TStr & | Label = TStr(), |
||
| const TStr & | Style = TStr(), |
||
| bool | PlotAvg = true, |
||
| bool | PlotMed = true, |
||
| bool | PlotMin = false, |
||
| bool | PlotMax = false, |
||
| bool | PlotSDev = false, |
||
| bool | PlotStdErr = false, |
||
| const bool & | ExpBucket = false |
||
| ) |
| int TGnuPlot::AddPwrFit | ( | const int & | PlotId, |
| const TGpSeriesTy & | SeriesTy = gpwLines, |
||
| const TStr & | Style = TStr() |
||
| ) |
| int TGnuPlot::AddPwrFit1 | ( | const int & | PlotId, |
| const TGpSeriesTy & | SeriesTy = gpwLines, |
||
| const TStr & | Style = TStr() |
||
| ) |
!! skip zero values
| int TGnuPlot::AddPwrFit2 | ( | const int & | PlotId, |
| const TGpSeriesTy & | SeriesTy = gpwLines, |
||
| const double & | MinX = -1.0, |
||
| const TStr & | Style = TStr() |
||
| ) |
| int TGnuPlot::AddPwrFit3 | ( | const int & | PlotId, |
| const TGpSeriesTy & | SeriesTy = gpwLines, |
||
| const double & | MinX = -1.0, |
||
| const TStr & | Style = TStr() |
||
| ) |
| int TGnuPlot::AddPwrFit3 | ( | const int & | PlotId, |
| const TGpSeriesTy & | SeriesTy, | ||
| const double & | MinX, | ||
| const TStr & | Style, | ||
| double & | Intercept, | ||
| double & | Slope, | ||
| double & | R2 | ||
| ) |
!! skip zero values
| void TGnuPlot::CreatePlotFile | ( | const TStr & | Comment = TStr() | ) |
| TStr TGnuPlot::GetLineStyle | ( | const int & | PlotId | ) | const [inline] |
| TStr TGnuPlot::GetScaleStr | ( | const TGpScaleTy & | ScaleTy | ) | [static] |
| TStr TGnuPlot::GetSeriesPlotStr | ( | const int & | PlotN | ) |
| TStr TGnuPlot::GetSeriesTyStr | ( | const TGpSeriesTy & | SeriesTy | ) | [static] |
| int TGnuPlot::IsSameXCol | ( | const int & | CurId, |
| const int & | PrevId | ||
| ) | const |
| void TGnuPlot::LoadTs | ( | const TStr & | FNm, |
| TStrV & | ColNmV, | ||
| TVec< TFltKdV > & | ColV | ||
| ) | [static] |
| void TGnuPlot::MakeExpBins | ( | const TFltPrV & | XYValV, |
| TFltPrV & | ExpXYValV, | ||
| const double & | BinFactor = 2, |
||
| const double & | MinYVal = 1 |
||
| ) | [static] |
| void TGnuPlot::MakeExpBins | ( | const TFltKdV & | XYValV, |
| TFltKdV & | ExpXYValV, | ||
| const double & | BinFactor = 2, |
||
| const double & | MinYVal = 1 |
||
| ) | [static] |
| void TGnuPlot::Pause | ( | const bool & | DoPause | ) | [inline] |
| void TGnuPlot::Plot | ( | const TStr & | Comment = TStr() | ) | [inline] |
| void TGnuPlot::PlotValCntH | ( | const THash< TKey, TVal, THashFunc > & | ValCntH, |
| const TStr & | OutFNmPref, | ||
| const TStr & | Desc = "", |
||
| const TStr & | XLabel = "", |
||
| const TStr & | YLabel = "", |
||
| const TGpScaleTy & | ScaleTy = gpsAuto, |
||
| const bool & | PowerFit = false, |
||
| const TGpSeriesTy & | SeriesTy = gpwLinesPoints, |
||
| const bool & | PlotNCDF = false, |
||
| const bool & | ExpBucket = false |
||
| ) | [static] |
| void TGnuPlot::PlotValCntH | ( | const THash< TKey, TVal, THashFunc > & | ValCntH1, |
| const TStr & | Label1, | ||
| const THash< TKey, TVal, THashFunc > & | ValCntH2, | ||
| const TStr & | Label2, | ||
| const TStr & | OutFNmPref, | ||
| const TStr & | Desc, | ||
| const TStr & | XLabel, | ||
| const TStr & | YLabel, | ||
| const TGpScaleTy & | ScaleTy = gpsAuto, |
||
| const TGpSeriesTy & | SeriesTy = gpwLinesPoints |
||
| ) | [static] |
| void TGnuPlot::PlotValCntH | ( | const THash< TKey, TVal, THashFunc > & | ValCntH1, |
| const TStr & | Label1, | ||
| const THash< TKey, TVal, THashFunc > & | ValCntH2, | ||
| const TStr & | Label2, | ||
| const THash< TKey, TVal, THashFunc > & | ValCntH3, | ||
| const TStr & | Label3, | ||
| const TStr & | OutFNmPref, | ||
| const TStr & | Desc, | ||
| const TStr & | XLabel, | ||
| const TStr & | YLabel, | ||
| const TGpScaleTy & | ScaleTy = gpsAuto, |
||
| const TGpSeriesTy & | SeriesTy = gpwLinesPoints |
||
| ) | [static] |
| void TGnuPlot::PlotValMomH | ( | const THash< TVal1, TMom > & | ValMomH, |
| const TStr & | OutFNmPref, | ||
| const TStr & | Desc = "", |
||
| const TStr & | XLabel = "", |
||
| const TStr & | YLabel = "", |
||
| const TGpScaleTy & | ScaleTy = gpsAuto, |
||
| const TGpSeriesTy & | SeriesTy = gpwLinesPoints, |
||
| bool | PlotAvg = true, |
||
| bool | PlotMed = true, |
||
| bool | PlotMin = false, |
||
| bool | PlotMax = false, |
||
| bool | PlotSDev = false, |
||
| bool | PlotStdErr = true, |
||
| bool | PlotScatter = false |
||
| ) | [static] |
| void TGnuPlot::PlotValV | ( | const TVec< TPair< TVal1, TVal2 > > & | ValV, |
| const TStr & | OutFNmPref, | ||
| const TStr & | Desc = "", |
||
| const TStr & | XLabel = "", |
||
| const TStr & | YLabel = "", |
||
| const TGpScaleTy & | ScaleTy = gpsAuto, |
||
| const bool & | PowerFit = false, |
||
| const TGpSeriesTy & | SeriesTy = gpwLinesPoints |
||
| ) | [static] |
| void TGnuPlot::PlotValV | ( | const TVec< TPair< TVal1, TVal2 > > & | ValV1, |
| const TStr & | Name1, | ||
| const TVec< TPair< TVal1, TVal2 > > & | ValV2, | ||
| const TStr & | Name2, | ||
| const TStr & | OutFNmPref, | ||
| const TStr & | Desc = "", |
||
| const TStr & | XLabel = "", |
||
| const TStr & | YLabel = "", |
||
| const TGpScaleTy & | ScaleTy = gpsAuto, |
||
| const bool & | PowerFit = false, |
||
| const TGpSeriesTy & | SeriesTy = gpwLinesPoints |
||
| ) | [static] |
| void TGnuPlot::PlotValV | ( | const TVec< TVal1 > & | ValV, |
| const TStr & | OutFNmPref, | ||
| const TStr & | Desc = "", |
||
| const TStr & | XLabel = "", |
||
| const TStr & | YLabel = "", |
||
| const TGpScaleTy & | ScaleTy = gpsAuto, |
||
| const bool & | PowerFit = false, |
||
| const TGpSeriesTy & | SeriesTy = gpwLinesPoints |
||
| ) | [static] |
| void TGnuPlot::RunGnuPlot | ( | ) | const |
| void TGnuPlot::SaveEps | ( | const int & | FontSz = 30, |
| const TStr & | Comment = TStr() |
||
| ) | [inline] |
| void TGnuPlot::SaveEps | ( | const TStr & | FNm, |
| const int & | FontSz = 30, |
||
| const TStr & | Comment = TStr() |
||
| ) |
| void TGnuPlot::SavePng | ( | const int & | SizeX = 1000, |
| const int & | SizeY = 800, |
||
| const TStr & | Comment = TStr() |
||
| ) | [inline] |
| void TGnuPlot::SavePng | ( | const TStr & | FNm, |
| const int & | SizeX = 1000, |
||
| const int & | SizeY = 800, |
||
| const TStr & | Comment = TStr(), |
||
| const TStr & | Terminal = TStr() |
||
| ) |
AddCmd("set terminal postscript eps 10 enhanced color"); AddCmd(TStr::Fmt("set output '%s.eps'", FNm.GetFMid().CStr()));
| void TGnuPlot::SaveTs | ( | const TIntKdV & | KdV, |
| const TStr & | FNm, | ||
| const TStr & | HeadLn = TStr() |
||
| ) | [static] |
| static void TGnuPlot::SaveTs | ( | const TIntFltKdV & | KdV, |
| const TStr & | FNm, | ||
| const TStr & | HeadLn = TStr() |
||
| ) | [static] |
| void TGnuPlot::SaveTs | ( | const TVec< TPair< TVal1, TVal2 > > & | ValV, |
| const TStr & | FNm, | ||
| const TStr & | HeadLn = TStr() |
||
| ) | [static] |
| void TGnuPlot::SaveTs | ( | const TVec< TTriple< TVal1, TVal2, TVal3 > > & | ValV, |
| const TStr & | FNm, | ||
| const TStr & | HeadLn = TStr() |
||
| ) | [static] |
| void TGnuPlot::SaveTs | ( | const TVec< TTuple< TVal, Vals > > & | ValV, |
| const TStr & | FNm, | ||
| const TStr & | HeadLn = TStr() |
||
| ) | [static] |
| void TGnuPlot::SetDataPlotFNm | ( | const TStr & | DatFNm, |
| const TStr & | PltFNm | ||
| ) | [inline] |
| void TGnuPlot::SetLineStyle | ( | const int & | PlotId, |
| const TStr & | StyleStr | ||
| ) | [inline] |
| void TGnuPlot::SetScale | ( | const TGpScaleTy & | GpScaleTy | ) | [inline] |
| void TGnuPlot::SetTitle | ( | const TStr & | PlotTitle | ) | [inline] |
| void TGnuPlot::SetXLabel | ( | const TStr & | XLabel | ) | [inline] |
| void TGnuPlot::SetXRange | ( | const double & | Min, |
| const double & | Max | ||
| ) | [inline] |
| void TGnuPlot::SetXYLabel | ( | const TStr & | XLabel, |
| const TStr & | YLabel | ||
| ) | [inline] |
| void TGnuPlot::SetYLabel | ( | const TStr & | YLabel | ) | [inline] |
| void TGnuPlot::SetYRange | ( | const double & | Min, |
| const double & | Max | ||
| ) | [inline] |
| void TGnuPlot::ShowGrid | ( | const bool & | Show | ) | [inline] |
| void TGnuPlot::Test | ( | ) | [static] |
TStr TGnuPlot::DefDataFNm = "GnuPlot.tab" [static] |
TStr TGnuPlot::DefPlotFNm = "GnuPlot.plt" [static] |