Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
GetNetWise: You
e One Click Away

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Glossary
MoreInfo
Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
FAQ
Copyright Info
Terms of Use
Privacy Info
Disclaimer
WorkBoard
Thanks
Donations
Advertising
Masthead / Impressum
Your Account

Communication
Feedback
Forums
Private Messages
Surveys

Features
HOWTOs
News Archive
Submit News
Topics
User Articles
Web Links

Google
Google


The Web
linux-tutorial.info

Who's Online
There are currently, 183 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here

  

tek2plot




SYNOPSIS

       tek2plot [ options ] [ files ]


DESCRIPTION

       tek2plot translates Tektronix graphics files to other for­
       mats, or displays them on an X Window System display.  The
       output format or display type is  specified  with  the  -T
       option.  The possible output formats and display types are
       the  same  as  those  supported  by   graph(1),   plot(1),
       pic2plot(1),  and  plotfont(1).  If an output file is pro­
       duced, it is written to standard output.

       Options and file names may be interspersed on the  command
       line,  but the options are processed before the file names
       are read.  If -- is seen, it is interpreted as the end  of
       the  options.  If no file names are specified, or the file
       name - is encountered, the standard input is read.


OPTIONS

   General Options
       -T type
       --display-type type
              Select type as the output format or  display  type.
              It  may  be  "X", "png", "pnm", "gif", "svg", "ai",
              "ps", "cgm", "fig", "pcl", "hpgl", "regis",  "tek",
              or  "meta" (the default).  These refer respectively
              to the  X  Window  System,  PNG  (Portable  Network
              Graphics)    format,    portable    anymap   format
              (PBM/PGM/PPM), a pseudo-GIF format  that  does  not
              use LZW encoding, the new XML-based Scalable Vector
              Graphics format, the format used by Adobe Illustra­
              tor,  Postscript  or  Encapsulated Postscript (EPS)
              that can be edited with idraw(1),  CGM  format  (by
              default,  confirming  to  the  WebCGM profile), the
              format used by  the  xfig(1)  drawing  editor,  the
              Hewlett-Packard   PCL   5   printer  language,  the
              Hewlett-Packard Graphics Language,  ReGIS  graphics
              format  (which  can  be  displayed by the dxterm(1)
              terminal emulator or by a VT330 or VT340 terminal),
              Tektronix format itself, and device-independent GNU
              metafile format.  Unless type  is  "X",  an  output
              file is produced and written to standard output.

              Omitting  the -T option is equivalent to specifying
              -T meta.  GNU metafile format may be translated  to
              other formats with plot(1).

       -p n
       --page-number n
              Output  only  page  number  n, within the Tektronix
              file or sequence of Tektronix files that  is  being
              (page  #0) or two pages (an empty page #0, and page
              #1).  Tektronix files produced by the GNU  plotting
              utilities  (e.g.,  by graph -T tek) are normally of
              the latter sort.

       -F name
       --font-name name
              Use the font name for  rendering  the  native  Tex­
              tronix fonts, if it is available.  The default font
              is "Courier" except for tek2plot -T  png,  tek2plot
              -T pnm, tek2plot -T gif, tek2plot -T hpgl, tek2plot
              -T regis, and tek2plot -T  tek,  for  which  it  is
              "HersheySerif".   A  list of available fonts can be
              obtained with the --help-fonts option (see  below).
              If  a  font outside the Courier family is used, the
              --position-chars option (see below) should probably
              be specified.

              The  -F  option  is  useful only if you have a Tek­
              tronix file that draws text using native  Tektronix
              fonts.   Tektronix  files produced by the GNU plot­
              ting utilities (e.g., by graph -T tek) do  not  use
              native  Tektronix  fonts:  they  use Hershey vector
              fonts instead.

       -W line_width
       --line-width line_width
              Set the width of lines, as a fraction of the  width
              of the display, to be line_width.  A negative value
              means that a default value should  be  used.   This
              value  is  format-dependent.  The interpretation of
              zero line width is also format-dependent  (in  some
              output  formats,  a zero-width line is the thinnest
              line that can be drawn;  in  others,  a  zero-width
              line is invisible).

       --bg-color name
              Set  the  color used for the background to be name.
              This is relevant only to tek2plot -T X, tek2plot -T
              png,  tek2plot -T pnm, tek2plot -T gif, tek2plot -T
              svg, tek2plot -T cgm, and tek2plot  -T  regis.   An
              unrecognized  name  sets  the color to the default,
              which  is  "white".    The   environment   variable
              BG_COLOR  can  equally  well be used to specify the
              background color.  If the -T svg or -T  cgm  option
              is used, an output file without a background may be
              produced by setting the background color to "none".

              If the -T png or -T gif option is used, a transpar­
              ent PNG file or a transparent  pseudo-GIF,  respec­
              tively,  may  be  produced by setting the TRANSPAR­
              ENT_COLOR environment variable to the name  of  the
              vector font "HersheySerif".

              The environment  variable  BITMAPSIZE  can  equally
              well be used to specify the window size.  For back­
              ward compatibility, the X  resource  Xplot.geometry
              may be used instead.

       --emulate-color option
              If  option is yes, replace each color in the output
              by an appropriate shade of gray.   This  is  seldom
              useful, except when using ` tek2plot -T pcl to pre­
              pare output for a PCL 5 device.   (Many  monochrome
              PCL  5  devices, such as monochrome LaserJets, do a
              poor job of emulating color on their own.)  You may
              equally well request color emulation by setting the
              environment variable EMULATE_COLOR to "yes".

       --max-line-length max_line_length
              Set the maximum number of points that  a  polygonal
              line  may  contain, before it is flushed out, to be
              max_line_length.   If  this  flushing  occurs,  the
              polygonal  line will be split into two or more sub-
              lines, though the splitting should not  be  notice­
              able.  The default value of max_line_length is 500.

              The reason for splitting long  polygonal  lines  is
              that  some  display  devices  (e.g., old Postscript
              printers  and  HP-GL  pen  plotters)  have  limited
              buffer    sizes.     The    environment    variable
              MAX_LINE_LENGTH can also be  used  to  specify  the
              maximum line length.

       --page-size pagesize
              Set  the size of the page on which the plot will be
              positioned.  This is relevant only to  tek2plot  -T
              svg,  tek2plot  -T  ai, tek2plot -T ps, tek2plot -T
              cgm, tek2plot -T fig, tek2plot -T pcl, and tek2plot
              -T  hpgl.   The default is "letter", which means an
              8.5 inch by 11 inch page.  Any ISO page size in the
              range  "a0"..."a4"  or  ANSI page size in the range
              "a"..."e" may be specified ("letter"  is  an  alias
              for  "a"  and  "tabloid"  is  an  alias  for  "b").
              "legal" and  "ledger"  are  recognized  page  sizes
              also.    The   environment  variable  PAGESIZE  can
              equally well be used to specify the page size.

              The graphics display in which  the  plot  is  drawn
              will  be  a  square region that would occupy nearly
              the full width of the specified page.  An  alterna­
              tive  size  for  the graphics display can be speci­
              fied.  For example, the page size could  be  speci­
              fied     as     "letter,xsize=4in,ysize=6in",    or
              it is possible to specify the size of the  graphics
              display, but not its position.

       --pen-color name
              Set the pen color to be name.  An unrecognized name
              sets  the  pen  color  to  the  default,  which  is
              "black".

       --position-chars
              Position  the  characters in each text string indi­
              vidually.  If the text font is not a member of  the
              Courier  family,  and  especially  if  it  is not a
              fixed-width font, this option is  recommended.   It
              will improve the appearance of text strings, at the
              price of making it difficult  to  edit  the  output
              file with xfig(1), idraw(1), or Illustrator.

       --rotation angle
              Rotate the graphics display by angle degrees.  Rec­
              ognized values are "0",  "90",  "180",  and  "270".
              "no"  and  "yes"  are  equivalent  to "0" and "90",
              respectively.  The  environment  variable  ROTATION
              can also be used to specify a rotation angle.

       --use-tek-fonts
              Use the bitmap fonts that were used on the original
              Tektronix 4010/4014 terminal.  This option is rele­
              vant  only  to  tek2plot  -T  X.  The four relevant
              bitmap fonts are distributed with most versions  of
              the  GNU  plotting utilities, under the names "tek­
              font0"..."tekfont3".  They can easily be  installed
              on  any  modern  X Window System display.  For this
              option to work properly, you  must  also  select  a
              window  size  of  1024x1024 pixels, either by using
              the --bitmap-size 1024x1024 option  or  by  setting
              the  value of the Xplot.geometry resource.  This is
              because bitmap fonts,  unlike  the  scalable  fonts
              that tek2plot normally uses, cannot be rescaled.

              This  option  is  useful only if you have a file in
              Tektronix format that draws text using native  Tek­
              tronix  fonts.  Tektronix files produced by the GNU
              plotting utilities (e.g., by graph -T tek)  do  not
              use native Tektronix fonts: they use Hershey vector
              fonts instead.

   Options for Metafile Output
       The following option is relevant only if the -T option  is
       omitted or if -T meta is used.  In this case tek2plot out­
       puts a GNU graphics metafile, which must be translated  to
       other formats with plot(1).

              X, tek2plot -T svg, tek2plot -T ai, tek2plot -T ps,
              tek2plot -T cgm, and tek2plot -T fig  each  support
              the 35 standard Postscript fonts.  tek2plot -T svg,
              tek2plot -T pcl, and tek2plot -T hpgl  support  the
              45 standard PCL 5 fonts, and the latter two support
              a number  of  Hewlett-Packard  vector  fonts.   All
              seven  support a set of 22 Hershey vector fonts, as
              do tek2plot -T png, tek2plot -T  pnm,  tek2plot  -T
              gif,  tek2plot  -T  regis,  and  tek2plot  -T  tek.
              tek2plot without a -T option in principle  supports
              any of these fonts, since its output must be trans­
              lated to other formats with plot(1).

              The plotfont(1) utility may be  used  to  obtain  a
              character map of any supported font.

       --list-fonts
              Like  --help-fonts, but lists the fonts in a single
              column to facilitate piping to other programs.   If
              no  output  format is specified with the -T option,
              the full set of supported fonts is listed.

       --version
              Print the version number of tek2plot and the  plot­
              ting utilities package, and exit.


ENVIRONMENT

       The  environment variables BITMAPSIZE, PAGESIZE, BG_COLOR,
       EMULATE_COLOR, MAX_LINE_LENGTH and ROTATION serve as back­
       ups    for   the   options   --bitmap-size,   --page-size,
       --bg-color,   --emulate-color,   --max-line-length,    and
       --rotation, respectively.  The remaining environment vari­
       ables are specific to individual output formats.

       tek2plot -T X, which pops up a window on an X Window  Sys­
       tem  display  and draws graphics in it, checks the DISPLAY
       environment variable.  Its value  determines  the  display
       that will be used.

       tek2plot  -T png and tek2plot -T gif, which produce output
       in PNG format  and  pseudo-GIF  format  respectively,  are
       affected  by  the  INTERLACE environment variable.  If its
       value is "yes", the output will be interlaced.   Also,  if
       the  TRANSPARENT_COLOR  environment variable is set to the
       name of a color, that color will be treated as transparent
       in the output.

       tek2plot  -T pnm, which produces output in portable anymap
       (PBM/PGM/PPM) format,  is  affected  by  the  PNM_PORTABLE
       environment  variable.   If its value is "yes", the output
       will be in a human-readable format rather than binary (the
       default).
       environment variable PCL_ASSIGN_COLORS.  It should be  set
       to  "yes"  when producing PCL 5 output for a color printer
       or other color device.  This will  ensure  accurate  color
       reproduction  by giving the output device complete freedom
       in assigning colors, internally, to  its  "logical  pens".
       If it is "no" then the device will use a fixed set of col­
       ored pens, and will emulate other colors by shading.   The
       default  is  "no"  because monochrome PCL 5 devices, which
       are much more common than colored ones, must  use  shading
       to emulate color.

       tek2plot  -T hpgl, which produces Hewlett-Packard Graphics
       Language output, is affected by several environment  vari­
       ables.   The  most important is HPGL_VERSION, which may be
       set to "1", "1.5", or "2" (the default).  "1"  means  that
       the  output  should be generic HP-GL, "1.5" means that the
       output should be suitable for the HP7550A graphics plotter
       and the HP758x, HP7595A and HP7596A drafting plotters (HP-
       GL with some HP-GL/2 extensions), and "2" means  that  the
       output should be modern HP-GL/2.  If the version is "1" or
       "1.5" then the only available fonts will be vector  fonts,
       and  all  lines will be drawn with a default width (the -W
       option will not work).

       The position of the tek2plot -T hpgl graphics  display  on
       the  page  can  be  rotated 90 degrees counterclockwise by
       setting the HPGL_ROTATE  environment  variable  to  "yes".
       This  is  not  the  same as the rotation obtained with the
       --rotation option, since it both rotates the graphics dis­
       play  and repositions its lower left corner toward another
       corner of the page.  Besides "no"  and  "yes",  recognized
       values  for  HPGL_ROTATE  are "0", "90", "180", and "270".
       "no" and "yes" are equivalent to  "0"  and  "90",  respec­
       tively.   "180"  and "270" are supported only if HPGL_VER­
       SION is "2" (the default).

       By default, tek2plot -T hpgl will draw with a fixed set of
       pens.   Which pens are present may be specified by setting
       the HPGL_PENS environment variable.   If  HPGL_VERSION  is
       "1",  the  default  value  of  HPGL_PENS  is "1=black"; if
       HPGL_VERSION  is  "1.5"  or  "2",  the  default  value  of
       HPGL_PENS         is         "1=black:2=red:3=green:4=yel­
       low:5=blue:6=magenta:7=cyan".  The format should be  self-
       explanatory.  By setting HPGL_PENS you may specify a color
       for any pen in the range #1...#31.  All color names recog­
       nized  by  the  X  Window System may be used.  Pen #1 must
       always be present, though it need not be black.  Any other
       pen in the range #1...#31 may be omitted.

       If  HPGL_VERSION is "2" then tek2plot -T hpgl will also be
       affected by the environment  variable  HPGL_ASSIGN_COLORS.
       If  its  value is "yes", then tek2plot -T hpgl will not be
       white lines.  Some older HP-GL/2  devices  may,  in  fact,
       malfunction if asked to draw opaque objects.


SEE ALSO

       plot(1), plotfont(1), and "The GNU Plotting Utilities Man­
       ual".


AUTHORS

       tek2plot was written by  Robert  S.  Maier  (rsm@math.ari­
       zona.edu).   It incorporates a Tektronix parser written by
       Edward Moy (moy@parc.xerox.com).


BUGS

       Email bug reports to bug-gnu-utils@gnu.org.

FSF                          Jun 2000                 TEK2PLOT(1)

An undefined database error occurred. SELECT distinct pages.pagepath,pages.pageid FROM pages, page2command WHERE pages.pageid = page2command.pageid AND commandid =


  
Help us cut cost by not downloading the whole site!
Use of automated download sofware ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and therefore is expressedly prohibited. For more details on this, take a look here

Login
Nickname

Password

Security Code
Security Code
Type Security Code


Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!


Amazon Wish List

Did You Know?
You can get all the latest Site and Linux news by checking out our news page.


Friends



Tell a Friend About Us

Bookmark and Share



Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.10 Seconds