Term-Gnuplot

 view release on metacpan or  search on metacpan

Gnuplot.pm  view on Meta::CPAN

217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
Paragraphs about inclusion of TERM_HELP added by rcc 1/96
 
No change to the interface between gnuplot and the terminal drivers,
but we would like to make the terminal drivers standalone
 
1) in order move the support for the terminal drivers outside of the
   support for the main program, thereby encouraging a library of
   contributed drivers
2) To make it easy for users to add contributed drivers, by adding
   a single #include line to term.h
3) To allow individual compilation on DOS, to save the overlay
   manager from having to load _all_ drivers together.
 
CORRECTION - scale() interface is no longer supported, since it
is incompatible with multiplot.
 
Whole of terminal driver should be contained in one <driver>.trm file,
with a fairly strict layout as detailed below - this allows the
gnuplot maintainers to change the way the terminal drivers are
compiled without having to change the drivers themselves.

gnuterm/term/README  view on Meta::CPAN

6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Paragraphs about inclusion of TERM_HELP added by rcc 1/96
 
No change to the interface between gnuplot and the terminal drivers,
but we would like to make the terminal drivers standalone
 
1) in order move the support for the terminal drivers outside of the
   support for the main program, thereby encouraging a library of
   contributed drivers
2) To make it easy for users to add contributed drivers, by adding
   a single #include line to term.h
3) To allow individual compilation on DOS, to save the overlay
   manager from having to load _all_ drivers together.
 
CORRECTION - scale() interface is no longer supported, since it
is incompatible with multiplot.
 
Whole of terminal driver should be contained in one <driver>.trm file,
with a fairly strict layout as detailed below - this allows the
gnuplot maintainers to change the way the terminal drivers are
compiled without having to change the drivers themselves.

gnuterm/term/grass.trm  view on Meta::CPAN

184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
D_setup (0);
 
if (D_get_cur_wind (window_name))
  G_fatal_error ("No current window");
 
if (D_set_cur_wind (window_name))
  G_fatal_error ("Current window not available");
 
/* Set up the screen, conversions, and graphics */
D_get_screen_window (&top, &b, &l, &r);
/* D_set_overlay_mode (1); */
 
/* Figure out where to put text */
 
R_set_window (top, b, l, r);
t->xmax = r-l;
t->ymax = b-top;
grass_xoffset=l;
grass_yoffset=b;
 
dots_per_line = (int) (size / 100.0 * (float) (t->ymax));



( run in 0.288 second using v1.01-cache-2.11-cpan-a9ef4e587e4 )