public static int gplotGenDataFiles(this GPlot gplot) { if (null == gplot) { throw new ArgumentNullException("gplot cannot be null"); } return(Native.DllImports.gplotGenDataFiles((HandleRef)gplot)); }
public static int gplotSetScaling(this GPlot gplot, GPLOT_SCALING scaling) { if (null == gplot) { throw new ArgumentNullException("gplot cannot be null"); } return(Native.DllImports.gplotSetScaling((HandleRef)gplot, (int)scaling)); }
public static int gplotAddPlot(this GPlot gplot, Numa nax, Numa nay, GPLOT_STYLE plotstyle, string plottitle) { if (null == gplot || null == nay) { throw new ArgumentNullException("gplot, nay cannot be null"); } return(Native.DllImports.gplotAddPlot((HandleRef)gplot, (HandleRef)nax, (HandleRef)nay, (int)plotstyle, plottitle)); }
public static void gplotDestroy(this GPlot pgplot) { if (null == pgplot) { throw new ArgumentNullException("pgplot cannot be null"); } var pointer = (IntPtr)pgplot; Native.DllImports.gplotDestroy(ref pointer); }
public static int gplotWrite(string filename, GPlot gplot) { if (string.IsNullOrWhiteSpace(filename)) { throw new ArgumentNullException("filename cannot be null"); } if (null == gplot) { throw new ArgumentNullException("gplot cannot be null"); } return(Native.DllImports.gplotWrite(filename, (HandleRef)gplot)); }