Graph IDE ► Graphs ► Single Coordinate Graph

A Single Coordinate Graph is the usual type of graph which displays only one coordinate. The coordinate can be of any type, linear, log, angular, radial, nonuniform and mixed or non-mixed amongst those types. The coordinate can also have non-orthogonal dimensions. However, there needs to be only one coordinate per point on the graph; contrast that to the Multiple Coordinate Graph.

The figure below shows two examples of a single coordinate graph without any data on them.

The figure below annotates the major components of the graph:

Note the x-axis and how the tick placement does not have to coincide with the left and right sides of the frame of the graph. The ticks can float along the graph by varying the tick x-minimum or the graph's x-minimum for example.

Inspector Editor

The Metrics Editor for the Single Coordinate Graph is described below.

Automatically Reset Fields And Graph

Set Using Auto Scaler : Selecting this button autoscales the graph according to the settings in the Auto Scaler inspector.

Indigenous Coordinate Limits

This specifies the actual limits of the coordinate system represented by the graph and those limits are defined at the graph frame. When you change these limits then you should also probably change the tick discretization limits to the same values.

X-Minimum : The x-minimum value of the graph.

X-Maximum : The x-maximum value of the graph.

Y-Minimum : The y-minimum value of the graph.

Y-Maximum : The y-maximum value of the graph.

Tick Discretization

This specifies the tick locations along the axes defined in the coordinate shown by the axes. Note that the ticks "float" which is to say that they don't follow the Indigenous Coordinate Limits.

X-Minimum : The x-minimum tick value of the graph. Usually this is the same as the x-minimum value of the graph.

X-Maximum : The x-maximum tick value of the graph. Usually this is the same as the x-maximum value of the graph.

Y-Minimum : The y-minimum tick value of the graph. Usually this is the same as the y-minimum value of the graph.

Y-Maximum : The y-maximum tick value of the graph. Usually this is the same as the y-maximum value of the graph.

Apply Values Shown above

Apply : Updates the graph to correspond to the values shown above the button. Note that entering a value in a text field will not change the graph even if the return key is clicked. That is because all of the numbers are related and updating the graph based upon only one of the values can produce an inconsistent state.

Coordinate Mappings

Graphics embedded on the graph are in reference to the Indigenous Coordinate Limits and will appear to translate and scale according to those limits relative to the page view coordinate system. However, those graphics do not actually map, only the mapping relative to the page view changes. However, there is also another mapping type which is the coordinate mapping and is determine by a function, normally a linear function. This mapping maps the actual data relative to the graph coordinate (not the page view coordinate). The data remains the same however and is not mapped.

x = mx + b : This is the function of the mapping. Click this button to change that function to include a absolute value of x.

m : The slope of the linear mapping.

b : The y-intercept of the linear mapping.

This mapping feature makes more sense for polar and logarithmic graphs where the x-values need to be mapped from degrees to radians for polar coordinates and in the case of logarithmic graphs the mapping function includes base, power and reference coefficients. In the case of logarithmic graphs the base coefficient also effects the base of the graph labels while in scientific notation. So, the mapping can be a simple function, can be a unit designation or can be a label formatting requirement.

Units

The Indigenous Coordinates and Tick Discretization are all defined in their own units separate from any typographical requirement. Set that unit using the Unit Selector available on the inspector. Units appear in the Cursor Information and coordinate with the Spreadsheet. Units are informational only and will not transform the data on the graph or set the coordinate mapping.

Reference Frame

This specifies the reference frame location of the graph. Note that the reference frame is the frame that coincides with the Indigenous Coordinate Limits location but in graphic view coordinate report units. For example, the y-axis of the graph can be in degrees Celsius while the reference frame is in units of inches. The unit of the reference frame is shown in the label next to the frame component to clarify that the reference frame and graph indigenous coordinates are in different units.

Left Edge : The left edge of the graph in units and coordinate of the Graphic View.

Bottom Edge : The bottom edge of the graph in units and coordinate of the Graphic View.

Width : The width of the graph in units and coordinate of the Graphic View.

Height : The height of the graph in units and coordinate of the Graphic View.

Legend

The Legend Editor for a Graph is described below. Legends are built from graphics on the graph's data layer so first place graphics on the graph, for example a Function (Curve) and then use this editor.

Legend

Legend Group : The legend is a Group Graphic and is built automatically using the attributes specified below. Once the attributes below are specified then drag the legend near your graph on the document's Graphic View as it is also an element of a Palette. The legend is set to drag and drop to the overlay layer of the graphic view and not the data layer of the graph.

Table

Descriptions : Each row of a legend has a description which can be edited into the text of the descriptions table. Those entries are stored in the description key of the graphic resource dictionary whose entry can be modified directly via the Expert inspector.

Legend Attributes

Data Layer : The legend is built from either the foreground or background data layer of the graph, but not both. See Layer for additional information.

Legend Type : Either Entry, Circle or Square. If circle or square then the legend marker is represented by a circle or rectangle respectively whose fill color is that of the represented graphic. If Entry then the marker queues of the marker, stroke or fill of the represented graphic.

Reverse : The row order of the legend is the draw order of the data layer. It makes sense that the draw order of the data goes from minimum to maximum value which is bottom to top but legends are constructed top to bottom. Reversing the legend order makes the legend appear be in the same order as the data magnitudes, which is a heuristic effect.

Regardless of the limitations of the above settings, once the legend is dragged onto the graphic view then it is independent and can be altered using Group Graphic controls. It can also be ungrouped, modified and regrouped for the most general alterations.

If the data graphics on the graph are altered then delete the previous legend and drag out the updated legend from this editor, i.e.: the legend is not attached to the data graphics once it is drag and dropped.