/// <summary> /// Gnuplot plotting, automatic choice of gnuplot driver depending on /// the current value of <see cref="UseCairoLatex"/>. /// </summary> public static object PlotNow(this Gnuplot gp) { if (UseCairoLatex) { return(gp.PlotCairolatex()); } else { return(gp.PlotGIF()); } }
/// <summary> /// Gnuplot plotting (multiplot), automatic choice of gnuplot driver depending on /// the current value of <see cref="UseCairoLatex"/>. /// </summary> public static object PlotNow(this Plot2Ddata[,] _2DData) { using (Gnuplot gp = _2DData.ToGnuplot()) { if (UseCairoLatex) { return(gp.PlotCairolatex()); } else { return(gp.PlotGIF()); } } }