Cell Arrays - very large in PostScript land

From: Jeffrey Jonas (SSJAJ AT unknown)
Date: Thu Jul 20 1995 - 12:09:48 MDT


Dear NCAR Folks,

     This may be a problem with the translator, but I'm not sure.
     When generating a rectangular image but I do not want any kind
     of smoothing, instead of contouring the image I display the
     data using a cell array call (GCA). An example displaying a
     360x180 grid (igrd(360,180)) is below.

            call gca(x1,y1,x2,y2,360,180,1,1,360,180,igrd)

     This looks like it works fine when I examine my results using
     ctrans (i.e. ctrans gmeta), however then I create a PostScript
     file from this meta file (ctrans -d ps.color gmeta > foo) for
     high quality print-outs. The problem. The resulting
     PostScript file is very very large, to the point where we can
     not work with them easily, if at all. If you generate more than
     one such rectangular image on a page - forget it. This has
     prevented some people here from using NCAR Graphics for their
     images, which is disappointing because it is high quality.

     First question I guess is, are cell arrays what I should be
     using for this ?? I have reviewed the book several times and
     cell arrays seems to be just what I need. I want to display
     a grid of data, but I want to see each grid cell, I do not
     want the data smoothed. Also, displaying the 'gmeta' file
     is pretty quick. So I believe I am using the correct NCAR
     feature. If so then am I doing something wrong wrt the
     translation into PostScript ?? or is that simply the way
     it works with cell arrays ?? Perhaps there is a new and
     improved translator that has addressed this problem ?? Or
     am I the only one in the universe who has this problem ??
     I am currently using ctrans.3.2.1. Anybody have any ideas ??

                                                    Thanx

     Phone (212) 678-5501 Jeffrey Jonas

     E-mail ssjaj AT unknown NASA/Institute
                                                    for Space Studies



This archive was generated by hypermail 2b29 : Wed Jun 28 2000 - 09:40:25 MDT