XY Segments Section
Applicability: Cranium, Synapse (core versions 0317+)
Each data value is a member of one or more segments. (All
data values are members of the default 'All Segments'
segment.) These segments are displayed on xy graphs.
The XY Segments Section contains two
fields which manage the display of these curve segments
and region segments.
1
|
Curve Segments Field: displays those
segments which will be displayed as curves
on the current graph.
|
2
|
Region Segments Field: displays those
segments which will be displayed as regions
on the current graph.
|
Editing Curve Segments
Clicking the left mouse button on the Curve Segments Field's
data table activates the Curve Segments Dialog. See the
dialog's documentation for
details.
Curve Segments Commands Menu
Clicking the right mouse button within the curve segments
field's table control activates the field's commands menu.
The menu's commands enable you to copy, cut and paste values
to and from the data control. See
Common Menu Commands for
documentation on the commands commonly found on command menus.
Editing Region Segments
Clicking the left mouse button on the Region Segments Field's
data table activates the Region Segments Dialog. See the
dialog's documentation for
details.
Region Segments Commands Menu
Clicking the right mouse button within the region segments
field's table control activates the field's commands menu.
The menu's commands enable you to copy, cut and paste values
to and from the data control. See
Common Menu Commands for
documentation on the commands commonly found on command menus.
Example: Specify segments for entered xy data
Curve segments and region segments are used to display
data values on xy graphs. In this example we will use
the data shown in the table to the right to create
several segments.
X,Value |
X,Accuracy |
Y,Value |
Y,Accuracy |
0 |
5 |
100 |
6 |
20 |
4 |
84.15 |
4 |
40 |
4 |
63.59 |
5 |
60 |
4 |
40.77 |
3 |
80 |
5 |
16.35 |
6 |
40 |
5 |
16.35 |
4 |
-
Open a Graph document. (Open a "working" document or
create a copy of a document
(see here) if you are just
experimenting with this functionality.)
-
Change to the XY Graphs Chapter and create a new
xy graph. You can create a new xy graph
by pressing the Add toolbar button (the large plus
sign), choosing the Add Page command from the Edit
menu, or using the ctrl-a keyboard accelerator.
-
Click on the Identifier Pane's edit control and enter
a name for your new graph.
-
Typically you should enter information about the graph
in the
Descriptive Information Section. We
will skip this for this example.
-
Click and hold the left mouse button in the first cell in the
table shown above. While holding the mouse button down, drag
the mouse to the table's lower right corner. Then press the
ctrl-c key combination to copy the values to clipboard.
-
Click the left mouse button on the Data Values Section's
table control. The application activates the Data
Dialog.
-
Click the left mouse button on the table control's first
row. The row will become selected.
-
Click the right mouse button on the table control and
select the Paste Special command.
-
The application activates the Paste Special Mapping dialog.
The copied values will be displayed in the dialog's
table control. Click the left mouse button in each
column's heading and select the corresponding attribute.
-
Press the dialog's OK button. The values will be pasted
into the Data Dialog.
-
Click and hold the left mouse button down on the table
control's first row and drag the mouse downward to
select the first three rows.
-
Press the dialog's Set Segs button. The application
activates the Edit Data Segments dialog. Enter the value
'seg1' into one of the edit controls in the New Data
Segments control group. Then press the dialog's OK
button.
-
The new segment will be added to the first three
data values.
-
Click and hold the left mouse button down on the table
control's fourth row and drag the mouse downward to
select the last three rows.
-
Again press the dialog's Set Segs button. The application
again activates the Edit Data Segments dialog. Enter the
value 'seg2' into the edit control. Then press the
dialog's OK button.
-
The new segment will be added to the last three
data values.
-
Click and hold the left mouse button down on the table
control's third row and drag the mouse downward to
select the last four rows.
-
Press the dialog's Add Seg button. The application
activates the Edit Data Segments dialog but with only
one edit control enabled. Enter the value
'reg1' into the edit control. Then press the dialog's OK
button.
-
The new segment will be added to the last four
data values. Thus, the last four data values will
now have two segments assigned to them.
-
Finally, press the Data Dialog's Save button to store
the entered values into the current graph document.
-
Now scroll down to the XY Segments section and
click the left mouse button on the Curve Segments
field's table control. The application activates the
Curve Segments Edit Dialog.
-
Click the left mouse button on the table control's first
row and press the dialog's Edit button. The application
activates the Curve Segment Edit Dialog. Select the
attribute values to match those in the figure below
then press the dialog's OK button.
-
Click the left mouse button on the table control's second
row and press the dialog's Edit button. The application
activates the Curve Segment Edit Dialog. Select the
attribute values to match those in the figure below
then press the dialog's OK button.
-
Finally, press the Curve Segments Dialog's Save button
to store the entered curve segments into the current
graph document.
-
Now click the left mouse button on the Region Segments
field's table control. The application activates the
Region Segments Edit Dialog.
-
Click the left mouse button on the table control's first
row and press the dialog's Edit button.
The application
activates the Region Segment Edit Dialog. Select the
attribute values to match those in the figure to the right,
then press the dialog's OK button.
-
Finally, press the Region Segments Dialog's Save button
to store the entered region segment into the current
graph document.
-
Scroll down to the Graph Section. The two curve segments
and the one region segment will be displayed on the
xy graph.
Related Documentation