31 the midas graphics system all information about

Info icon This preview shows pages 17–19. Sign up to view the full content.

View Full Document Right Arrow Icon
3.1 The MIDAS Graphics System All information about the status of the MIDAS plot package is stored in MIDAS keywords. This information describes the layout of the plot(s) to be produced, the last plot file created and the graphic device to which the result will be sent. Once a plot file (with extension .plt ) is created the user can send this file to another device than the default one. These two possibilities (default device name stored in keyword or device name from user input) make life somewhat more complicated, since the user may use MIDAS device names rather than the system names. If the setup of the system is correctly done MIDAS knows three sets of device names. The first set contains the names of the graphics terminal, the graphic windows, and the display windows. The second one contains the system device names of the hardcopy devices, or a subset of that. Finally, a third set of names contains logical names (MIDAS device names) for a few of the devices in the second set. To solve this complication the names for the hardcopy devices stored in the MIDAS 15
Image of page 17

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
keywords are identical to the system names. If a MIDAS device (logical) name is used, MIDAS will first convert this name into the system name. If no corresponding system name is found a fatal error will be given. Once the system name is established the plot system knows which of the drivers has to be used in order to produce the plot. If a window or terminal name is used, or an abbreviation of that, MIDAS will expand that name to its full name known by the plot system. The assignment of the hardcopy devices as the output device is done in the procedure plassign.prg . Copying the plot-file onto a hardcopy device is done by the procedure send- plot.prg . Both procedures make use of the separate procedure checkdev.prg that checks device names and, if required, converts MIDAS logical names into system names. The sys- tem names of all devices should be included in the file agldevs.dat which can be found in the directory /midas/11SEP/systab/ascii/plot . For each device the file also gives the driver that will be used for that device. 3.2 Modification or Installation of New Devices Within the MIDAS directory structure you will find a directory /midas/11SEP/libsrc/agl that contains all source code for building the lower level AGL library which the MIDAS plot system needs. The code can roughly be divided into device independent routines and the device drivers. Information about the first part can be found in the AGL References manual; the latter is described in the set of small device documents. However, this graphics directory is not relevant for changes in the graphics devices. For that purpose only minor modifications are needed elsewhere. They are in different subdirectories of the MIDAS directory tree. Below, in a few small sections you will find what to do in order to install a new hardcopy graphics device.
Image of page 18
Image of page 19
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern