beautypg.com

Apple Newton Works Graphing Calculator User Manual

Page 39

background image

Graphing lists

You can use lists to graph a family of curves. Use one of the following formats for
the list:

m [[x1,y1,x2,y2,x3,y3...]
m [[x1,y1],[x2,y2],[x3,y3],...]
m [[x1,x2,x3,...],[y1,y2,y3,...]]
An example is shown below:

An advantage of the format [[x1,x2,x3,...],[y1,y2,y3,...]] is that you can perform
operations on the x and y coordinates independently.

The following example shifts the graph to the right (shifts the x coordinates) by
10 units:

list1=[[0,1,2,3,4],[5,6,7,8,9]]

list2=list1+[10,0] -> [[10,11,12,13,14],[5,6,7,8,9]]

Creating and Using Lists

39