示例#1
0
 /// <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());
     }
 }
示例#2
0
 /// <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());
         }
     }
 }