Need Graphics Programming Help (50G)
#1

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

#2

You mean like this?

<< ERASE DRAW PICTURE >>

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

TW

#3

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.

#4

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



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

Forum Jump: