On Wed, Mar 11, 2015 at 2:02 PM,  <[email protected]> wrote:
> The plot in netlogo changes his xmax value to 8, but I cant see the line Im 
> trying to draw.

You should remove the call to `compileAllPlots`. That's something you
would only need to call if you had changed the code kept inside the
plots, but you're not doing that.

Try replacing it with `p.makeDirty();`. I think that might solve your
problem. I don't remember the guts of the plotting code that well, but
I'm looking in src/main/org/nlogo/prim/plot/primitives.scala and it
seems that all of he primitives that plot points and/or change plot
ranges call `makeDirty`. So you probably need to as well.

Seth

-- 
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