How to use pplot with
ruby?

A PPlot can be controlled from ruby scripts in almost the same way as
in C++, see how to use pplot. You
already have simple plot like this

% obtain a reference to the current
pplot in a native widget calling this script
plot=GetCurrentPPlot
% make x/y arrays for one plotitem xdata=[-1,0,1,2]ydata=[3,4,1,2]% add to plotplot.mPlotDataContainer.AddXYPlot (xdata, ydata)

that's all! For more details, again, see the C++ documentation, but to
give you an idea