home *** CD-ROM | disk | FTP | other *** search
/ DTP en Graphics 1 / dtpgraf1.zip / dtpgraf1 / DTP / PICTHIS4 / MANUAL6.TXT < prev    next >
Text File  |  1991-12-31  |  51KB  |  890 lines

  1.          PICTURETHIS(TM) "SHAREWARE" VERSION
  2.  
  3.          RELEASE 4.00
  4.  
  5.          DECEMBER 31, 1991
  6.  
  7.          USER MANUAL, PART 6 OF 7 PARTS
  8.  
  9.  
  10.          Copyright 1988, 1989, 1990, 1991 by Patricia Y. Williams and
  11.            Gregory Williams, All Rights Reserved.
  12.  
  13.          HortIdeas Publishing, 460 Black Lick Road, Gravel Switch,
  14.            KY 40328 U.S.A.
  15.  
  16.  
  17.          19.7. SHELLING TO DOS
  18.  
  19.            PictureThis allows you to "shell" to DOS, so you can use
  20.          the normal DOS facilities WITHOUT a "normal" exit from
  21.          PictureThis. At the files menu, press D. When you do this,
  22.          one of two error messages might appear. If the valid
  23.          COMMAND.COM file is not in the current directory or in a
  24.          path specified in your COMSPEC specification (see your DOS
  25.          manual), you get an error message, and you aren't allowed to
  26.          shell to DOS. If COMMAND.COM is found, but there is
  27.          insufficient memory to shell, you get an different error
  28.          message, and you aren't allowed to shell to DOS.
  29.            If no problems are encountered, the DOS prompt appears,
  30.          and you can carry out normal DOS functions. (But note that
  31.          the PictureThis program is still taking up a considerable
  32.          amount of memory!) When you want to return to PictureThis,
  33.          at the DOS prompt, key in "EXIT" (or "exit"), then press
  34.          Enter. PictureThis reappears in the "FREE" state.
  35.  
  36.          19.8. PLOTTING DATA FROM A FILE
  37.  
  38.            This feature allows two-dimensional plotting of data
  39.          points, using numerical data files. Point or line plots can
  40.          be made, and (assuming that there is sufficient memory),
  41.          objects can be copied to some of the points. Axes, labels,
  42.          notes, etc., can be added to plots as desired.
  43.            We recommend the file extension .DAT for data files used
  44.          with PictureThis. Such data files must be in pure-ASCII
  45.          format (capable of being edited by a text editor or word
  46.          processor in "non-document" or "non-formatted" mode), with
  47.          the following characteristics:
  48.            1. Each line must end with a carriage return and a line
  49.          feed.
  50.            2. Each "comment" line must begin with an equals sign (=).
  51.          Such lines are ignored by PictureThis. Any line containing
  52.          only a carriage return and a line feed also is ignored.
  53.            3. Each data line must contain alphanumeric strings
  54.          (fields) separated by these delimiters: space (" "), tab
  55.          (^I, "        "), comma (","), semicolon (";"), colon (":"),
  56.          or dollar sign ("$"). Between any two fields, there can be a
  57.          single instance of the one of the above delimiters, preceded
  58.          and/or followed by one or more spaces. A data line can begin
  59.          with one or more spaces, but there must not be any other
  60.  
  61.                                         83
  62.  
  63.          delimiter before the first field.
  64.            4. Only numeric strings can be parsed by PictureThis for
  65.          plotting. Attempts to use non-numeric strings for plotting
  66.          will produce error messages. A valid numeric string can
  67.          begin with a plus sign ("+"), a minus sign ("-"), a decimal
  68.          point/period ("."), or a digit ("0" through "9"). It can
  69.          have several digits (and a decimal point if necessary) in
  70.          its mantissa (just how many digits, we're not sure; we do
  71.          know that a 15-digit mantissa works fine), then an exponent
  72.          (power of 10) beginning with "E" (same as "e") or "D" (same
  73.          as "d"), and followed by a plus sign, a minus sign, or a
  74.          digit. The exponent must be an integer. There must not be a
  75.          space between the mantissa and the exponent. Acceptable
  76.          numbers are between -1.7E308 and 1.7E308. A number with
  77.          absolute value less than about 1E-45 is turned into zero.
  78.            The next few paragraphs follow the steps in the plotting
  79.          procedure; in general, you can press Esc to back out
  80.          (usually, but not always, to the previous step).
  81.            Assuming that PictureThis can access a valid data file
  82.          (two such files are provided on one of the distribution
  83.          disks: TEST1.DAT and TEST2.DAT), access the file menu by
  84.          pressing F10, then press U (for "UseDAT"). Key in a new
  85.          path, if necessary, press Enter to see your choices, and
  86.          select a file as usual, or key in a file name and press
  87.          Enter.
  88.            PictureThis plots a series of points (x,y) (possibly
  89.          connected by lines) on the drawing screen, with x measured
  90.          along the horizontal direction and y measured along the
  91.          vertical direction. You can choose which field in each of
  92.          the lines of the data file corresponds to x, and which
  93.          corresponds to y. In other words, the data file is treated
  94.          as being organized into "columns" of data. The default for x
  95.          is the first field in each row. Press Enter to confirm the
  96.          default, or key in a different field (up to 99). Or you can
  97.          key in "0" to input your own (equispaced) x values; you'll
  98.          be prompted for a starting x and an x increment. Next,
  99.          choose which field corresponds to y; the default is the
  100.          second field. You can key in "0" for the y field ONLY if you
  101.          DIDN'T key in "0" for the x field. Again, if you specify a
  102.          field which contains a non-numeric string in any line,
  103.          you'll see an error message.
  104.            You see how many (x,y)-pairs are in the data file and how
  105.          many pairs can be plotted (as endpoints), given the existing
  106.          memory capacity of PictureThis. You are asked to enter the
  107.          number of the starting pair (press Enter to confirm the
  108.          default: the first pair in the file). The ability to choose
  109.          the starting-pair number is important when you want to plot
  110.          more points than memory allows, as discussed below.
  111.            One way to get around memory limitations and/or make a
  112.          plot easier to read is by plotting only every nth pair in
  113.          the data file. The default for n is 1 (no pairs are
  114.          skipped). The maximum allowable value of n is the number of
  115.          pairs in the file minus the starting-pair number minus one,
  116.          so that a minimum of two pairs will be plotted. That is,
  117.          they will be plotted in theory -- assuming that there is
  118.          enough memory, and that none of the pairs lie outside the
  119.          boundaries to be specified by you (see below).
  120.            Next, you see the total number of points which can be
  121.          plotted, taking into account current memory limits. Each
  122.          point plotted is one PictureThis curve. The number of points
  123.  
  124.                                         84
  125.  
  126.          which can be plotted might not be as large as you want, but
  127.          later, as explained below, you'll be able to make an EPS
  128.          file with ALL of the data points you want to plot,
  129.          regardless of memory constraints. An Enter accepts the
  130.          default. Don't forget to leave some room in memory for non-
  131.          plot curves (borders, tick marks, etc.) and text to be added
  132.          later, if appropriate (such curves and text could be placed
  133.          on a separate drawing and merged later; see below).
  134.            If ALL of the x's in the data file (including those which
  135.          won't be plotted "in theory") are greater than zero, then
  136.          you're asked if the x-axis should be scaled logarithmically.
  137.          Enter selects no logarithmic scaling. The same holds for
  138.          logarithmic scaling of the y-axis.
  139.            Now move the cursor to a position (XLOW, YLOW), such that
  140.          all plotted x's are greater than or equal to XLOW, and all
  141.          plotted y's are greater than or equal to YLOW (you'll be
  142.          prompted to do this only if you have the help toggle set to
  143.          "H+"). Press F3 to place a noted point and see the next two
  144.          query boxes in turn: you can choose XLOW (the default is
  145.          XMIN, the minimum x value in the data file) and then YLOW
  146.          (the default is YMIN, the minimum y value in the data file).
  147.          ANY (x,y)-PAIRS IN THE FILE WITH x LESS THAN XLOW OR y LESS
  148.          THAN YLOW WILL NOT BE PLOTTED. Repeat cursor positioning and
  149.          choice of values for (XHIGH,YHIGH). ANY (x,y)-PAIRS IN THE
  150.          FILE WITH x GREATER THAN XHIGH OR y GREATER THAN YHIGH WILL
  151.          NOT BE PLOTTED. PictureThis won't allow you to choose noted
  152.          point positions or numerical values such that XLOW equals
  153.          XHIGH or YLOW equals YHIGH.
  154.            As noted above, data points can be plotted either as
  155.          individual points (dots) or as lines connecting successive
  156.          points. Plotted dots or lines are drawn as per current
  157.          settings for weight, gray, linecap, dash, and join, as soon
  158.          as you choose dots (press D) or lines (press L). (Dots will
  159.          NOT appear on the Quickshow screen or PostScript output if
  160.          they are dashed or if their linecap is not round.) Plotted
  161.          lines automatically form a trail. Note that if the x's or
  162.          the y's in the data file were not sorted in ascending or
  163.          descending order, some of the lines might cross each other.
  164.            The final report on plotting shows how many points
  165.          actually were plotted -- note that data-file pairs lying
  166.          outside the boundaries you specified were NOT plotted. Also
  167.          reported is the number of the last pair actually plotted
  168.          (not equal to how many points actually were plotted unless n
  169.          was one, the starting pair was one, and no pairs read from
  170.          the data file were outside the boundaries).
  171.            NOTE: If, due to memory limitations, only SOME of the
  172.          pairs in the file which you wanted to plot actually were
  173.          plotted, you can save the current drawing and its EPS file,
  174.          clear the screen, and plot more pairs on a second drawing,
  175.          BEGINNING WITH THE LAST PAIR ACTUALLY PLOTTED AND USING THE
  176.          SAME VALUES FOR n, XLOW, YLOW, XHIGH, YHIGH, AND DRAWING
  177.          SCREEN PARAMETERS SUCH AS FRAME AND SCALING. This can be
  178.          repeated as necessary, and then all of the resulting EPS
  179.          files can be concatenated into a single file using a text
  180.          editor or word processor which reads and writes pure-ASCII
  181.          files. Before sending the consolidated file to a PostScript-
  182.          compatible printer, you'll need to search for and remove the
  183.          word "showpage" (which appears only once in each of the
  184.          concatenated files) IN ALL BUT THE LAST OF THE CONCATENATED
  185.          files, and, if you used fonts which must be downloaded to
  186.  
  187.                                         85
  188.  
  189.          your printer/typesetter, you'll need to make sure that ALL
  190.          of the required fonts (specified at the end of each
  191.          component file) are specified at the end of the consolidated
  192.          file.
  193.            You can use the noted points at opposite corners of the
  194.          plotting boundary to help with positioning of axes and
  195.          labels. You might want to draw a construction-line (-1
  196.          weight) box connecting the noted points, then place scales
  197.          along one or more of the box sides. We recommend the
  198.          following procedure for adding scales: draw a vertical or
  199.          horizontal scale of arbitrary size and position (possibly
  200.          using a data file to aid positioning of tick marks --
  201.          especially for a log scale), copy it so one point on the
  202.          scale is where you want it, then scale it so a second point
  203.          is where you want it.
  204.            Since all plotted dots and lines are PictureThis curves,
  205.          they can be manipulated in many ways. In particular, you can
  206.          use plotted endpoints as positioning elements for other
  207.          curves. If plotted dots/lines are construction lines, they
  208.          won't show up in the final output. Provided that there is
  209.          enough memory available, you can copy objects (for example,
  210.          special plotting symbols, text characters, or even complex
  211.          drawings) on top of plotted points (so each resultant
  212.          plotted "point" could be, say, a 50%-gray diamond with a
  213.          cross in it, or a 10-point "3" set in Palatino Italic, or a
  214.          fancy logo). This is via automatic multicopying of objects
  215.          to points on the plot (see Section 17.7). The plot must be a
  216.          series of lines (automatically forming a trail) for
  217.          multicopying.
  218.  
  219.          20. UNITS AND POSITION BOXES
  220.  
  221.            PictureThis allows you to specify the units you want to
  222.          work in. When PictureThis is loaded, the units initially are
  223.          PostScript points (1 PS point = 1/72").
  224.            PictureThis has two position boxes to tell you the
  225.          distance of the cursor from the corner of the frame and the
  226.          relative position of the cursor to some previously specified
  227.          point.
  228.  
  229.          20.1. CHANGING THE CURRENT UNIT
  230.  
  231.            To change the current unit, press F9. The state changes to
  232.          "MISC," and the miscellaneous menu appears. To change the
  233.          current unit, press U. The unit menu appears. The first
  234.          element in the menu shows the current units (abbreviated).
  235.          To choose new units, press X for pixels ("PX"), I for inches
  236.          ("IN"), P for picas and points ("PP"), T for points ("PT"),
  237.          C for centimeters ("CM"), or M for millimeters ("MM"). (A
  238.          (PostScript) point is EXACTLY 1/72"; a (PostScript) pica is
  239.          12 points or EXACTLY 1/6".) If the chosen units are NOT
  240.          pixels, you see a further prompt asking if you want to
  241.          measure from the top or the bottom of the frame (the
  242.          horizontal measurement is always from the left edge of the
  243.          frame, positive from left to right). Pixels always are
  244.          measured from the top of the frame (positive downward).
  245.          Press T if you want to measure the vertical units from the
  246.          top of the frame (positive downward), B if you want to
  247.          measure from the bottom of the frame (positive upward). The
  248.          "FREE" state returns, and measurements in the position boxes
  249.  
  250.                                         86
  251.  
  252.          are in the new units. If you have toggled on the status box
  253.          (see Section 4.3), the current units (abbreviated) appear as
  254.          the rightmost element in the box.
  255.            Not only are the measurements shown in the current units,
  256.          but also the cursor moves in increments related to the
  257.          units. If the units are pixels, the cursor moves in pixels
  258.          (the CGA screen is 320 pixels horizontally and 200 pixels
  259.          vertically; EGA is 640 pixels by 350 pixels; VGA is 640
  260.          pixetls by 480 pixels): either 1 pixel or 10 pixels. The
  261.          cursor moves the same distance when a particular cursor key
  262.          is pressed at any magnification, but it moves different
  263.          distances for a cursor press in the horizontal direction
  264.          than in the vertical direction, because CGA screen pixels
  265.          are not square.
  266.            For units other than pixels, the cursor moves in "real-
  267.          world" units (or a multiple of real-world units), so the
  268.          actual movement depends on the current magnification (see
  269.          Section 6.1), scale (see Section 22.2), and aspect ratio
  270.          (see Section 24). So, for one cursor press, the cursor moves
  271.          24 times as far on the 2400% screen, 12 times as far on the
  272.          1200% screen, six times as far on the 600% screen, three
  273.          times as far on the 300% screen, and one-half as far on the
  274.          50% screen as it moves on the 100% screen. The cursor
  275.          movement for one cursor press at a cursor speed of 1 is
  276.          shown in the following table.
  277.  
  278.          UNIT            CURSOR MOVEMENT INCREMENT
  279.  
  280.          inches          1/100 inch
  281.          points          1 PostScript point (1/72")
  282.          picas & points  1 PostScript point (1/72")
  283.          centimeters     1/10 cm (1 mm)
  284.          millimeters     1 mm
  285.  
  286.          If the (fast or slow) cursor speed is changed (see Section
  287.          21.1), one cursor press will move the cursor n times the
  288.          "cursor movement increment" in the above table, where n is
  289.          the cursor speed.
  290.  
  291.          20.2. CURRENT POSITION BOX
  292.  
  293.            The current position box is toggled on by pressing P. (If
  294.          you press P again, the relative position box also is toggled
  295.          on (see Section 20.4). A third press turns both boxes off.)
  296.            The current position box appears at the lower right corner
  297.          of the screen; it contains two numbers. The left number is
  298.          the horizontal distance of the cursor from the left edge of
  299.          the frame, specified in the current units; the right number
  300.          is the vertical distance of the cursor from the frame origin
  301.          (top or bottom (see Section 22)), also specified in the
  302.          current units. (Unless the current units are pixels, in
  303.          which case the position box numbers are in "internal units"
  304.          (see Section 20.3).) If the current units are picas and
  305.          points, the numbers are displayed as XXX&YY, where XXX is
  306.          picas and YY is points (example: 12&11 means 12 picas and 11
  307.          points; remember, 1 pica equals 12 points).
  308.  
  309.          20.3. INTERNAL UNITS
  310.  
  311.            PictureThis saves the position of the cursor and all
  312.  
  313.                                         87
  314.  
  315.          elements of drawings in "internal units" (ius). These are
  316.          integer values, so most internal calculations use integers
  317.          instead of floating point numbers (making the calculations
  318.          faster and the drawing files smaller). Ius are smaller than
  319.          pixels on all screens except the 2400% screen (where each
  320.          pixel corresponds to an iu), and this allows both extremely
  321.          high resolution in the final output and precise cutting,
  322.          smoothing, and object manipulations (scaling, rotation,
  323.          etc.).
  324.            You also can move the cursor in internal units for
  325.          extremely fine cursor placement. To move in internal units,
  326.          press I. The cursor now moves in 1 or 10 internal unit
  327.          increments. To return to "external units," press I again.
  328.          The fourth character from the right in the status box is an
  329.          "I" if the cursor is moving in ius; it is an "E" if the
  330.          cursor is moving in external units; it is a "G" if the grid
  331.          is active (see Section 21.3)). The number following this
  332.          indicator is the current cursor speed. When "I" is toggled,
  333.          the numbers in the position box still are in the current
  334.          units.
  335.  
  336.          20.4. RELATIVE POSITION BOX
  337.  
  338.            The relative position box gives information about the
  339.          position of the cursor RELATIVE to a previously set point
  340.          (which depends on the current state). It can be toggled on
  341.          when the current position box is on by pressing P, and it
  342.          can be toggled off again (along with the current position
  343.          box) by pressing P again. (P is a 3-way toggle.)
  344.            There are four standard components of the relative
  345.          position box: horizontal difference, vertical difference,
  346.          distance, and angle (measured in degrees clockwise from a
  347.          (conceptual) horizontal line extending to the right of the
  348.          previously specified point). These numbers all are expressed
  349.          in the current units. (The distance for pixels is expressed
  350.          in HORIZONTAL internal units; one vertical iu is NOT as long
  351.          as one horizontal iu!) The previously specified point for
  352.          each state is as shown in the following table.
  353.  
  354.          STATE     POINT MEASURED FROM
  355.  
  356.          LINE      first endpoint
  357.          CURVE     endpoint associated with current control point
  358.          CHANGE    endpoint associated with current control point
  359.          BOX       original box corner
  360.          SQUARE    original square corner
  361.          OVAL      center of oval
  362.          FRAME     original frame corner
  363.          GRID      current grid origin
  364.          MOVE      start point
  365.          COPY      start point
  366.          SCALE     anchor point until "F2"
  367.          ROTATE    anchor point until "F2"
  368.          FLIP      1st flipline point
  369.          MEASUR    point at which you pressed "M"
  370.          TMPMOV    start point
  371.          USEDAT    (XLOW,YLOW)
  372.  
  373.          For states not included in the above table, the relative
  374.          position box is empty.
  375.  
  376.                                         88
  377.  
  378.            There are three special relative position box values. If
  379.          the relative position box is on while scaling an object,
  380.          after you press F2 to set the 100% scaling line, the
  381.          horizontal and vertical scale factors are shown (see Section
  382.          17.3). During rotation of an object, the rotation angle is
  383.          shown (see Section 17.4), and during inclination of an
  384.          object, the inclination angle is shown (see Section 17.6).
  385.            Note: The information displayed in the relative position
  386.          box is calculated using floating point calculations for all
  387.          units. If you do not have a math coprocessor, calculations
  388.          are slower when the relative position box is toggled on. If
  389.          you are not using the information, toggle the box off for
  390.          more speed.
  391.  
  392.          21. CURSOR SPEED AND GRID
  393.  
  394.            Cursor movements can be changed in two more ways. The slow
  395.          and fast cursor speeds can be changed, and the cursor can be
  396.          restricted to snap-to a user-settable grid.
  397.  
  398.          21.1. CHANGING THE SLOW AND FAST CURSOR SPEEDS
  399.  
  400.            The cursor can move at either one slow cursor speed per
  401.          press or at one fast cursor speed per press. You can toggle
  402.          between these two speeds with the Ins key. The slow and fast
  403.          cursor speeds are initially set to 1 and 10 cursor
  404.          increments (as specified in the table in Section 20.1, e.g.,
  405.          1 and 10 points) but can be changed to any value from .1 to
  406.          99.9 (except if the current unit is pixels). To change the
  407.          cursor speeds, press F9 to get to the miscellaneous menu.
  408.          Then press C. A prompt appears with the current fast cursor
  409.          speed shown on its first line. To change the fast cursor
  410.          speed, enter a different value. You can then change the slow
  411.          cursor speed similarly. The next-to-last element of the
  412.          status box is the current cursor speed.
  413.  
  414.          21.2. SETTING THE GRID
  415.  
  416.            The cursor can be constrained to move on a user-settable
  417.          grid. To set the grid, press F9 to get to the miscellaneous
  418.          menu. Then press G. The state changes from "MISC" to "GRID,"
  419.          and a prompt appears asking if you want to change the grid
  420.          origin (the origin is a point which the grid goes through
  421.          and other grid points are calculated from). The grid origin
  422.          is initially set to be the top left corner of the initial
  423.          frame, but it can be set to any on-screen point. (Note:
  424.          Changing the frame does NOT change the grid origin.) If the
  425.          current grid origin is satisfactory, press any key except Y
  426.          or Esc. If you want to change the grid origin, press Y. A
  427.          prompt appears (if "H+" is toggled): "Move then F3 to set
  428.          grid origin," and a dotted line will be drawn from the
  429.          current grid origin to the cursor. Move the cursor to a new
  430.          grid origin (the dotted line will follow) and press F3. (Esc
  431.          backs out to the prompt asking if you want to change the
  432.          grid origin.)
  433.            After you have established the grid origin (either by
  434.          setting it or accepting the old one), a grid menu appears.
  435.          The top line of this menu shows the grid parameters that you
  436.          can change (the spacing of the grid, its form, and its
  437.          color), and the word "Keep". The second line lists the
  438.  
  439.                                         89
  440.  
  441.          current parameters.
  442.  
  443.          21.2.1 CHANGING THE SPACING OF THE GRID
  444.  
  445.            To change the spacing of the grid, press S. A prompt
  446.          appears, showing the current horizontal spacing of the grid
  447.          in the current units (i.e., pixels, inches, etc.) and
  448.          requesting that you enter a new horizontal spacing. (The
  449.          initial spacing is one inch by one inch.) If the horizontal
  450.          spacing is satisfactory, press Enter. If you want to change
  451.          it, key in a new spacing in the current unit and then press
  452.          Enter. (Pressing Esc backs out to the grid menu.)
  453.            A new prompt appears, asking if you want square spacing.
  454.          (Square spacing means that the distance in the horizontal
  455.          and vertical direction are the same.) If you answer Y, the
  456.          vertical spacing is calculated to be square, and the grid
  457.          menu reappears with the new spacing in the second line. If
  458.          you press any other key (except Esc), a prompt appears
  459.          showing the current vertical spacing in the current unit,
  460.          and requesting that you enter a new vertical spacing. Press
  461.          Enter if the current vertical spacing is acceptable, or key
  462.          in a new vertical spacing and press Enter. The grid menu
  463.          reappears with the new horizontal and vertical spacings on
  464.          the second line.
  465.  
  466.          21.2.2. CHANGING THE FORM OF THE GRID
  467.  
  468.            The grid can be invisible (its initial form), or it can
  469.          show as dots on the screen at each grid point or as
  470.          horizontal and vertical dotted lines intersecting at each
  471.          grid point (mesh). To change the form of the grid, while in
  472.          the grid menu, press F. A grid form menu appears. If you
  473.          want the grid to be invisible, press N (for "None"). If you
  474.          want the grid to appear as dots, press D. If you want the
  475.          grid to appear as a mesh, press M. The grid menu reappears
  476.          with the new form on the second line. Pressing Esc backs out
  477.          to the grid menu with no change in form.
  478.  
  479.          21.2.3. CHANGING THE COLOR OF THE GRID
  480.  
  481.            The color of a visible grid can be any of four colors. To
  482.          change the color of the grid, while at the grid menu, press
  483.          C. A grid color menu appears. If you want the grid to show
  484.          in the background color (sometimes useful with a template),
  485.          press B. If you want the grid to show in the foreground
  486.          color (the color in which curves and endpoints are drawn),
  487.          press F. If you want the grid to be shown in one of the two
  488.          CGA template colors, press 1 or 2. (For EGA and VGA there
  489.          are more than two template colors, other than the
  490.          background, pressing 1 or 2 just uses different reasonable
  491.          colors.) The initial color is template1. The grid menu will
  492.          reappear with the new color indicated. Esc backs out to the
  493.          grid menu with no changes.
  494.  
  495.          21.2.4. SAVING THE GRID PARAMETERS
  496.  
  497.            To save altered grid parameters (including a new grid
  498.          origin), press K (for "Keep") or Enter. The entered grid
  499.          parameters become the current ones, the screen is redrawn
  500.          with the new grid (even if invisible), and the state returns
  501.  
  502.                                         90
  503.  
  504.          to "Free."
  505.            If you press Esc while on the grid menu, any changes to
  506.          the grid (including a new grid origin) are NOT saved, the
  507.          state returns to "MISC," and the miscellaneous menu
  508.          reappears.
  509.            The current grid parameters are saved with the current
  510.          drawing (see Section 19.2), so when you retrieve a drawing,
  511.          the grid is reset to that associated with the drawing.
  512.  
  513.          21.3. USING THE GRID
  514.  
  515.            The grid's main purpose is to restrict cursor movements to
  516.          the grid points. To toggle on the snap-to grid, press G. The
  517.          cursor moves to the nearest grid point (visible or
  518.          invisible). If the status box is on, the third indicator
  519.          from the left changes to "G." While the snap-to grid toggle
  520.          is on, the cursor moves ONLY to grid points. Pressing a
  521.          cursor key moves the cursor to the next grid point in the
  522.          appropriate direction. Note: At high magnifications and
  523.          large grid settings all of the grid points can be off-
  524.          screen; the snap-to grid is automatically toggled off if you
  525.          scroll to such a screen. The fast cursor speed toggle (Ins)
  526.          and the internal unit movement toggle (I) have no effect
  527.          while the snap-to grid is toggled on, except to change the
  528.          cursor movements when the snap-to grid is toggled off again.
  529.            While the snap-to grid is toggled on, the cursor will not
  530.          move in any direction beyond the grid point closest to the
  531.          edge of the screen in that direction. If you move the cursor
  532.          off the grid by cursor movements not tied to the grid
  533.          (finding endpoints, going to frame corners, etc.),
  534.          PictureThis will check your position at the END of the
  535.          movement, and automatically toggle the snap-to grid OFF if
  536.          the cursor is not on a grid point.
  537.            To toggle the snap-to grid off, press G again.
  538.  
  539.          22. CHANGING THE FRAME AND SCALING THE DRAWING
  540.  
  541.            The size and shape of the rectangular frame determines
  542.          which portion of your drawing is printed (and shown on the
  543.          Quickshow screen). This frame can be changed at any time.
  544.          The scale of the frame in "real-world" coordinates can also
  545.          be changed. This means that you can set the width or height
  546.          of the frame to represent a different size in the current
  547.          unit. A frame that is 8 inches wide can be set to 4 inches
  548.          wide. It will still look the same on the screen, but moving
  549.          an "inch" on the screen will move the cursor twice as far as
  550.          before.
  551.  
  552.          22.1. CHANGING THE FRAME
  553.  
  554.            To change the frame (only when in the state "FREE"), move
  555.          the cursor to the desired position for any corner of the new
  556.          frame (unless you want the default frame (see below)) and
  557.          press F. The state becomes "FRAME," and a prompt appears
  558.          asking if you would like the default frame. (The default
  559.          frame is the initial frame when PictureThis is started. It
  560.          is as large as the 100% screen, and is in the middle of the
  561.          50% screen.) If you press Esc, the state returns to "FREE"
  562.          with no change to the frame. If you press Y, the current
  563.          frame is erased, the default frame is drawn, and the state
  564.  
  565.                                         91
  566.  
  567.          returns to "FREE." If you press any other key, the old frame
  568.          is erased, and a prompt (if "H+" is toggled) appears: "Move
  569.          then F3 to set frame." Move the cursor to the diagonally
  570.          opposite corner of your new frame. A dotted box follows the
  571.          cursor. Notice that you can still use the Ctrl Home, Ctrl
  572.          PgUp, etc., keys to jump to the corners of the old frame,
  573.          even though it is not visible. When the new frame is
  574.          satisfactory, press F3. The new frame is established; the
  575.          state returns to "FREE." If the current position box is
  576.          toggled on, the numbers in it will change, since the
  577.          position is measured from the frame origin (top or bottom
  578.          left corner of the frame). Pressing Esc while changing the
  579.          frame returns the old frame and returns the state to "FREE."
  580.          Note that if you want to fill a standard 8-1/2" by 11" page,
  581.          make your frame 8" by 10-1/2"  (to account for .25 inch
  582.          margins on all sides), otherwise if you use the default EPS
  583.          settings, your drawing will print on 4 pages (3 probably
  584.          blank). The file STANDARD.DRW can be imported; it has a 8"
  585.          by 10-1/2" frame and a margin at a standard indentation from
  586.          the frame.
  587.            Changing the frame does NOT change the drawing scale: the
  588.          distance on the screen that represented an inch before the
  589.          frame change will still represent an inch. To change the
  590.          drawing scale, see Section 22.2.
  591.            The frame is saved with a drawing (see Section 19.2), so
  592.          if you retrieve a drawing, the frame changes to that saved
  593.          with the drawing.
  594.  
  595.          22.2. SCALING THE DRAWING
  596.  
  597.            To change the scale of the drawing, press F9 to see the
  598.          miscellaneous menu. The state becomes "MISC." Then press S.
  599.          A menu appears, asking you to choose whether you want to set
  600.          the horizontal or vertical frame size. (You only can scale
  601.          one of these; the other is scaled proportionally.) After you
  602.          press H or V to choose which frame dimension you want to
  603.          scale, a prompt appears showing the current frame size (in
  604.          the chosen direction and in the current units (inches are
  605.          used if the current units are pixels)) and requests that you
  606.          enter a new frame size (in the current units). If you are
  607.          satisfied with the current frame dimension, press Enter; the
  608.          "FREE" state returns. If you want to change the frame size,
  609.          key in a new size and press Enter. (If you enter an illegal
  610.          number, you are given another chance.) Another prompt
  611.          appears, asking if you want to scale the line weights. If
  612.          you answer Y, the line weights change in proportion to the
  613.          difference between the previous size and the new size. For
  614.          example, if the previous frame width was 8 inches, and you
  615.          change it to 4 inches, a 10 point curve changes to a 5 point
  616.          curve. It looks exactly as it did before on the Quickshow
  617.          screen. (The frame now represents 4 inches, so 5 point
  618.          curves now appear the same as 10 point curves did before.)
  619.          If you press any other key, the line weights do not change.
  620.          In the above example, the curves now appear twice as thick
  621.          on the Quickshow screen.
  622.            You should NOT change the scale of the drawing
  623.          frivolously. The only GOOD reason to change the scale is to
  624.          enable you to work on a drawing which you need to be a
  625.          specific size, in units that represent that specific size.
  626.          If your final drawing is to be 5 inches wide, and you have
  627.  
  628.                                         92
  629.  
  630.          specific measurements for parts of your drawing, it is
  631.          convenient to set the frame size to 5 inches wide. Of
  632.          course, an inch on the screen will be larger than a real
  633.          inch unless you have a very small screen or unless the frame
  634.          is smaller than the 100% screen's width. (The initial frame
  635.          is 8 inches wide and goes all the way across a screen which
  636.          is typically about 8 inches wide, so an inch on the 100%
  637.          screen represents an inch on the drawing.) If you change the
  638.          scale in the middle of a drawing, two endpoints that were a
  639.          certain distance apart will now be a DIFFERENT distance
  640.          apart. It is generally best to change the scale BEFORE you
  641.          begin a drawing, if at all.
  642.            You CANNOT change the scale of the drawing if it contains
  643.          any text. You MUST change the scale BEFORE any text is
  644.          entered. (If you have deleted all text blocks, you can't
  645.          change the scale unless you save the drawing and bring it in
  646.          again.) For drawings with text, often it is important to
  647.          scale a drawing to the final size with this operation,
  648.          rather than scale it when writing its EPS file. This is
  649.          because the fonts then will be the specified size, rather
  650.          than a scaled size (however, for some drawings, EPS-scaling
  651.          is desirable). So when using text, set your frame to the
  652.          appropriate size and scale your drawing BEFORE you actually
  653.          begin drawing.
  654.            When you change the drawing's scale, the grid changes in
  655.          appearance, but it represents the same distance between grid
  656.          points.
  657.            Scaling the drawing is not the only way to change the size
  658.          of the final output. When you create a PostScript file for
  659.          the drawing (see Section 19.6), the default size is
  660.          determined from the drawing scale and frame size, but you
  661.          can change the size as you wish.
  662.            When you save a drawing (see Section 19.2), the frame and
  663.          drawing scale are saved with it. When you retrieve a
  664.          drawing, the drawing brings this information with it.
  665.  
  666.          23. NOTING POINTS AND MEASURING DISTANCES
  667.  
  668.            Sometimes it is useful to mark a point on the screen to
  669.          which you want to return later, but the point is not an
  670.          endpoint. And sometimes it is useful to be able to measure
  671.          the distance between two arbitrary points or to move to a
  672.          position that is a certain proportion of the distance
  673.          between two points. PictureThis has two facilities to help.
  674.  
  675.          23.1. NOTED POINTS
  676.  
  677.            To "note" a point to which you can return later, move the
  678.          cursor to the point and press N. A small cross appears at
  679.          the cursor's position (you must to move the cursor to see
  680.          the cross). Up to 25 points can be noted. To return to a
  681.          noted point, press (simultaneously) Shift and Del. The
  682.          cursor jumps to the nearest noted point. You then can jump
  683.          to other noted points using Space, +, and/or -, just as when
  684.          you are finding endpoints. Pressing Esc backs out to your
  685.          original cursor position. Pressing Enter stops the cursor at
  686.          the noted point it is on. Any other key stops at the noted
  687.          point AND carries out whatever operation the key would
  688.          normally carry out (e.g., F1 sets an endpoint).
  689.            To erase an individual noted point, move the cursor to the
  690.  
  691.                                         93
  692.  
  693.          noted point (as above) and press N again. The noted point is
  694.          erased. To erase ALL currently noted points, press 0 (zero;
  695.          NOT on the numeric keypad). A prompt appears, asking if you
  696.          want to erase all the noted points. Answer Y if you want to
  697.          erase all noted points, or press any other key if you do not
  698.          want to erase all noted points.
  699.            Noted points are saved with drawings, and they are
  700.          retrieved with drawings.
  701.  
  702.          23.2. MEASURING DISTANCES
  703.  
  704.            The current position box and (especially) the relative
  705.          position box give you information about distances when you
  706.          are drawing curves, moving objects, etc. Sometimes you need
  707.          this information when you are performing an operation which
  708.          doesn't register on the relative position box, such as
  709.          noting points. Or you might like to move to the midpoint
  710.          between two arbitrary points without doing any calculations.
  711.          To perform these operations, while in the "FREE" state, move
  712.          the cursor to the point you want to measure from (the
  713.          "initial point") and press M. Now move the cursor; a dotted
  714.          line follows. If you have the relative position box toggled
  715.          on, the horizontal and vertical differences, the distance,
  716.          and the angle from the point at which you pressed M all are
  717.          shown. When you reach the point to which you want to measure
  718.          (the "measuring point"), press F3. A prompt appears: the
  719.          first line states the current percentage distance from the
  720.          first point; the second line requests that you enter a
  721.          percentage distance. If you press Enter, the current
  722.          percentage is used; or you may key in a different
  723.          percentage. The cursor moves to the percentage distance
  724.          "between" the two points, and the percentage is saved for
  725.          use the next time you measure. For example, 100% leaves the
  726.          cursor at its position when F3 is pressed; 50% moves the
  727.          cursor half way between the two points. Percentages greater
  728.          than 100 are legal. For example, 200% moves the cursor along
  729.          the line from the initial point to the measuring point twice
  730.          as far as the measuring point. Negative percentages are also
  731.          legal. For example, -100% moves the cursor in the OPPOSITE
  732.          direction from the measuring point, on the same line, the
  733.          same distance as the first point is from the measuring
  734.          point. Try it. If the cursor would end up off the screen,
  735.          you hear a beep, see an error message (if toggled on), and
  736.          get another chance to enter a percentage. Pressing Esc gives
  737.          you another chance to set the measuring point. If the cursor
  738.          is moved successfully, the state returns to "FREE," and the
  739.          dotted line is erased.
  740.  
  741.          24. ASPECT RATIO
  742.  
  743.            Pixels on a typical CGA and EGA screen are not square. The
  744.          ratio of the height to the width of a pixel is usually about
  745.          1.20 to 1 for CGA, 1.37 to 1 for EGA, and 1 to 1 for VGA.
  746.          This ratio is called the aspect ratio. The initial aspect
  747.          ratio for PictureThis is set to 1.20 for CGA, 1.37 for EGA,
  748.          and 1 for VGA. Some screens are adjusted (and some are user-
  749.          adjustable) to have different aspect ratios. If your circles
  750.          or squares drawn with PictureThis are not the proper shape,
  751.          then your screen's aspect ratio is not the default for the
  752.          current screen mode. Not only will your circles and squares
  753.  
  754.                                         94
  755.  
  756.          appear distorted on the screen, but also the PostScript
  757.          output will be distorted in relation to the screen
  758.          representation. To reset the aspect ratio, press F9 to
  759.          access the miscellaneous menu and change the state to
  760.          "MISC." Then press A. A menu appears in which you can choose
  761.          to set the aspect ratio by cursor movement or direct entry.
  762.          The first time you perform the operation, you should set it
  763.          by cursor movement, to determine the correct aspect ratio
  764.          for your screen. To do this, press C. The screen shows a
  765.          large oval with a rectangle around it. The current aspect
  766.          ratio appears in a small box in the bottom left corner. If
  767.          the oval is indeed a circle, and the rectangle is square
  768.          (you can measure to be sure), the current aspect ratio is
  769.          correct for your screen. Otherwise, adjust the aspect ratio
  770.          by moving the cursor at the top of the oval either up or
  771.          down. The oval and rectangle are adjusted via the cursor
  772.          movement, and the aspect ratio changes. When the oval is a
  773.          true circle, and the rectangle is a square, note the aspect
  774.          ratio in the box and press F3. Alternately, you can enter
  775.          the correct aspect ratio (if you know it) by pressing D at
  776.          the menu. You see a prompt informing you of the current
  777.          aspect ratio and asking you to enter a new one.
  778.            After you have set the aspect ratio by either method, a
  779.          prompt asks if you want the aspect ratio saved in the
  780.          configuration file (PICTHIS.CFG) which is read when you run
  781.          PictureThis. If you want the aspect ratio automatically set
  782.          to the new value when you start PictureThis, answer Y;
  783.          otherwise, press another key. This saved aspect ratio is
  784.          used every time that you start PictureThis UNLESS you change
  785.          to a different screen mode; when a different screen mode is
  786.          selected, the default aspect ratio for that mode is used and
  787.          you will have to reset the aspect ratio if it is wrong.
  788.  
  789.          25. VIEWSCREEN, PALETTE, AND SCREEN TOGGLES
  790.  
  791.            There are several ways to manipulate the appearance of the
  792.          PictureThis screen. These include the viewscreen, changing
  793.          the palette, and various screen toggles.
  794.  
  795.          25.1. VIEWSCREEN
  796.  
  797.            To view the entire drawing at any magnification WITHOUT
  798.          the endpoints and frame showing, press V. To return to the
  799.          drawing screen, press Esc. It is not possible to draw on the
  800.          viewscreen: there's no cursor! The viewscreen is NOT clipped
  801.          at the frame; you can scroll and "zoom" the viewscreen (see
  802.          Section 6). The template shows on the viewscreen, but it can
  803.          be toggled off by pressing T (press T again to restore the
  804.          template). The main use of the viewscreen is to check how
  805.          full the PictureThis curve space is (see Section 31.2).
  806.          Another use is for low-resolution screen "dumps" (say, to a
  807.          dot-matrix printer) of a drawing in progress.
  808.            Drawings can be saved and retrieved while on the
  809.          viewscreen (see Sections 19.1 and 19.2).
  810.  
  811.          25.2. CHANGING THE PALETTE
  812.  
  813.            In CGA mode, you might prefer to use PictureThis with a
  814.          screen palette other than the default. Press F9 to see the
  815.          miscellaneous menu. Then press P. A palette menu appears,
  816.  
  817.                                         95
  818.  
  819.          showing the current palette number (the initial setting is
  820.          1). For the default palette (gray, magenta, cyan), press 1.
  821.          For the second palette (brown, red, green), press 2. For the
  822.          third palette (gray, red, blue), press 3. (Use the main
  823.          keyboard number keys.)
  824.            For the corresponding palettes at high intensity, press
  825.          the appropriate number keys simultaneously with the Shift
  826.          key. Some EGA and VGA video boards and monitors don't show
  827.          the CGA palettes as described above; you'll need to
  828.          experiment to determine which palettes are best with your
  829.          equipment. EGA and VGA mode palettes cannot be changed.
  830.  
  831.          25.3. SCREEN TOGGLES
  832.  
  833.            To erase ALL curves comprising the current drawing
  834.          IRRETRIEVABLY (unless you have saved the drawing previously,
  835.          as described in Section 19.2), press C. A prompt appears
  836.          ("Clear current drawing? (Y/N)"). If you DO want to erase
  837.          the current drawing press Y. If you DON'T want to erase the
  838.          drawing, press any other key. If you have set any text
  839.          parameters, or made any margins other than the default
  840.          margin, you will be asked if you want to erase these also.
  841.            To redraw the current screen, press D. This redraws the
  842.          screen without making changes to the drawing. This is useful
  843.          when unattractive "garbage" appears on the screen. Most
  844.          PictureThis operations leave no garbage, but sometimes extra
  845.          or missing dots result from an operation (especially when
  846.          manipulating objects). "Garbage" also can appear when the
  847.          position boxes (see Section 20) and/or the status box (see
  848.          Section 4.3) is on the screen and a curve is drawn through
  849.          parts of them. Then, if the box is removed, parts of the
  850.          curve can disappear.
  851.            On the 50% screen, the template is "compressed" to fit the
  852.          available space: one pixel on the 50% screen corresponds to
  853.          four pixels on the 100% screen. The compression algorithm
  854.          used by PictureThis is simple: the 100% screen is divided
  855.          into boxes with four pixels each (two across by two down),
  856.          and the color of ONE pixel in each box is used to determine
  857.          the color of the pixel on the 50% screen which corresponds
  858.          to that box. You can choose the position (top left, top
  859.          right, bottom left, or bottom right) of the pixel in each
  860.          box used to determining colors during compression by
  861.          repeatedly pressing D AT THE 50% SCREEN. Following each of
  862.          four successive key presses, the screen is redrawn with a
  863.          different "compression color pixel" position used for
  864.          producing the template. Since there are four possible
  865.          positions for the "compression color pixel" used, four
  866.          successive presses of the D key return the template to the
  867.          way it started. If you subsequently change to another
  868.          magnification and then return, the template appears the way
  869.          it did when you left the 50% screen. Being able to choose
  870.          between the differently compressed templates is useful if
  871.          some features appear clearly only on some of them.
  872.            To remove the drawing TEMPORARILY, press R. This redraws
  873.          the screen with the curves removed, allowing a better view
  874.          of the template. To restore the drawing, press R again. The
  875.          R key WON'T remove or restore a drawing on the viewscreen,
  876.          but you can press R while the viewscreen is on so that
  877.          curves don't show when you return to the drawing screen.
  878.            To remove the template TEMPORARILY, press T. To restore
  879.  
  880.                                         96
  881.  
  882.          the template, press T again. This works on the drawing
  883.          screen AND on the viewscreen.
  884.            Note: All of the features described in this section
  885.          require redrawing of the screen, so they are possible ONLY
  886.          in the "FREE" state.
  887.  
  888.                                         97
  889.  
  890.