manpagez: man pages & more
info gnuplot
Home | html | info | man
[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

4.1.0.65 tgif

Tgif is an X11-based drawing tool—it has nothing to do with GIF.

The ‘tgif‘ driver supports different pointsizes (with pointsize), different label fonts and font sizes (e.g. ‘set label "Hallo" at x,y font "Helvetica,34"‘) and multiple graphs on the page. The proportions of the axes are not changed.

Syntax:

      set terminal tgif {portrait | landscape | default} {<[x,y]>}
                        {monochrome | color}
                        {{linewidth | lw} <LW>}
                        {solid | dashed}
                        {font "<fontname>"} {<fontsize>}

where <[x,y]> specifies the number of graphs in the x and y directions on the page, ‘color‘ enables color, ‘linewidth‘ scales all linewidths by <LW>, "<fontname>" is the name of a valid PostScript font, and <fontsize> specifies the size of the PostScript font. ‘defaults‘ sets all options to their defaults: ‘portrait‘, ‘[1,1]‘, ‘color‘, ‘linwidth 1.0‘, ‘dashed‘, ‘"Helvetica"‘, and ‘18‘.

The ‘solid‘ option is usually prefered if lines are colored, as they often are in the editor. Hardcopy will be black-and-white, so ‘dashed‘ should be chosen for that.

Multiplot is implemented in two different ways.

The first multiplot implementation is the standard gnuplot multiplot feature:

      set terminal tgif
      set output "file.obj"
      set multiplot
      set origin x01,y01
      set size  xs,ys
      plot ...
           ...
      set origin x02,y02
      plot ...
      unset multiplot

See multiplot for further information.

The second version is the [x,y] option for the driver itself. The advantage of this implementation is that everything is scaled and placed automatically without the need for setting origins and sizes; the graphs keep their natural x/y proportions of 3/2 (or whatever is fixed by size).

If both multiplot methods are selected, the standard method is chosen and a warning message is given.

Examples of single plots (or standard multiplot):

      set terminal tgif                  # defaults
      set terminal tgif "Times-Roman" 24
      set terminal tgif landscape
      set terminal tgif landscape solid

Examples using the built-in multiplot mechanism:

      set terminal tgif portrait [2,4]  # portrait; 2 plots in the x-
                                        # and 4 in the y-direction
      set terminal tgif [1,2]           # portrait; 1 plot in the x-
                                        # and 2 in the y-direction
      set terminal tgif landscape [3,3] # landscape; 3 plots in both
                                        # directions"


[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated on November 19, 2011 using texi2html 5.0.

© manpagez.com 2000-2024
Individual documents may contain additional copyright information.