~ubuntu-branches/ubuntu/intrepid/plplot/intrepid

« back to all changes in this revision

Viewing changes to bindings/tcl/plapi.tpl

  • Committer: Bazaar Package Importer
  • Author(s): Rafael Laboissiere
  • Date: 2006-11-04 10:19:34 UTC
  • mfrom: (2.1.8 edgy)
  • Revision ID: james.westby@ubuntu.com-20061104101934-mlirvdg4gpwi6i5q
Tags: 5.6.1-10
* Orphaning the package
* debian/control: Changed the maintainer to the Debian QA Group

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# --*-perl-*--
2
 
# $Id: plapi.tpl,v 1.18 2004/06/14 21:51:52 rlaboiss Exp $
 
2
# $Id: plapi.tpl,v 1.19 2005/03/14 19:41:22 airwin Exp $
3
3
#
4
4
# PLplot API template specification file.
5
5
# Geoffrey Furnish
302
302
digits  PLINT&
303
303
 
304
304
# Draws a histogram of n values of a variable in array data[0..n-1].
305
 
# pltclgen not able to handle Tcl Matricies yet.
 
305
# pltclgen not able to handle Tcl Matrices yet.
306
306
 
307
307
pltclcmd plhist void
308
308
n       PLINT
319
319
l       PLFLT
320
320
s       PLFLT
321
321
 
 
322
# Function to transform from HLS to RGB color space.
 
323
 
 
324
pltclcmd plhlsrgb void
 
325
h       PLFLT
 
326
l       PLFLT
 
327
s       PLFLT
 
328
r       PLFLT&
 
329
g       PLFLT&
 
330
b       PLFLT&
 
331
 
322
332
# Initializes PLplot, using preset or default options.
323
333
 
324
334
pltclcmd plinit void
457
467
g       PLINT
458
468
b       PLINT
459
469
 
 
470
# Function to transform from RGB to HLS color space.
 
471
 
 
472
pltclcmd plrgbhls void
 
473
r       PLFLT
 
474
g       PLFLT
 
475
b       PLFLT
 
476
h       PLFLT&
 
477
l       PLFLT&
 
478
s       PLFLT&
 
479
 
460
480
# Set character height.
461
481
 
462
482
pltclcmd plschr void
915
935
# void
916
936
# plGetName(char *dir, char *subdir, char *filename, char **filespec);
917
937
 
918
 
# Functions for converting between HLS and RGB color space
919
 
 
920
 
# void
921
 
# plHLS_RGB(PLFLT h, PLFLT l, PLFLT s, PLFLT *p_r, PLFLT *p_g, PLFLT *p_b);
922
 
 
923
 
# void
924
 
# plRGB_HLS(PLFLT r, PLFLT g, PLFLT b, PLFLT *p_h, PLFLT *p_l, PLFLT *p_s);
925
 
 
926
938
# Wait for graphics input event and translate to world coordinates
927
939
 
928
940
# int