coding UTF-8; // Required to handle 2D graphs import tool.Graph2D; // Prepare sample coordinate arrays to plot float xData[11]; float yData[11]; for(int i=0; i<=10; i++){ xData[i] = i; yData[i] = xData[i] * xData[i]; } // Launch the 2D graph int graph = newGraph2D(); // Plot the coordinate arrays on the 2D graph setGraph2DData(graph, xData, yData);