home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / maths / plplot / plplot_2 / drivers / tk / about.tcl next >
Encoding:
Text File  |  1994-05-26  |  6.2 KB  |  139 lines

  1. # $Id: about.tcl,v 1.2 1994/05/26 19:22:48 mjl Exp $
  2. # $Log: about.tcl,v $
  3. # Revision 1.2  1994/05/26  19:22:48  mjl
  4. # Updated the ftp site, other fixes, to prepare for next beta drop.
  5. #
  6. #----------------------------------------------------------------------------
  7. # about w
  8. #
  9. # Create a top-level window that displays info for About.. menu item.
  10. # Maurice LeBrun, IFS
  11. # Adapted from mkStyles.tcl from widget demo.
  12. #
  13. # Arguments:
  14. #    w -    Name to use for new top-level window.
  15. #
  16. # Note:
  17. # There is a fundamental problem with the text widget, in that you can't 
  18. # get both decent word wrap and nice scrolling.  When proportional fonts are
  19. # used (which are nicest for reading), the spacing comes out much different
  20. # from that in the text file, leading to a very ragged right edge.  One way
  21. # to try to fix this is to eliminate all <CR>'s from paragraphs and turn
  22. # on word wrap with the "-wrap word" configuration option.  But this sucks
  23. # because then scrolling becomes jerky, as a single line scroll moves the
  24. # text by a whole paragraph!  (I tried it, it feels terrible.)  So, the only
  25. # remaining thing to do is to format it by hand.  Ugh.
  26. #----------------------------------------------------------------------------
  27.  
  28. proc about {{w .about}} {
  29.     catch {destroy $w}
  30.     toplevel $w
  31.     dpos $w
  32.     wm title $w "About PLPLOT"
  33.     wm iconname $w "About"
  34.     normal_text_setup $w 56
  35.  
  36.     insertWithTags $w.t {\
  37.       This is the TK output driver for PLPLOT, a scientific plotting package.
  38. PLPLOT is relatively small, portable, freely distributable, and is rich
  39. enough to satisfy most users.  It has a wide range of plot types including
  40. line (linear, log), contour, 3D, fill, and almost 1000 characters (including
  41. Greek and mathematical) in its extended font set.  The package is 
  42. designed to make it easy to quickly get graphical output; only a handful of
  43. function calls is typically required.  For more advanced use, virtually all
  44. aspects of plotting are configurable.
  45.  
  46. At present, PLPLOT is known to work on the following systems:
  47.  
  48.     Unix:    A/IX         (IBM)
  49.         DG/UX        (Data General)
  50.         HP-UX        (Hewlett-Packard)
  51.         IRIX        (Silicon Graphics)
  52.         Linux        (various)
  53.         OSF/1        (DEC)
  54.         SunOS        (Sun)
  55.         Super-UX    (NEC)
  56.         SysV        (various)
  57.         Ultrix        (DEC)
  58.         Unicos        (Cray)
  59.  
  60.     Amiga/Exec
  61.     MS-DOS
  62.     OS/2
  63.     NeXT
  64.  
  65.       Many different output device drivers are available, including postscript,
  66. tektronix, HP laserjet, HP pen plotters, XFig, xterm, X-windows, and a
  67. portable metafile format, among others.  The TK driver under Unix/X 
  68. provides a full user interface, with facilities to zoom, pan, orient,
  69. determine placement on the output page, and save the plot or any set of
  70. plots to a specified file and device type.  The metafile renderer (} normal
  71.     insertWithTags $w.t {plrender} bold
  72.     insertWithTags $w.t {)
  73. supports seeking backwards or forwards to any specified page when
  74. interactively viewing metafile output.
  75.  
  76.       Tcl stands for ``tool command language'' and is pronounced ``tickle.''  
  77. TK is an X11 toolkit that provides the Motif look and feel and is 
  78. implemented using the Tcl command language.  All of the fancy graphical
  79. elements (buttons, menus, scrollbars, etc) in the user interface are
  80. implemented via TK with Tcl the glue that holds everything together.  
  81. The combination of Tcl and TK is very powerful, providing easy access at
  82. a high level to the workings of the graphical interface, which in turn
  83. enables rapid prototyping and an unparalleled degree of flexibility.  The
  84. PLPLOT TK driver is built with these principles in mind, and provides 
  85. ways for the user to customize the interface (add buttons, menu entries,
  86. callbacks to user code, etc).
  87.  
  88.       The PLPLOT package is freely distributable, but NOT in the public 
  89. domain. The PLPLOT source code, except header files and those files
  90. explicitly granting permission, may not be used in a commercial software
  91. package without consent of the authors.  You are allowed and encouraged 
  92. to include the PLPLOT object library and header files in a commercial 
  93. package provided that: (1) it is explicitly and prominently stated that the
  94. PLPLOT library is freely available, and (2) the full copyrights on the 
  95. PLPLOT package be displayed somewhere in the documentation for the 
  96. package.
  97.  
  98.       Suggestions on how to improve this code are welcome, especially in the 
  99. form of user-contributed enhancements or bug fixes.  If PLPLOT is used 
  100. in any published papers, please include an acknowledgment or citation as 
  101. this will help us to continue improving PLPLOT.  Also, please remember 
  102. that as PLPLOT is not a commercial product, the authors cannot be 
  103. expected to offer the kind of support that a commercial product may.  
  104. There is great interest in extending PLPLOT and fixing bugs, but we can 
  105. only afford to work on it part time.  Improvements will necessarily focus 
  106. on those which help us get our work done.
  107.  
  108.       PLPLOT is written in C, enabling it to run on many platforms 
  109. practically without modification.  Fortran programs may use it 
  110. transparently; stub routines are provided to handle the C <-> Fortran
  111. interface without any modification of the user program (although some of 
  112. the more advanced features are only available from C).  C programs are
  113. required to include the header file ``plplot.h''; see the documentation for
  114. more details.
  115.  
  116.       The main documentation for PLPLOT is available in both postscript
  117. (plplot.ps) and info (plplot.info) form.  These are built from the various
  118. LaTeXinfo files stored in the doc/ directory of the source distribution.
  119. Unfortunately documentation tends to lag actual improvements to the code,
  120. so don't be surprised if some known features are not explained there.
  121. Consult ``Changes.log'' to see a list of recent changes. For more 
  122. information on how to get or use PLPLOT on your system, see (1) the
  123. appendices to the PLPLOT manual, and (2) the system-specific documentation
  124. in the appropriate sys/<system> directory of the source distribution.
  125.  
  126.       To become a subscriber to the PLPLOT mailing list, send a request to
  127. plplot-request@dino.ph.utexas.edu.  The latest plplot source distribution 
  128. and document in postscript form can be obtained via anonymous ftp from
  129. dino.ph.utexas.edu, in the plplot/ directory.
  130.  
  131. Maurice LeBrun
  132. Institute for Fusion Studies
  133. University of Texas
  134. mjl@dino.ph.utexas.edu 
  135. } normal
  136.     $w.t configure -state disabled
  137.     $w.t mark set insert 0.0
  138. }
  139.