This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2007-06-24 07:34:30

mohlar
Scratcher
Registered: 2007-05-24
Posts: 100+

Is it possible to plot graphs which chart maths functions and results?

Scratch doesn't have a plotting function for graph-work (or have I overlooked it)?

Has anyone found a way to plot the results of calculations in graph form? I wondered about using variables for x and y and to sequentially position dots on the screen.

Last edited by mohlar (2007-06-24 11:10:24)

Offline

 

#2 2007-06-24 08:09:05

Mayhem
Scratcher
Registered: 2007-05-26
Posts: 1000+

Re: Is it possible to plot graphs which chart maths functions and results?

Create a small sprite, set the pen really small, move the sprite from your first point to your second point etc etc.

Is that the sort of thing you are talking about?


Web-spinning Spider:  http://scratch.mit.edu/projects/Mayhem/18456
3D Dungeon Adventure:  http://scratch.mit.edu/projects/Mayhem/23570
Starfighter X: http://scratch.mit.edu/projects/Mayhem/21825
Wandering Knight: http://scratch.mit.edu/projects/Mayhem/28484

Offline

 

#3 2007-06-24 09:38:01

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: Is it possible to plot graphs which chart maths functions and results?

An example of plotting can be found in
http://scratch.mit.edu/projects/Canthiar/6123

For histogramming you can also use stamping: see
http://scratch.mit.edu/projects/kevin_karplus/6813

Offline

 

#4 2007-06-24 11:09:43

mohlar
Scratcher
Registered: 2007-05-24
Posts: 100+

Re: Is it possible to plot graphs which chart maths functions and results?

Mayhem wrote:

Create a small sprite, set the pen really small, move the sprite from your first point to your second point etc etc.Is that the sort of thing you are talking about?

Sounds like it. Obviously, I've seen Logo-style drawings so I know lines are possible, but I have an idea for plotting the results of a particular type of calculation which will mean constantly updated x and y values. Thanks for the responses. I'll investigate.

Offline

 

Board footer