Need Graphics Programming Help (50G) - Printable Version +- HP Forums (https://archived.hpcalc.org/museumforum) +-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html) +--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html) +--- Thread: Need Graphics Programming Help (50G) (/thread-108996.html) |
Need Graphics Programming Help (50G) - Chuck - 02-24-2007 Fifteen years ago I was pretty adept at programming the 48SX. My, how time robs the memory. And it seems there are a few different commands with th 50G. I am trying to create a program the clears the PICT (ERASE, I presume, or creating a blank 131x80 GROB and stored in PICT) then displays the graphic screen and runs through a loop displaying points (plotting a dynamical system using a 2x2 stochastic matrix). Everything I try displays the graph AFTER it gets done plotting the points (or displays a blank graph and does nothing), but I want to see them plotted in real time. I know this is a simple matter and I did it 15 years ago, but it escapes me right now. Thanks!!
CHUCK
Re: Need Graphics Programming Help (50G) - Tim Wessman - 02-25-2007 You mean like this? << ERASE DRAW PICTURE >>
Grab the advanced users reference for complete command listing and more detailed programming info.
TW
Re: Need Graphics Programming Help (50G) - Chuck - 02-25-2007 Nope. That doesn't do it because I'm not graphing an equation, and without something stored in 'eq' it gives an error. All I need to do is activate the graphing window, and have my program provide the points to plot. I'll dig up my olde 48 manuals. Even the 800 page advanced manual for the 50G leaves out a lot of functions. I'll keep trying.
Re: Need Graphics Programming Help (50G) - Chuck - 02-25-2007 Nevermind. I figured it out. Instead of ERASE {} PVIEW which centers the PICT variable, but doesn't interactively show you PICT, one needs to use ERASE { # 0d # 0d} PVIEW which places PICT in the upper left corner (equivalent to centering it) but, more importantly, actually shows the points being plotted instead of waiting until the end. Strange quirk if you ask me.
CHUCK
|