Author Topic: Ti-83+ Ti-Basic: Fastest Way to get the Graph Screen to redraw itself  (Read 4852 times)

0 Members and 1 Guest are viewing this topic.

Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Normally, if nothing has changed since the last time you graphed equations, displaying the graph screen will simply cause your graph to load instantly, there is no redrawing.

In Ti-Basic, something like "1->Y1" will cause DispGraph to redraw the entire graph.  But it's not the most optimized way.  Is there anything faster?  A cookie and a bag of peanuts goes to the helpful person who gives me the fastest, most optimized command to force a graph redraw upon reaching the command DispGraph.

Thanks, everyone!

Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: Ti-83+ Ti-Basic: Fastest Way to get the Graph Screen to redraw itself
« Reply #1 on: December 16, 2010, 03:05:25 pm »
I got:
Code: [Select]
FnOff:FnOn
DispGraph


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

Offline Runer112

  • Moderator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Ti-83+ Ti-Basic: Fastest Way to get the Graph Screen to redraw itself
« Reply #2 on: December 16, 2010, 03:26:21 pm »
I got:
Code: [Select]
Connected
DispGraph

EDIT: This command alone will always display and redraw the graph screen:
Code: [Select]
ZoomSto
« Last Edit: December 16, 2010, 03:38:06 pm by Runer112 »

Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Ti-83+ Ti-Basic: Fastest Way to get the Graph Screen to redraw itself
« Reply #3 on: December 16, 2010, 03:38:24 pm »
I got:
Code: [Select]
Connected
DispGraph

EDIT: I don't know if it's useful, but this command will always redraw and display the graph screen:
Code: [Select]
ZoomSto

Runer112, ZoomSto is quite useful, thanks a lot!  There's something called a regraph hook I want to use, and it only gets called when the graph redraws itself.  So ZoomSto is the best one yet!

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Ti-83+ Ti-Basic: Fastest Way to get the Graph Screen to redraw itself
« Reply #4 on: December 17, 2010, 12:37:49 am »
Well depending on what is being used you can also just call any of the window adjusting commands and that will force redraw it too. So unless your graphics rely on the coordinates you could use those too.
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline Scipi

  • Omni Kitten Meow~ =^ω^=
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1547
  • Rating: +192/-3
  • Meow :3
    • View Profile
    • ScipiSoftware
Re: Ti-83+ Ti-Basic: Fastest Way to get the Graph Screen to redraw itself
« Reply #5 on: December 17, 2010, 12:45:08 am »
ClrDraw is also an option.

Code: [Select]
:ClrDraw
:DispGraph

Imma Cat! =^_^= :3 (It's an emoticon now!)
Spoiler For Things I find interesting:
Spoiler For AI Programming:
Spoiler For Shameless advertising:

Spoiler For OldSig:





Spoiler For IMPORTANT NEWS!:
Late last night, Quebec was invaded by a group calling themselves, "Omnimaga". Not much is known about these mysterious people except that they all carried calculators of some kind and they all seemed to converge on one house in particular. Experts estimate that the combined power of their fabled calculators is greater than all the worlds super computers put together. The group seems to be holding out in the home of a certain DJ_O, who the Omnimagians claim to be their founder. Such power has put the world at a standstill with everyone waiting to see what the Omnimagians will do...

Wait... This just in, the Omnimagians have sent the UN a list of demands that must be met or else the world will be "submitted to the wrath of Netham45's Lobster Army". Such demands include >9001 crates of peanuts, sacrificial blue lobsters, and a wide assortment of cherry flavored items. With such computing power stored in the hands of such people, we can only hope these demands are met.

In the wake of these events, we can only ask, Why? Why do these people make these demands, what caused them to gather, and what are their future plans...