Might be instructional to use etoys for that, along the lines of
http://www.squeakland.org/pdf/poster/graphbooklet.pdfUse the screen as your plotting area. Position a morph to the x,y
coordinate and let it "stamp" itself for every point. This is not so
easy when you want to plot some pre-computed list, or when it's hard
to translate values to pixels. But when you can plot points as soon as
the values are created, it's nice and very direct.
Matthias
On 11/7/06, Andy Watson <
[hidden email]> wrote:
> My son wants to learn some programming and we would like to write some
> code for his science project for school. Squeak looks like a great
> environment in which to learn how to program, but it would be nice if
> he could display some of his results from his experiments within
> Squeak too.
>
> Can anyone recommend a class/module/package (or whatever you call a
> collection of code in Squeak) that can be used for plotting graphs
> from a simple set of x, y values?
>
> If not, then since I am very experienced systems programmer from the
> C/Lisp/Unix world I guess I'd better get my sleeves rolled up ;-)
>
> Thanks!
> Andy
> --
> _______________________________________________
> Beginners mailing list
>
[hidden email]
>
http://lists.squeakfoundation.org/mailman/listinfo/beginners>
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners