* WalrusIRC

You need to have 5 posts and not be part of restricted usergroups in order to use the WalrusIRC embedded shoutbox. However, you can also access our IRC channel called #CodeWalrus via EFnet.

Author Topic: GraphSet CE  (Read 1097 times)

0 Members and 1 Guest are viewing this topic.

Offline Jkolade936

  • All Around Coolio
  • Super User
  • Join Date: Jan 2016
  • Location: Horseheads, NY
  • Posts: 1515
  • Post Rating Ratio: +9/-1
  • I'm an unknown loner. I try to change that.
    • Jkolade936
    • View Profile
    • My Sprites and Walrii Collection
  • Gender: Male
GraphSet CE
« on: March 08, 2016, 01:50:44 am »
I taught myself some TI-BASIC programming concepts overnight, and programmed this:



What do you think? I could probably use some optimizations, so I'm posting it here.
It currently carries out the same functions as Nitro_Hawk's Graph Fix program, toggles Plots(on/off), toggles Diagnostics, and "Enters Workmode."

Work mode is just my custom preferred graph settings. I left this unlocked so users can customize their own WorkMode, but I don't know how
to comment in TI-BASIC, if it's possible. I also named the program GraphSet CE just in case I decide to make a monochrome version, because my program
uses functions (like GridLine) that monochromes lack.

Maybe someone could also test it on the CSE? I don't know if the CSE can have a Line grid.

EDIT
The current program is attached. When it's been evaluated and considered complete, I'll upload it elsewhere.
Code: [Select]
ClrHome
Lbl 1
Menu("       GRAPHSET CE            ","Wo[r]kmo[|d][|e]",A1,"R[|e][s][|e][t] G[r][|a][p]h",A2,"Di[|a]g[n]o[s][t]i[|c][s]",A3,"Plo[t][s](O[n]/Off)",A4,"EXIT",A5
Lbl A5
Pause "C[r][|e][|a][t][|e][|d] By: Joh[n] Kol[|a][|d][|e]",0.8
ClrHome
Stop
Lbl A2
Output(1,1,"S[|e][t][t]i[n]g G[r][|a][p]h D[|e]f[|a]|ul[t][s]..."
Output(2,1,"D[|e]f[|a]|ul[t][s] [s][|e][t]."
Pause
ClrHome
RectGC
CoordOn
GridOff
AxesOn
LabelOff
BorderColor 1
BackgroundOff
DetectAsymOn
DelVar {Y1}DelVar {Y2}DelVar {Y3}DelVar {Y4}DelVar {Y5}DelVar {Y6}DelVar {Y7}DelVar {Y8}DelVar {Y9}DelVar {Y0}
~10->Xmin:10->Xmax
~10->Ymin:10->Ymax
1->Xscl:1->Yscl
DiagnosticOff
PlotsOff
ClrHome
Goto 1
Lbl A1
Output(1,1,"E[n][t][|e][r]i[n]g Wo[r]kmo[|d][|e]...
Output(2,1,"Do[n][|e]! G[|e][t] [t]o i[t]!
Pause
ClrHome
BackgroundOff
GridLine MedGray
LabelOn
CoordOn
RectGC
AxesOn
BorderColor 1
DetectAsymOn
Goto 1
Lbl A3
Menu("Di[|a]g[n]o[s][t]i[|c][s]","O[n]",B1,"Off",B2,"Return",1
Lbl B1
Output(1,1,"Di[|a]g[n]o[s][t]i[|c][s] ENABLED.
Pause
DiagnosticOn
ClrHome
Goto A3
Lbl B2
Output(1,1,"Di[|a]g[n]o[s][t]i[|c][s] DISABLED."
Pause
DiagnosticOff
ClrHome
Goto A3
Lbl A4
Menu("Plo[t][s](O[n]/Off)","O[n]",C1,"Off",C2,"Return",1
Lbl C1
Output(1,1,"Plo[t][s] ON."
Pause
PlotsOn
ClrHome
Goto A4
Lbl C2
Output(1,1,"Plo[t][s] OFF."
Pause
PlotsOff
ClrHome
Goto A4
« Last Edit: April 27, 2016, 03:40:22 am by DJ Omnimaga »


  • Calculators owned: None of them. :'(
Does this qualify as a signature? 
The answer is "Sure."


Offline DJ Omnimaga

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Topic Management
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 17434
  • Post Rating Ratio: +83/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • View Profile
    • DJ Omnimaga music store
  • Gender: Male
Re: GraphSet CE
« Reply #1 on: March 09, 2016, 01:12:55 am »
Something I want to point out is that most of the features in this program can already be achieved from the TI-OS, such as via the F1 to F5 keys and VARS/Y-VARS, but it's definitively a good way to get started with TI-BASIC, especially that you'll most likely use the Menu() command for your early games and probably need a few of the graphing commands at some point or another for various programs.

EDIT: Some stuff works on monochrome models but of course text is off the screen and you get ERR:VERSION when trying Work Mode and Graph reset options since monochrome models lacks the BackgroundOff/On command and some stuff.
« Last Edit: March 09, 2016, 01:21:11 am by DJ Omnimaga »
  • Calculators owned: TI-73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX, HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline Jkolade936

  • All Around Coolio
  • Super User
  • Join Date: Jan 2016
  • Location: Horseheads, NY
  • Posts: 1515
  • Post Rating Ratio: +9/-1
  • I'm an unknown loner. I try to change that.
    • Jkolade936
    • View Profile
    • My Sprites and Walrii Collection
  • Gender: Male
Re: GraphSet CE
« Reply #2 on: March 09, 2016, 01:20:39 am »
I know; I just wanted to expand on Nitro_Hawk from Cemetech's Reset Graph program. This does the same things as his program, but with a little extra.
I BASICally just put this all together in a program to actually get something done and release it. I also wanted a way to just hit a button and set all of my favorite settings at once.

Well, unless there's a command that deletes all your Y-vars at once, turns off plots and diagnostics, sets the bounds to default,  turns labels off, and all the other graph defaults without setting all the other defaults back to the original and doesn't clear my RAM, then I think this program is not completely useless.
  • Calculators owned: None of them. :'(
Does this qualify as a signature? 
The answer is "Sure."


Offline DJ Omnimaga

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Topic Management
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 17434
  • Post Rating Ratio: +83/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • View Profile
    • DJ Omnimaga music store
  • Gender: Male
Re: GraphSet CE
« Reply #3 on: March 09, 2016, 01:22:46 am »
Actually I edited my post because I realized you also mess with the BackgroundOff and stuff, which aren't supported on the monochrome models. And yeah I don't think there is a command that deletes all Y vars at once. We can turn On/Off stat plots and disable Y vars from single commands, though.
  • Calculators owned: TI-73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX, HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline Jkolade936

  • All Around Coolio
  • Super User
  • Join Date: Jan 2016
  • Location: Horseheads, NY
  • Posts: 1515
  • Post Rating Ratio: +9/-1
  • I'm an unknown loner. I try to change that.
    • Jkolade936
    • View Profile
    • My Sprites and Walrii Collection
  • Gender: Male
Re: GraphSet CE
« Reply #4 on: March 09, 2016, 01:25:21 am »
BackgroundOff, BorderColor, Axe On (color) and such are the things I added to my reset section that were
not originally in Nitro_Hawk's creation. But if there was a single command that could be customized that was not a program,
that would be awesome.
  • Calculators owned: None of them. :'(
Does this qualify as a signature? 
The answer is "Sure."


Offline DJ Omnimaga

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Topic Management
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 17434
  • Post Rating Ratio: +83/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • View Profile
    • DJ Omnimaga music store
  • Gender: Male
Re: GraphSet CE
« Reply #5 on: March 09, 2016, 03:20:10 am »
Actually, AxesOn exist on the 83+, just not with extra color argument support.
  • Calculators owned: TI-73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX, HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline Jkolade936

  • All Around Coolio
  • Super User
  • Join Date: Jan 2016
  • Location: Horseheads, NY
  • Posts: 1515
  • Post Rating Ratio: +9/-1
  • I'm an unknown loner. I try to change that.
    • Jkolade936
    • View Profile
    • My Sprites and Walrii Collection
  • Gender: Male
Re: GraphSet CE
« Reply #6 on: March 09, 2016, 05:18:07 am »
I know that-my old calc was an 84+.
I just put that I included the color argument to make a point.
  • Calculators owned: None of them. :'(
Does this qualify as a signature? 
The answer is "Sure."


Offline DJ Omnimaga

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Topic Management
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 17434
  • Post Rating Ratio: +83/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • View Profile
    • DJ Omnimaga music store
  • Gender: Male
Re: GraphSet CE
« Reply #7 on: March 10, 2016, 07:56:14 pm »
Oh I see what you mean now.
  • Calculators owned: TI-73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX, HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline Jkolade936

  • All Around Coolio
  • Super User
  • Join Date: Jan 2016
  • Location: Horseheads, NY
  • Posts: 1515
  • Post Rating Ratio: +9/-1
  • I'm an unknown loner. I try to change that.
    • Jkolade936
    • View Profile
    • My Sprites and Walrii Collection
  • Gender: Male
Re: GraphSet CE
« Reply #8 on: March 10, 2016, 10:24:53 pm »
Well, since no one's offered any optimizations or feedback code-wise, I'm going to start uploading it in other places.
You can put it in the archives if you want.
  • Calculators owned: None of them. :'(
Does this qualify as a signature? 
The answer is "Sure."


Offline DJ Omnimaga

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Topic Management
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 17434
  • Post Rating Ratio: +83/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • View Profile
    • DJ Omnimaga music store
  • Gender: Male
Re: GraphSet CE
« Reply #9 on: March 11, 2016, 06:10:02 am »
I'll check with the other staff if we can include non-game programs in the archives. We might need to split it in two sections, since we only have games right now. (I would prefer that the Emulators page appears in both, tho)
  • Calculators owned: TI-73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX, HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline Jkolade936

  • All Around Coolio
  • Super User
  • Join Date: Jan 2016
  • Location: Horseheads, NY
  • Posts: 1515
  • Post Rating Ratio: +9/-1
  • I'm an unknown loner. I try to change that.
    • Jkolade936
    • View Profile
    • My Sprites and Walrii Collection
  • Gender: Male
Re: GraphSet CE
« Reply #10 on: March 11, 2016, 02:15:49 pm »
I think it should be fine, as the category says "Games & Programs," not just games, but splitting would be ideal.
And placing the Emulators page in both would be good, because you can use emulators for games & other programs.
  • Calculators owned: None of them. :'(
Does this qualify as a signature? 
The answer is "Sure."


Offline DJ Omnimaga

  • Omni founder & CW co-founder
  • CodeWalrus Staff
  • Super User
  • Forum Maintenance
  • Original 5
  • CodeWalrus Supporter
  • *
  • Topic Management
  • Join Date: Nov 2014
  • Location: Quebec, Canada
  • Posts: 17434
  • Post Rating Ratio: +83/-4
    • dj_omnimaga
    • DJOmnimaga.music
    • @DJOmnimaga
    • dj_omnimaga
    • @DJOmnimaga
    • /u/DJ_Omnimaga
    • DJOmnimaga
    • 112/11286
    • @djomnimaga
    • @DJOmnimaga
    • View Profile
    • DJ Omnimaga music store
  • Gender: Male
Re: GraphSet CE
« Reply #11 on: March 19, 2016, 06:54:42 am »
Yeah it looks like the consensus is that we will split the category in the future. So I'll add this program when I have time (I'll also edit the title to make the tags in the same format as the rest of the files)
  • Calculators owned: TI-73, TI-80 (broken), TI-81, TI-82, TI-83, TI-83+ (broken), TI-83+ (broken), TI-83+SE (broken), TI-84+, TI-84+CSE, TI-84+CE, TI-85, TI-86, TI-89T, TI-92, TI-Nspire, TI-Nspire CX, HP 39gII, HP Prime, Casio fx-7000G, fx-7400G+, fx-7700GE, fx-9750G+, fx-9750GII, fx-9860G, cfx-9850G, FX-1.0+, fx-CG10, fx-CP400
  • Consoles, mobile devices and vintage computers owned: Samsung i5510, Nexus 5, Atari 2600, Lynx, SMS, Game Gear, Genesis, Dreamcast, NES, SNES, N64, GCN, Wii, Wii U, GBA, DS, 3DS, PS2, PS3, PS4, PSP, PSVita, XBox 360, XBOne

Bandcamp|Reverbnation|Facebook|Youtube|Twitter
Retired Omnimaga admin (2001-11) and editor (2012-14)

Offline Jkolade936

  • All Around Coolio
  • Super User
  • Join Date: Jan 2016
  • Location: Horseheads, NY
  • Posts: 1515
  • Post Rating Ratio: +9/-1
  • I'm an unknown loner. I try to change that.
    • Jkolade936
    • View Profile
    • My Sprites and Walrii Collection
  • Gender: Male
Re: GraphSet CE
« Reply #12 on: March 19, 2016, 06:22:02 pm »
Oh, alright. Thanks!
  • Calculators owned: None of them. :'(
Does this qualify as a signature? 
The answer is "Sure."


 


You can also use the following HTML or bulletin board code to share it on your page or forum signature!


Also do not forget to check our affiliates below.
Planet Casio TI-Planet Calc.news BroniesQC BosaikNet Velocity Games