/// <description>
 /// Sets up the given plotting curve to automatically plot the value of the<paramref name="" /> variable with a frequency of
 /// </description>
 /// <param name="plotId">Index of the plotting curve.  Must be 0<=plotId<6.</param>
 /// <param name="variable">Name of the global variable.</param>
 /// <param name="updateFrequency">Frequency with which to add new data points to the plotting curve (in milliseconds).</param>
 /// <code>
 /// // Plot FPS counter at 1 second intervals.
 /// %graph.addAutoPlot( 0, "fps::real", 1000 );
 /// </code>
 public void AddAutoPlot(int plotId, string variable, int updateFrequency)
 {
     InternalUnsafeMethods.AddAutoPlot__Args _args = new InternalUnsafeMethods.AddAutoPlot__Args()
     {
         plotId          = plotId,
         variable        = variable,
         updateFrequency = updateFrequency,
     };
     InternalUnsafeMethods.AddAutoPlot()(ObjectPtr, _args);
 }