Plotting x-y data within Squeak

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Plotting x-y data within Squeak

Andy Watson-3
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
Reply | Threaded
Open this post in threaded view
|

Re: Plotting x-y data within Squeak

Stephen Austin-3
The Microcosms multi-agent simulation package contains a nice
Plot-Morph. You can get it from http://www.agro.uba.ar/microcosms/

Steve
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Plotting x-y data within Squeak

Matthias Berth-2
In reply to this post by Andy Watson-3
Might be instructional to use etoys for that, along the lines of

  http://www.squeakland.org/pdf/poster/graphbooklet.pdf

Use 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