Graphscreen Operator
Reply | Flag | Categorize
Timothy Foster 03 Feb 2013 00:33
Timothy Foster

Admin

WAC

Guest

I found this little guy sitting in my pile of things I did a long time ago:

ClrDraw
FnOn
Full
AxesOn
DispGraph
2→F
Repeat Ans=45
If sum(Ans={92,93,94,82,83,84,72,73,74
Then
Ans-36-5int(.1Ans
expr(sub("789 456 123",Ans,1→F
DelVar A
End
If Ans=32 or Ans=33
1+(Ans=33→A
If Ans=24 or Ans=26
Then
1-2(Ans=26
Ans(Xmax-Xmin)/(10F-1→T
Xmin-Ans→Xmin
Xmax-T→Xmax
DelVar A
End
If Ans=25 or Ans=34
Then
1-2(Ans=34
Ans(Ymax-Ymin)/(10F-1→T
Ymin+Ans→Ymin
Ymax+T→Ymax
DelVar A
End
If Ans=85
Then
Xmin(F-(F-1)(A=2→Xmin
Xmax(F-(F-1)(A=2→Xmax
Ymin(F-(F-1)(A=1→Ymin
Ymax(F-(F-1)(A=1→Ymax
DelVar A
End
If Ans=95
Then
Xmin/(F-(F-1)(A=2→Xmin
Xmax/(F-(F-1)(A=2→Xmax
Ymin/(F-(F-1)(A=1→Ymin
Ymax/(F-(F-1)(A=1→Ymax
DelVar A
End
If Ans=12
Then
ZStandard
DelVar A
End
DispGraph
getKey
End

Supposedly, this allows you to dynamically manipulate the graphscreen without having to input the window boundaries every time. Using the buttons below causes it to perform the respective actions.

Arrow Keys — Determines the direction by which the screen moves relative to the origin.
+ — Zoom in. The axes scales become smaller.
- — Zoom out. The axes scales become larger.
Number Pad — Determines the scale factor. 9 makes very large changes; 1 makes very little changes.
X,T,θ,n — This button plus a zoom button will exclusively zoom the x-axis.
STAT — This button plus a zoom button will exclusively zoom the y-axis.
WINDOW — Resets the graph screen to a window of X(-10,10) Y(-10,10).
CLEAR — Halts program.

Attachment:

burr 03 Feb 2013 04:54
burr

Admin

FWDAC

Guest

That looks nice :) I'm curious, why did you create that?

Attachment:

Timothy Foster 03 Feb 2013 06:27
Timothy Foster

Admin

WAC

Guest

I can't remember. I probably wanted to observe graphs dynamically like what you can do on various computer programs and the new Nspires.

Attachment:

Make a reply:

To use the style buttons, click on the one you want, then press Ctrl+V.


Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Noncommercial 2.5 License.