Hi Seth,

First of all thanks for answering.

I think Im near finishing the test I was working on.

This is the code Im actually running:

public void perform(Argument[] arg0, Context arg1) throws ExtensionException, 
LogoException {
                ExtensionContext ec = (ExtensionContext) arg1;  
                GUIWorkspace gw = (GUIWorkspace) ec.workspace();
                PlotManager pm = (PlotManager) gw.plotManager();
                Plot p = pm.currentPlot().get();
                PlotPen pp = p.createPlotPen("one", false);
                pp.mode_$eq(0);
                p.addPen(pp);
                p.currentPen_$eq(pp);
                p.xMax_$eq(8);
                pp.color_$eq(Color.Black());
                pp.temporary_$eq(true);
                pp.plot(1, 1);
                pp.plot(2, 2);
                pm.compileAllPlots();
}               

The plot in netlogo changes his xmax value to 8, but I cant see the line Im 
trying to draw.             

Sorry for this dummy questions, I hope this is the last one.

Marcos.

-- 
You received this message because you are subscribed to the Google Groups 
"netlogo-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to