Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!um-math!sharkey!cfctech!teemc!hpftc!zardoz!henry.jpl.nasa.gov!elroy.jpl.nasa.gov!usc!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!CC.USU.EDU!KMILES
From: KMILES@CC.USU.EDU ("Kurt Miles, VAX Consultant")
Newsgroups: comp.sys.apple
Subject: How do you get shr graphics?
Message-ID: <8908301808.aa09901@SMOKE.BRL.MIL>
Date: 30 Aug 89 22:06:00 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The Internet
Lines: 38

I have what is probably a dumb question, easily answered in the references,
except that I don't have the references, and they are not locally available
(within a 1 or 2 hour drive).

I wrote a program to plot a mandelbrot function onto the shr screen.  i
generated the numbers on aVAX, and have them in an X Y COLOR format in a file.

The program reads the data fine, and switches to the shr screen, but doesn't
plot any colors.

The matrix is 200x200.  Using ORCA/C: 


startgraph(320);

  (do this 0->199 for n; 0->199 for m)
fscanf(fp,"%d %d %d",m,n,color);
SetSolidPenPat(color);
MoveTo(n,m);
LineTo(n,m);
  (repeat above till done)

endgraph;

What am I missing?  I know I'm new at this, but from the ORCA manual, it looks
like is _should_ work.

many thanks.

Kurt
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Kurt Miles                   |      GreyMan ------>    and the    <----- DRAGON 
KMILES@USU (Bitnet)          |      ...... remember, sometimes the DRAGON wins!
KMILES@CC.USU.EDU (Internet) |                                     ------
-------------------------------------------------------------------------------
Doctoral Student in Instructional Technology at Utah State University
"Dissertation?   Doesn't that come after dinner?  I like strawberry shortcake"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^