Programmer Guide/Shell Items/Graph/NEW GRAPH: Difference between revisions
From STX Wiki
< Programmer Guide | Shell Items | Graph
Jump to navigationJump to search
m (1 revision: Initial import) |
No edit summary |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:{{SUBPAGENAME}}}} | {{DISPLAYTITLE:{{SUBPAGENAME}}}} | ||
See [[Programmer_Guide/Shell_Items/Graph/SET_GRAPH|SET GRAPH]] for the SET commands and [[User Guide/Transcription/SPExL - Transcription Tool|GRAPH Item Attributes]] for a list of attributes. | |||
NEW GRAPH <var>name inputs display row</var> [<var>col</var>] [ /S|A ] [ /G ] [ /C ] [ /O ] | |||
Create a graph item. The graph is assigned to a row and column in an existing display item. | Create a graph item. The graph is assigned to a row and column in an existing display item. | ||
Line 10: | Line 8: | ||
The graph receives its data via inputs. The number of Y data inputs is defined in the <code>NEW GRAPH</code> command. The function defining the data source and drawing format can then be called for each Y input (See inputs and plots). | The graph receives its data via inputs. The number of Y data inputs is defined in the <code>NEW GRAPH</code> command. The function defining the data source and drawing format can then be called for each Y input (See inputs and plots). | ||
{| class="keinrahmen" | |||
|- | |||
| <var>name</var> | |||
| The unique name identifying this graph. If an asterisk is supplied, a unique name is automatically generated. | |||
|- | |||
| <var>inputs</var> | |||
| The number of (Y-data) inputs of the graph. An X input is always added. | |||
|- | |||
| <var>display</var> | |||
| The display item name where the graph will be displayed. | |||
|- | |||
| <var>row</var>, <var>col</var> | |||
| The location of graph in display (zero based indexes, 0/0 = top/left). | |||
|- | |||
| <code>/S</code> or <code>/A</var> | |||
| Display multiple inputs synchronously (/S) or asynchronously (/A). | |||
|- | |||
| <code>/G</code> | |||
| Garbage collection. If specified, the item is automatically deleted when exiting the macro in which it was created. | |||
|- | |||
| <code>/Cursorrange=on|off</code> | |||
| The <code>/C</code> option can be used to turn one-click range selection functionality on or off. By default, one-click range selection is on. | |||
|- | |||
| <code>/O</code> | |||
| If the <code>/O</code> option is specified, zoom functionality is turned off. This may speed up graphs which contain a lot of data. | |||
|} | |||
Revision as of 12:05, 31 October 2012
See SET GRAPH for the SET commands and GRAPH Item Attributes for a list of attributes.
NEW GRAPH name inputs display row [col] [ /S|A ] [ /G ] [ /C ] [ /O ]
Create a graph item. The graph is assigned to a row and column in an existing display item.
The graph receives its data via inputs. The number of Y data inputs is defined in the NEW GRAPH
command. The function defining the data source and drawing format can then be called for each Y input (See inputs and plots).
name | The unique name identifying this graph. If an asterisk is supplied, a unique name is automatically generated. |
inputs | The number of (Y-data) inputs of the graph. An X input is always added. |
display | The display item name where the graph will be displayed. |
row, col | The location of graph in display (zero based indexes, 0/0 = top/left). |
/S or /A
|
Display multiple inputs synchronously (/S) or asynchronously (/A). |
/G
|
Garbage collection. If specified, the item is automatically deleted when exiting the macro in which it was created. |
off | The /C option can be used to turn one-click range selection functionality on or off. By default, one-click range selection is on.
|
/O
|
If the /O option is specified, zoom functionality is turned off. This may speed up graphs which contain a lot of data.
|