VIEW Gadget: PLOT View
- Last UpdatedNov 07, 2024
- 2 minute read
Members
|
Name |
Type |
Purpose |
|---|---|---|
|
Background |
REAL |
Get or set background Color Number. |
|
Background |
STRING |
Set background Color Name. |
|
Borders |
BOOLEAN |
Get or set borders ON (TRUE) or OFF (FALSE). |
|
Contents |
REAL ARRAY[2] |
Get or set User Contents ID. |
|
Defcall |
STRING |
Get or set default interaction callback. |
|
Height |
REAL |
Get view height. |
|
Highlight |
REAL |
Get or set highlight Color Number. |
|
Highlight |
STRING |
Set highlight Color Name. |
|
Prompt |
GADGET |
Get or set User Prompt PARAGRAPH gadget. |
|
Subtype |
STRING |
Get subtype of graphic view. |
|
Width |
REAL |
Get view width. |
Methods
|
Name |
Result |
Purpose |
|---|---|---|
|
Add(STRING) |
NO RESULT |
Add plot file with name given by STRING. Replaces given plot file if any. |
|
Background() |
STRING |
Returns the background color as a name STRING. |
|
Clear() |
NO RESULT |
Clear gadget contents. |
|
Highlight() |
STRING |
Returns the highlight color as a name STRING. |
|
Refresh() |
NO RESULT |
Refreshes the display of the gadget. |
|
SetSize(REAL width, REAL height) |
NO RESULT |
Set view size. |
Command
The VIEW ... PLOT command puts you into View Setup mode. You remain in View Setup mode until you use the EXIT command.
.-------------------------<------------------------.
/ |
(PLOT) --+- <vshap> -----------------------------------. |
+- ADD ‑ plot_filename -----------------------| |
+- CLear -------------------------------------| |
+- SETColour - <colno> -----------------------| |
+- SETHighlight - <colno> --------------------‘- NL -|
+- <cursor> -----------------------------------------|
+- <border> -----------------------------------------|
+-- <pml> -------------------------------------------*
‘-- EXIT -->
Figure 2.8. Syntax Graph: Setting Up a PLOT VIEW Object
Here:
-
<colno> is any valid AVEVA E3D Design color definition.
-
<cursor> is the syntax for selecting the cursor type, as in 2-19.
-
<border> allows control of zooming and panning as in 2-20.