Need Graphics Programming Help (50G)


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.




You mean like this?


Grab the advanced users reference for complete command listing and more detailed programming info.



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.


Nevermind. I figured it out. Instead of


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.


Possibly Related Threads…
Thread Author Replies Views Last Post
  HP 50G serial port programming Chris Smith 2 1,403 06-15-2013, 02:47 PM
Last Post: Chris Smith
  hp 50g Programming David Sgroi 4 1,588 01-17-2013, 03:58 PM
Last Post: David Hayden
  Help - 50G C programming BruceH 4 1,530 09-29-2012, 10:14 AM
Last Post: David Hayden
  HP42S graphics Han 2 1,541 07-20-2012, 12:23 AM
Last Post: Raymond Del Tondo
  HP 50g Programming Brian Wort 1 971 07-06-2009, 06:26 PM
Last Post: Pal G.
  HP-67 Black Box for creating Word/Phrase/Graphics !! gileno 0 850 07-27-2008, 05:18 PM
Last Post: gileno
  50G Programming question Roger King 5 1,757 12-11-2007, 06:02 PM
Last Post: James M. Prange (Michigan)
  keybaord graphics fading? hal 6 1,680 03-04-2006, 04:04 PM
Last Post: Karl Schneider
  Custom Programming vs. Pre-packaged programming Eddie Shore 3 1,478 01-24-2005, 03:42 AM
Last Post: Karl Schneider
  hp4600-takes long to print graphics Edward Chinmook 0 576 10-27-2004, 08:13 PM
Last Post: Edward Chinmook

Forum Jump: