Term-Gnuplot
view release on metacpan or search on metacpan
GnuplotTerminals.pod view on Meta::CPAN
plotting size of the plot, which is one of the following: C<letter> for
standard (8 1/2" X 11") displays, C<legal> for (8 1/2" X 14") displays,
C<noextended> for (36" X 48") displays (a letter size ratio) or,
C<extended> for (36" X 55") displays (almost a legal size ratio).
C<color> is for multi-pen (i.e. color) plots, and <number_of_pens> is
the number of pens (i.e. colors) used in color plots. C<monochrome> is for
one (e.g. black) pen plots. C<solid> draws all lines as solid lines, or
'dashed' will draw lines with different dashed and dotted line patterns.
<font> is C<stick>, C<univers>, C<cg_times>, C<zapf_dingbats>, C<antique_olive>,
C<arial>, C<courier>, C<garamond_antigua>, C<letter_gothic>, C<cg_omega>,
C<albertus>, C<times_new_roman>, C<clarendon>, C<coronet>, C<marigold>,
C<truetype_symbols>, or C<wingdings>. <fontsize> is the font size in points.
The point type selection can be the standard default set by specifying
nopspoints, or the same set of point types found in the postscript terminal
by specifying pspoints.
Note that built-in support of some of these options is printer device
dependent. For instance, all the fonts are supposedly supported by the HP
Laserjet IV, but only a few (e.g. univers, stick) may be supported by the HP
Laserjet III and the Designjet 750C. Also, color obviously won't work on the
the laserjets since they are monochrome devices.
gnuterm/term/hpgl.trm view on Meta::CPAN
{"z$apf_dingbats", "zapf_dingbats", 364, 1, 0.0, HPGL2_DEF_POINT, 0, 0, 4141},
{"an$tique_olive", "antique_olive", 277, 1, 0.0, HPGL2_DEF_POINT, 0, 0, 4168},
{"ar$ial", "arial", 277, 1, 0.0, HPGL2_DEF_POINT, 0, 0, 16602},
{"cou$rier", "courier", 277, 1, 0.0, HPGL2_DEF_POINT, 0, 0, 4099},
{"g$aramond_antigua", "garamond_antigua", 277, 1, 0.0, HPGL2_DEF_POINT, 0, 0, 4197},
{"l$etter_gothic", "letter_gothic", 277, 1, 0.0, HPGL2_DEF_POINT, 0, 0, 4102},
{"cg_o$mega", "cg_omega", 277, 1, 0.0, HPGL2_DEF_POINT, 0, 0, 4113},
{"al$bertus", "albertus", 277, 1, 0.0, HPGL2_DEF_POINT, 0, 1, 4362},
{"ti$mes_new_roman", "times_new_roman", 277, 1, 0.0, HPGL2_DEF_POINT, 0, 0, 16901},
{"cl$arendon", "clarendon", 277, 1, 0.0, HPGL2_DEF_POINT, 4, 3, 4140},
{"cor$onet", "coronet", 277, 1, 0.0, HPGL2_DEF_POINT, 1, 0, 4116},
{"m$arigold", "marigold", 277, 1, 0.0, HPGL2_DEF_POINT, 0, 0, 4297},
{"tr$uetype_symbols", "truetype_symbols", 621, 1, 0.0, HPGL2_DEF_POINT, 0, 0, 16686},
{"w$ingdings", "wingdings", 18540, 1, 0.0, HPGL2_DEF_POINT, 1, 0, 31402}
};
#define HPGL2_FONTS (sizeof(HPGL2_font_table) / sizeof (struct HPGL2_font_str))
static struct HPGL2_font_str *HPGL2_font = &HPGL2_font_table[0];
/*
* The default mode goes first. Landscape style plots are probably the
gnuterm/term/hpgl.trm view on Meta::CPAN
case HPGL2_FONT:
c_token++;
if (!END_OF_COMMAND) {
for (i = 0; i < HPGL2_FONTS && !almost_equals(c_token, HPGL2_font_table[i].compare); i++);
if (i < HPGL2_FONTS) {
HPGL2_font = &HPGL2_font_table[i];
HPGL2_font_num = i;
HPGL2_font_num_current = HPGL2_font_num;
} else
int_error(c_token,
"expecting font: stick, cg_times, univers, zapf_dingbats, antique_olive,\narial, courier, garamond_antigua, letter_gothic, cg_omega, albertus,\ntimes_new_roman, clarendon, coronet, marigold, truetype_symbols, or wingdings");
c_token++;
} else
int_error(c_token,
"expecting font: stick, cg_times, univers, zapf_dingbats, antique_olive,\narial, courier, garamond_antigua, letter_gothic, cg_omega, albertus,\ntimes_new_roman, clarendon, coronet, marigold, truetype_symbols, or wingdings");
break;
case HPGL2_SIZE:
c_token++;
if (!END_OF_COMMAND) {
if ((HPGL2_point_size = real(&token[c_token].l_val)) > 0.0) {
HPGL2_point_size_current = HPGL2_point_size;
t->v_char = (int) HPGL_PUPI *HPGL2_point_size / 72;
t->h_char = t->v_char * 2 / 3;
if (HPGL2_font->spacing)
HPGL2_font->height = HPGL2_point_size;
gnuterm/term/hpgl.trm view on Meta::CPAN
" plotting size of the plot, which is one of the following: `letter` for",
" standard (8 1/2\" X 11\") displays, `legal` for (8 1/2\" X 14\") displays,",
" `noextended` for (36\" X 48\") displays (a letter size ratio) or,",
" `extended` for (36\" X 55\") displays (almost a legal size ratio).",
" `color` is for multi-pen (i.e. color) plots, and <number_of_pens> is",
" the number of pens (i.e. colors) used in color plots. `monochrome` is for",
" one (e.g. black) pen plots. `solid` draws all lines as solid lines, or",
" 'dashed' will draw lines with different dashed and dotted line patterns.",
" <font> is `stick`, `univers`, `cg_times`, `zapf_dingbats`, `antique_olive`,",
" `arial`, `courier`, `garamond_antigua`, `letter_gothic`, `cg_omega`,",
" `albertus`, `times_new_roman`, `clarendon`, `coronet`, `marigold`,",
" `truetype_symbols`, or `wingdings`. <fontsize> is the font size in points.",
" The point type selection can be the standard default set by specifying",
" nopspoints, or the same set of point types found in the postscript terminal",
" by specifying pspoints.",
"",
" Note that built-in support of some of these options is printer device",
" dependent. For instance, all the fonts are supposedly supported by the HP",
" Laserjet IV, but only a few (e.g. univers, stick) may be supported by the HP",
" Laserjet III and the Designjet 750C. Also, color obviously won't work on the",
" the laserjets since they are monochrome devices.",
gnuterm/term/pc.trm view on Meta::CPAN
*
* This software is provided "as is" without express or implied warranty
* to the extent permitted by applicable law.
]*/
/*
* This file is included by ../term.c.
*
* This terminal driver supports:
* Under Microsoft C
* cga, egabios, egalib, vgabios, hercules, corona325, att
* Under Turboc C
* cga, ega/vga, vgamono, svga, mcga, hercules, att
* Under Watcom C
* cga, ega/vga, vgamono, svga, mcga, hercules, ???
*
* AUTHORS
* Colin Kelley, Thomas Williams, William Wilson, Russell Lang
* modified by David J. Liu (liu@csb.yale.edu) for version 3.6
*
* send your comments or suggestions to (info-gnuplot@dartmouth.edu).
gnuterm/term/pc.trm view on Meta::CPAN
#endif /* __TURBOC__ */
#ifdef __WATCOMC__
_setvideomode(pc_mode);
#endif /* WATCOMC */
#ifdef MSC
if (pc_corscreen == -1)
Vmode(18); /* VGA */
else {
grinit(corscreen);
grandtx();
} /* corolla */
#endif /* MSC */
}
TERM_PUBLIC void
PC_linetype(linetype)
{
if (pc_colors > 14) { /* 16 or more colors */
if (linetype >= 13)
linetype %= 13;
#ifdef __TURBOC__
( run in 0.784 second using v1.01-cache-2.11-cpan-3cd7ad12f66 )