ENIF Plot
# Enif plot configuration generated on Fri Jun 11 17:06:59 2004
# File: chimney2.e2p
#
# String Name: name of plot configuration (tr,subst)
Name : (0x0,1) PlotName
Name = Matrices by origin and/or destination (chimneys)
# Text Description: description of plot configuration (subst)
Description : (0x800)
Description =
Matrices by origin and/or destination (chimneys)
\
This plot configuration can be used to display:\
\
- Two vector matrices side by side \
(Node value mappers\
Origins and Destinations).\
- The base network, for a selected subset of links\
(mapper Link base).\
- Node boxes and numbers, for a selected subset of nodes\
(mapper Node box).\
\
\
Using this configuration\
\
- Full view gives the window that contains\
all the nodes selected in the Origins, Destinations\
and Node box mappers.\
- The active nodes (isActive)\
depend on the node selection in the Node box mapper.\
- A node tip displays the zone number and the values for\
the production and the attraction matrices.\
\
2004-06-11 Heinz Spiess: The configuration was enhanced with a configurable control and local configurable attributes to allow the display of produtions and attractions from a given\
matrix expression and corresponding origin and destination selectors.\
Copyright © 2003, INRO Consultants, Inc. All rights reserved.\
# String TranslationContext: context for translations of configuration texts (subst)
TranslationContext : PlotTranslationContext
TranslationContext = GeneralConfiguration
# String Caption: caption that appears on window bar (tr,subst)
Caption : //SubTitle
Caption = %% [%%]
# String IconText: text that appears below icon when window is minimized (tr,subst)
IconText = %%
# String Active: name of currently active mapper
Active = Demand matrix
# String HelpReference: URL of help page for this plot configuration
HelpReference = file://%<$EnifPath>%/doc/conf/genconf/chimney_p.html
# String SA: String-valued startup parameter SA
SA : (0x100)
[Configurable attribute list]
# String IncomingGroups: regular expression to filter incoming group signals
IncomingGroups = .
# String OutgoingGroups: regular expression to filter outgoing group signals
OutgoingGroups = .
[Configurable attribute]
# String Name: configurable attribute name
Name = Attractions
# Text Description: description of configurable attribute (tr)
Description = sum over all origins
# Flags Flags: bit pattern containing object flags
Flags = 0x1
# String ExpressionType: network element type of expression
ExpressionType = O-D pairs
# Expression Expression: expression for computing attribute values (tr,o-d,string)
Expression : /DemandMatrix
Expression = mf1
# Selector Selector: selector used to compute attribute values (tr,o-d,unbuffered)
Selector : /OriginSelector
Selector =
# String AggregationPointer: pointer from expression to result element
AggregationPointer = Pq
# String AggregationOperator: aggregation operator for computing result value
AggregationOperator = +
[Configurable attribute]
# String Name: configurable attribute name
Name = Productions
# Text Description: description of configurable attribute (tr)
Description = sum over all destinations
# Flags Flags: bit pattern containing object flags
Flags = 0x1
# String ExpressionType: network element type of expression
ExpressionType = O-D pairs
# Expression Expression: expression for computing attribute values (tr,o-d,string)
Expression : /DemandMatrix
Expression = mf1
# Selector Selector: selector used to compute attribute values (tr,o-d,unbuffered)
Selector : /DestinationSelector
Selector =
# String AggregationPointer: pointer from expression to result element
AggregationPointer = Pp
# String AggregationOperator: aggregation operator for computing result value
AggregationOperator = +
[Background]
# Flags Flags: bit pattern containing mapper flags
Flags = 0xbe00000
# String TranslationContext: context for translations of configuration texts (subst)
TranslationContext[] = GeneralConfiguration
TranslationContext[] = GeneralConfiguration
TranslationContext[] = Mapper
# Bool BlockLeftMouseButton: block left mouse button press and release events when input is enabled
BlockLeftMouseButton = 1
# Bool BlockMiddleMouseButton: block middle mouse button press and release events when input is enabled
BlockMiddleMouseButton = 1
# Bool BlockRightMouseButton: block right mouse button press and release events when input is enabled
BlockRightMouseButton = 1
# Bool BlockLeftDoubleClick: block left double-click events when input is enabled
BlockLeftDoubleClick = 1
# Bool BlockMiddleDoubleClick: block middle double-click events when input is enabled
BlockMiddleDoubleClick = 1
# Bool BlockRightDoubleClick: block right double-click events when input is enabled
BlockRightDoubleClick = 1
# Bool BlockMouseMove: block mouse move events when input is enabled
BlockMouseMove = 1
# Stylus Stylus: stylus for filling background when no wallpaper is used
Stylus : (0x200) /BackgroundColor!/$PlotLoaded
Stylus = 0x20ff0000 0x01ffffff 0x00000000 0x00
[Inclusion]
# String Name: mapper name that appears on mapper control tab (tr,subst)
Name : (0x0,1)
Name = IncludeFile
# Text Description: user definable mapper description (tr)
Description = Includes user defined mappers (in application mode,\
control shown only if a file is specified and control is substituted)
# Flags Flags: bit pattern containing mapper flags
Flags = 0x9800000
# Bool EnableObjects: enable included objects
EnableObjects = 1
# Bool SubstituteControl: display control of first visible included mapper instead of inclusion mapper's control
SubstituteControl = 1
# Bool AutoHideControl: hide unsubstituted mapper control in application mode
AutoHideControl = 1
# String ConfigurationFile: file containing configuration to include (subst)
ConfigurationFile : (0x200) /UserConf!/$PlotLoaded
ConfigurationFile[] =
ConfigurationFile[] = %<$EnifPath>%/genconf/transform.e2m
ConfigurationFile[] =
[Parameter conversion]
# String Name: mapper name that appears on mapper control tab (tr,subst)
Name : (0x0,1)
Name = SubTitle
# Flags Flags: bit pattern containing mapper flags
Flags = 0xbfb0000
# String SA: string parameter SA (subst)
SA : Production
SA = Productions
# String SB: string parameter SB (subst)
SB : Attraction
SB = Attractions
# Expression Expression: expression for parameter conversion (tr,string,max. 12 values)
Expression = uncomment(SA)+if(SA>""&&SB>"",",","")+uncomment(SB)
# String SR: string result
SR : SubTitle/
SR = Productions,Attractions
# Box BR: box result
BR = 0;0;1;1
[Link base]
# Text Description: user definable mapper description
Description : (0x800)
Description = Plot the base network links. \
The link selection and the stylus index are defined by an expression. \
The initial selection is set to 'all links', followed by the iterator 'not(isConnector)' to first, plot the connectors \
and then, the regular links in the front. \
The initial stylus index expression is set to 'isConnector', \
which yields 0 for regular links and 1 for connectors.
# Flags Flags: bit pattern containing mapper flags
Flags = 0xbc00000
# String TranslationContext: context for translations of configuration texts (subst)
TranslationContext[] = GeneralConfiguration
TranslationContext[] = GeneralConfiguration
TranslationContext[] = Mapper
# Float TransformationMatrix: coordinate transformation matrix
TransformationMatrix : /TransformationMatrix
TransformationMatrix = 0
# Bool SendMarkingSignals: send out signals when links are marked
SendMarkingSignals = 1
# Bool ReceiveMarkingSignals: mark links when external marking signals received
ReceiveMarkingSignals = 1
# Bool ShowStatusMessage: show identifier of focussed link on status bar
ShowStatusMessage = 1
# Selector LinkSelector: expression for link selection [,link iterator] (tr,link)
LinkSelector = [all links] 1, not(isConnector)
# Bool DrawINode: draw a circle at the I-node of each selected link
DrawINode = 0
# Bool DrawJNode: draw a circle at the J-node of each selected link
DrawJNode = 0
# Stylus Stylus: stylus for link outline and fill properties
Stylus : (0x200) /Basenet!/$PlotLoaded
Stylus[] = 0x20007f7f 0x0100ffff 0x00000000 0x00
Stylus[] = 0x20007f00 0x0100ff00 0x00000000 0x00
Stylus[] = 0x20000000 0x01ff0000 0x00000000 0x00
# Expression StylusIndex: expression for link stylus index (tr,link)
StylusIndex = isConnector
[Node box]
# Text Description: user definable mapper description
Description : (0x800)
Description = Plot the node boxes and/or the node numbers (or labels) for the selected nodes.\
The node selection and the stylus index are defined by an expression.\
The initial node selection is followed by the optional iterator 'xi^2+yi^2' \
in order to plot the nodes from the inside to the outside. \
The 'Active Select' flag is set so that all node value mappers can use the 'isActive' selection.\
The node tip expression can be modified to reflect any change in the choice of node values.
# Flags Flags: bit pattern containing mapper flags
Flags = 0x8800000
# String TranslationContext: context for translations of configuration texts (subst)
TranslationContext[] = GeneralConfiguration
TranslationContext[] = GeneralConfiguration
TranslationContext[] = Mapper
# Float TransformationMatrix: coordinate transformation matrix
TransformationMatrix : /TransformationMatrix
TransformationMatrix = 0
# Float NodeBoxWidth: width of node box in pixels
NodeBoxWidth : /NodeBoxWidth
NodeBoxWidth = 24
# Float NodeBoxHeight: height of node box in pixels
NodeBoxHeight = 4
# Selector NodeSelector: expression for node selection [,node iterator] (tr,node)
NodeSelector : (0x0,3)
NodeSelector = [centroids only] isZone
# Expression TipExpression: node value(s) for network tips (tr,node,string,max. 6 values)
TipExpression : (0x0,4) TipExpression
TipExpression = tr("zone=")+id,tr("origin value=")+string(Productions,0),tr("destination value=")+string(Attractions,0)
# Bool NodeNumbers: display node numbers in node box
NodeNumbers = 0
# Float YOffset: vertical offset of node box
YOffset = -2
# Stylus Stylus: stylus for node box outline, fill and text properties
Stylus : (0x200) /Nodes!/$PlotLoaded
Stylus[] = 0x20000000 0x01ffffff 0x00000000 0x00
Stylus[] = 0x20000000 0x01ffff00 0x00000000 0x00
Stylus[] = 0x20000000 0x01ff0000 0x00ffffff 0x00
# Expression StylusIndex: node expression for stylus index (tr,node)
StylusIndex = isZone
# Expression NodeValue: expression for node value (tr,node,string,max. 6 values)
NodeValue =
[Parameter conversion]
# String Name: mapper name that appears on mapper control tab (tr,subst)
Name : (0x0,1)
Name = Node tip
# Flags Flags: bit pattern containing mapper flags
Flags = 0xbfb0000
# String SA: string parameter SA (subst)
SA : Production
SA = Productions
# Box BA: box parameter BA
BA = 0;0;0;0
# String SB: string parameter SB (subst)
SB : Attraction
SB = Attractions
# Box BB: box parameter BB
BB = 0;0;0;0
# Box BC: box parameter BC
BC = 0;0;0;0
# Box BD: box parameter BD
BD = 0;0;0;0
# Box BE: box parameter BE
BE = 0;0;0;0
# Expression Expression: expression for parameter conversion (tr,string,max. 12 values)
Expression : (0x0,4)
Expression = subst("tr(\"zone=\")+id")+if(SA>"",","+subst("tr(\"origin value=\")+string(")+SA+subst(",0)"),"")+if(SB>"",","+subst("tr(\"destination value=\")+string("+SB+",0)"),"")
# String SR: string result
SR : TipExpression
SR = tr("zone=")+id,tr("origin value=")+string(Productions,0),tr("destination value=")+string(Attractions,0)
# Box BR: box result
BR = 0;0;1;1
[Node value]
# String Name: mapper name that appears on mapper control tab (tr,subst)
Name : (0x0,1)
Name = Destinations
# Flags Flags: bit pattern containing mapper flags
Flags : NodeValFlags
Flags = 0x9c00000
# Float TransformationMatrix: coordinate transformation matrix
TransformationMatrix : /TransformationMatrix
TransformationMatrix = 0
# Bool NumericValues: display node values numerically
NumericValues : /NumericValues
NumericValues = 0
# Bool PropToArea: apply the scale factor to the area, not to the diameter
PropToArea : (0x1) PropToArea
PropToArea = 0
# Bool SepValueLayer: display numeric values in separate layer on top of node shapes
SepValueLayer : SepValueLayer
SepValueLayer = 1
# Float TextSize: text size for node values
TextSize : TextSize
TextSize = 10
# Integer Decimals: number of decimals in numeric values
Decimals : Decimals
Decimals = 0
# String Shape: Shape used for drawing node values
Shape : (0x1)
Shape = Vertical bar
# String Alignment: Alignment used for node shapes
Alignment : Alignment
Alignment = Top
# Float Scale: value scale for node shapes (units/pixel)
Scale : NodeValScale//AutoScale
Scale = 60
# Float XOffset: horizontal offset from node center
XOffset : XOffset
XOffset = 6
# Float YOffset: vertical offset from node center
YOffset : VerticalOff
YOffset = 0
# Float Width: width of bars and arrows (pixels)
Width : BarWidth
Width = 10
# Stylus Stylus: stylus for node value outline, fill and text properties
Stylus : MultiBars!
Stylus[] = 0x217d1f15 0x01ff412c 0x00000000 0x00
Stylus[] = 0x2126377e 0x012088ff 0x00000000 0x00
Stylus[] = 0x217f7f00 0x01ffff00 0x00000000 0x00
Stylus[] = 0x21542a7e 0x01aa55ff 0x00000000 0x00
Stylus[] = 0x21007f00 0x0100ff00 0x00000000 0x00
Stylus[] = 0x217a517a 0x01ffaaff 0x00000000 0x00
# Selector NodeSelector: expression for node selection [,node iterator] (tr,node)
NodeSelector = isActive
# Expression StylusIndex: node expression for stylus index (tr,node)
StylusIndex = 1
# Expression NodeValue: expression for up to 12 node values (tr,node,max. 12 values)
NodeValue : Attraction
NodeValue = Attractions
[Node value]
# String Name: mapper name that appears on mapper control tab (tr,subst)
Name : (0x0,1)
Name = Origins
# Flags Flags: bit pattern containing mapper flags
Flags : NodeValFlags
Flags = 0x9c00000
# Float TransformationMatrix: coordinate transformation matrix
TransformationMatrix : /TransformationMatrix
TransformationMatrix = 0
# Bool NumericValues: display node values numerically
NumericValues : /NumericValues
NumericValues = 0
# Bool PropToArea: apply the scale factor to the area, not to the diameter
PropToArea : (0x1) PropToArea
PropToArea = 0
# Bool SepValueLayer: display numeric values in separate layer on top of node shapes
SepValueLayer : SepValueLayer
SepValueLayer = 1
# Float TextSize: text size for node values
TextSize : TextSize
TextSize = 10
# Integer Decimals: number of decimals in numeric values
Decimals : Decimals
Decimals = 0
# String Shape: Shape used for drawing node values
Shape : (0x1)
Shape = Vertical bar
# String Alignment: Alignment used for node shapes
Alignment : Alignment
Alignment = Top
# Float Scale: value scale for node shapes (units/pixel)
Scale : NodeValScale//AutoScale
Scale = 40
# Float XOffset: horizontal offset from node center
XOffset : (0x1) /NegXOffset
XOffset = -6
# Float YOffset: vertical offset from node center
YOffset : VerticalOff
YOffset = 0
# Float Width: width of bars and arrows (pixels)
Width : BarWidth
Width = 10
# Stylus Stylus: stylus for node value outline, fill and text properties
Stylus : (0x200) MultiBars!/MultiBars!/$PlotLoaded
Stylus[] = 0x217d1f15 0x01ff412c 0x00000000 0x00
Stylus[] = 0x2126377e 0x012088ff 0x00000000 0x00
Stylus[] = 0x217f7f00 0x01ffff00 0x00000000 0x00
Stylus[] = 0x21542a7e 0x01aa55ff 0x00000000 0x00
Stylus[] = 0x21007f00 0x0100ff00 0x00000000 0x00
Stylus[] = 0x217a517a 0x01ffaaff 0x00000000 0x00
# Selector NodeSelector: expression for node selection [,node iterator] (tr,node)
NodeSelector = isActive
# Expression NodeValue: expression for up to 12 node values (tr,node,max. 12 values)
NodeValue : Production
NodeValue = Productions
[Parameter conversion]
# String Name: mapper name that appears on mapper control tab (tr,subst)
Name = XOffset
# Text Description: user definable mapper description
Description : (0x800)
Description = Offset to the right for bars associated with destinations
# Flags Flags: bit pattern containing mapper flags
Flags = 0xbfb0000
# Float FA: floating point parameter FA
FA : /BarWidth
FA = 10
# Expression Expression: expression for parameter conversion (tr,string,max. 12 values)
Expression = FA/2+1
# Float FR: floating point result
FR : XOffset/
FR = 6
# Integer IR: integer result
IR = 6
# String SR: string result
SR = 6
# Box BR: box result
BR = 6;0;0;0
[Parameter conversion]
# String Name: mapper name that appears on mapper control tab (tr,subst)
Name = NegXOffset
# Text Description: user definable mapper description
Description : (0x800)
Description = Offset to the left for bars associated with origins
# Flags Flags: bit pattern containing mapper flags
Flags = 0xbfb0000
# Float FA: floating point parameter FA
FA : /XOffset
FA = 6
# Expression Expression: expression for parameter conversion (tr,string,max. 12 values)
Expression = -FA
# Float FR: floating point result
FR : NegXOffset/
FR = -6
# Integer IR: integer result
IR = -6
# String SR: string result
SR = -6
# Box BR: box result
BR = -6;0;0;0
[Configurable control]
# String Name: mapper name that appears on mapper control tab (tr,subst)
Name = Demand matrix
# Text Description: user definable mapper description (tr)
Description = This is a configurable control mapper which links to\
the local configurable attributes Productions and Attractions\
which contain the marginal totals of the Demand matrix \
expression using the specified origin and destination\
selectors.
# String Layout: layout parameters (tr)
Layout[] = Expression0;Expression;Demand matrix;;0;0;4;4;O-D pairs;1;0
Layout[] = Selector0;Selector;Origin selector:;;1;1;4;4;origins;
Layout[] = Selector1;Selector;Destination selector:;;2;2;4;4;destinations;
Layout[] = Bool0;Checkbox;Numeric values;;0;0;0;0;;
Layout[] = Float0;Scale;Scale:;;0;0;3;3;;;1
# Bool Bool0:
Bool0 : NumericValues
Bool0 = 0
# Float Float0:
Float0 : NodeValScale
Float0 = 40
# Expression Expression0: (tr,o-d)
Expression0 : DemandMatrix/
Expression0 = mf1
# Selector Selector0: (tr,orig.,unbuffered)
Selector0 : OriginSelector/
Selector0 =
# Selector Selector1: (tr,dest.,unbuffered)
Selector1 : DestinationSelector
Selector1 =
# Stylus Stylus0: stylus parameter Stylus0
Stylus0 = 0x00000000 0x00000000 0x00000000 0x00
# Stylus Stylus1: stylus parameter Stylus1
Stylus1 = 0x00000000 0x00000000 0x00000000 0x00
# Stylus Stylus2: stylus parameter Stylus2
Stylus2 = 0x00000000 0x00000000 0x00000000 0x00
# Stylus Stylus3: stylus parameter Stylus3
Stylus3 = 0x00000000 0x00000000 0x00000000 0x00
# Stylus Stylus4: stylus parameter Stylus4
Stylus4 = 0x00000000 0x00000000 0x00000000 0x00
# Box BBox0: bounding box parameter BBox0
BBox0 = 1;1;0;0
# Box BBox1: bounding box parameter BBox1
BBox1 = 1;1;0;0
# Box BBox2: bounding box parameter BBox2
BBox2 = 1;1;0;0
# Box BBox3: bounding box parameter BBox3
BBox3 = 1;1;0;0
# Box BBox4: bounding box parameter BBox4
BBox4 = 1;1;0;0
# Click UpdatingFloat0: aux. parameter to catch update signal from Float0
UpdatingFloat0 : AutoScale/
[Parameter conversion]
# String Name: mapper name that appears on mapper control tab (tr,subst)
Name = NodeBoxWidth
# Flags Flags: bit pattern containing mapper flags
Flags = 0xbfb0000
# Float FA: floating point parameter FA
FA : /BarWidth
FA = 10
# Box BA: box parameter BA
BA = 0;0;0;0
# Float FB: floating point parameter FB
FB : /XOffset
FB = 6
# Expression Expression: expression for parameter conversion (tr,string,max. 12 values)
Expression = (FA*2)+(FB-FA/2)*4
# Float FR: floating point result
FR : NodeBoxWidth/
FR = 24
# Integer IR: integer result
IR = 24
# String SR: string result
SR = 24
# Box BR: box result
BR = 24;0;0;0
[Inclusion]
# String Name: mapper name that appears on mapper control tab (tr,subst)
Name : (0x0,1)
Name = PrintLegend
# Flags Flags: bit pattern containing mapper flags
Flags = 0xbf90000
# Bool EnableObjects: enable included objects
EnableObjects = 1
# Bool SubstituteControl: display control of first visible included mapper instead of inclusion mapper's control
SubstituteControl = 1
# String ConfigurationFile: file containing configuration to include (subst)
ConfigurationFile : (0x200) /LegendConf!/$PlotLoaded
ConfigurationFile[] = %<$EnifPath>%/genconf/prnlegend.e2m
ConfigurationFile[] = %<$EnifPath>%/genconf/prnlegend.e2m
ConfigurationFile[] =