home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / softsys / matlab / 145 < prev    next >
Encoding:
Internet Message Format  |  1993-01-25  |  2.0 KB

  1. Path: sparky!uunet!cs.utexas.edu!geraldo.cc.utexas.edu!slcs.slb.com!leo.asc.slb.com!leo.asc.slb.com!gray
  2. From: gray@snow.scr.slb.com (Douglas Gray Stephens)
  3. Newsgroups: comp.soft-sys.matlab
  4. Subject: Re: Purpose of %%BeginPreview ... %%EndPreview in eps files
  5. Date: 25 Jan 93 09:45:38
  6. Organization: Schlumberger Cambridge Research
  7. Lines: 35
  8. Message-ID: <GRAY.93Jan25094538@snow.scr.slb.com>
  9. References: <JNICOLAS.93Jan23001608@image.mit.edu>
  10. NNTP-Posting-Host: snow.scr.slb.com
  11. In-reply-to: jnicolas@image.mit.edu's message of Sat, 23 Jan 1993 05:16:08 GMT
  12.  
  13. In article <JNICOLAS.93Jan23001608@image.mit.edu> jnicolas@image.mit.edu (Julien Nicolas) writes:
  14.  
  15.    Eps files generated with 'print -deps' are huge. Unecessarily so it
  16.    seems. They contain, at least under 4.0, a section with no information:
  17.  
  18.    %%BeginPreview: 560 420 1 420
  19.    %ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
  20.    ...
  21.    %%EndPreview
  22.  
  23.  
  24. MathWorks has always failed to generate good Encapsulated PostScript.
  25. The PostScript Language Reference manual states that only required header
  26. comments are:-
  27.  
  28.        %!PS-Adobe-3.0 EPSF-3.0
  29.        %%BoundingBox llx lly urx ury
  30.  
  31. The preview image is required for Encapsulated PostScript interchange
  32. format (EPSI) files, but matlab's print refers to EPSF files, which do
  33. not require the image.
  34.  
  35. I believe that MathWorks had several discussions about this, and I'm
  36. glad to say that version 4.0a corrects this feature, so the print
  37. command now has an optional "-preview" argument.
  38.  
  39. I wish that MathWorks get its house in order and generate the correct
  40. BoundingBox for its EPS files.
  41.  
  42. --
  43. ----------------------------------------------------------------------------
  44. Dr. Douglas GRAY STEPHENS                e-mail : gray@scr.slb.com   
  45. Schlumberger Cambridge Research          Tel/fax: 0223-325303 / 0223-311830
  46. P.O.Box 153, Cambridge CB3 0HG, England  (International prefix for UK: 44)
  47. ============================================================================
  48.