Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.atnf.csiro.au/computing/software/gipsy/sub/GgiPlotField.dc2
Дата изменения: Thu Mar 14 05:19:25 2002
Дата индексирования: Fri Jan 16 23:52:57 2009
Кодировка:

Поисковые слова: http www.astronomy.ru forum index.php topic 4644.0.html
Function: GgiPlotField

Purpose: Create Ggi element implementing a PGPLOT window

Category: USER-INTERFACE, GRAPHICS

File: ggi.src

Author: J.P. Terlouw

Use:
#include "ggi.h"
ident plotfield;
char *devicename;
int width, height;

plotfield = GgiPlotField(devicename, width, height);

plotfield - 'handle' by which element can be referenced.
devicename - device name to be used in later PGBEG call.
width - horizontal size of window. If zero, the
existing element corresponding with
'devicename' is returned.
height - vertical size of window.

Description: GgiPlotField creates a plot window which can be used with
the PGPLOT routines. Currently the maximum number of such
windows is 100.

All plot windows must have been created before any PGPLOT
routine is called. Windows created later will be inoperative.

The PGPLOT capabilities are identical to those of the X11
plot server (plserver), except that there is no standard
cursor capability because this is incompatible with the
event-driven paradigm supported by Ggi.
Cursor interaction can be obtained using a callback mechanism
implemented by the function ScheduleGgiPlotCursor().

Initially 16 standard colors are available. If more colors
are needed, GgiPlotColors() can be called to adjust the
number of colors.

Related documents:
GgiPlotColors.dc2, GgiPlotXor.dc2, ScheduleGgiPlotCursor.dc2,
DescheduleGgiPlotCursor.dc2.

Updates: Feb 25, 1998: JPT, Document created.
Mar 1, 1998: JPT, Return existing element for zero width.
Jan 14, 1999: JPT, Document modified for GgiPlotColors.