// Quick and dirty plots public static int gplotSimple1(this Numa na, GPLOT_OUTPUT outformat, string outroot, string title) { if (null == na) { throw new ArgumentNullException("na cannot be null"); } return(Native.DllImports.gplotSimple1((HandleRef)na, (int)outformat, outroot, title)); }
// Basic plotting functions public static GPlot gplotCreate(string rootname, GPLOT_OUTPUT outformat, string title, string xlabel, string ylabel) { var pointer = Native.DllImports.gplotCreate(rootname, (int)outformat, title, xlabel, ylabel); if (IntPtr.Zero == pointer) { return(null); } else { return(new GPlot(pointer)); } }
public static int gplotSimpleXYN(this Numa nax, Numaa naay, GPLOT_STYLE plotstyle, GPLOT_OUTPUT outformat, string outroot, string title) { if (null == naay) { throw new ArgumentNullException("naay cannot be null"); } return(Native.DllImports.gplotSimpleXYN((HandleRef)nax, (HandleRef)naay, (int)plotstyle, (int)outformat, outroot, title)); }