ENIF Plot # Enif plot configuration generated on Sat Sep 21 10:59:15 2002 # File: /u/emme2/enif/conf/vehkms.e2p # # String Name: name of plot configuration (subst.) Name = Vehicle kilometers by volume-delay function # Text Description: description of plot configuration (subst.) Description[0] = Vehicle kilometers by volume-delay function \ \ (Proof of concept - just to demonstrate the idea, needs more work before being usable for production!)\ \ A plot configuration that shows how to use the get/put stack to accumulate\ and display statistics that are accumulated over element groups.\ In the example, the vehicle kilometers are computed by\ type of volume delay function.\ \ The components of this configuration are:\ - configurable link attribute my_clear -> clears put/get stack\ - configurable link attribute my_passkm -> computes veh-km by vdf into get/put stack (empty selector important!)\ - constant parameter mapper -> construct table of values into result parameter\ - legend mapper -> display values using substitution\ \ 2002-09-21 Heinz Spiess\ Description[1] = Implementation Description[2] = Heinz Spiess, EMME/2 Support Center # Flags Flags: plot configuration flags Flags = 0x3 # Box FullViewAdjust: relative viewport box to map full view bounding box to FullViewAdjust = 0;0;0;0 # String Active: name of currently active mapper Active : Active Active = Legend [Configurable attribute list] # String Name: name of attribute configurations Name = plot specific configurable attributes # Text Description: description of attribute configurations Description = # String IncomingGroups: regular expression to filter incoming group signals IncomingGroups = . # String OutgoingGroups: regular expression to filter outgoing group signals OutgoingGroups = . # String DefaultDirectory: default directory for dbase file files (subst.) DefaultDirectory = # String FileFilter: file filter for dbase files FileFilter[0] = Dbase files (*.dbf) FileFilter[1] = [Configurable attribute] # String Name: configurable attribute name Name = my_clear # Text Description: description of configurable attribute Description = dummy attribute to clear get/put stack # String ExpressionType: network element type of expression ExpressionType = links # Expression Expression: expression for computing attribute values (link) Expression = puti(index-1)+put(0) # Selector Selector: selector used to compute attribute values (link,unbuffered) Selector = index<252 [Configurable attribute] # String Name: configurable attribute name Name = my_vehkms # Text Description: description of configurable attribute Description = vehicle kilometers (by volume delay function) # String ExpressionType: network element type of expression ExpressionType = links # Expression Expression: expression for computing attribute values (link) Expression = put(get(vdf)+0*puti(vdf)+volau*length) [Background] # Flags Flags: bit pattern containing mapper flags Flags = 0x34006f0 # Stylus Stylus: stylus for filling background when no wallpaper is used Stylus = 0x00000000 0x01ffffff 0x00000000 0x00 # String FileFilter: file filter for wallpaper image files FileFilter[0] = *.ppm; *.jpg; *.xpm; *.png FileFilter[1] = Image files (*.bmp; *.jpg; *.pbm; *.ppm; *.xpm; *.xbm; *.png) FileFilter[2] = All files (*) # String WallpaperFile: file containing wallpaper image (subst.) WallpaperFile[0] = WallpaperFile[1] = %<$EMME2>%/enif/wallpaper.ppm WallpaperFile[2] = green.ppm WallpaperFile[3] = e2wallp.jpg [Link base] # String Name: mapper name that appears on mapper control tab (subst.) Name = Links # Flags Flags: bit pattern containing mapper flags Flags = 0xc00023 # Selector LinkSelector: expression for link selection [,link iterator] (link) LinkSelector[0] = LinkSelector[1] = [Freeways] (type%10)==0 LinkSelector[2] = [CBD] type<10 # Stylus Stylus: stylus for link outline and fill properties Stylus[0] = 0x20ffffff 0x00ffffff 0x00ffffff 0x20 Stylus[1] = 0x20000000 0x00000000 0x00000000 0x00 Stylus[2] = 0x20ff0000 0x00ff0000 0x00ff0000 0x20 Stylus[3] = 0x2000ff00 0x0000ff00 0x0000ff00 0x0b Stylus[4] = 0x200000ff 0x000000ff 0x000000ff 0x08 Stylus[5] = 0x2000ffff 0x0000ffff 0x0000ffff 0x3e Stylus[6] = 0x20ff00ff 0x00ff00ff 0x00ff00ff 0x16 Stylus[7] = 0x20ffff00 0x00ffff00 0x00ffff00 0x15 Stylus[8] = 0x20ff7f00 0x00ff7f00 0x00ff7f00 0x11 Stylus[9] = 0x207f8000 0x007f8000 0x007f8000 0x1b Stylus[10] = 0x20008000 0x00008000 0x00008000 0x1e Stylus[11] = 0x20000080 0x00000080 0x00000080 0x16 Stylus[12] = 0x208c00d3 0x008c00d3 0x008c00d3 0x0a Stylus[13] = 0x20ff008c 0x00ff008c 0x00ff008c 0x18 Stylus[14] = 0x20545454 0x00545454 0x00545454 0x12 Stylus[15] = 0x20ababab 0x00ababab 0x00ababab 0x16 # Expression StylusIndex: expression for link stylus index (link) StylusIndex = vdf [Link histogram] # Flags Flags: bit pattern containing mapper flags Flags = 0x3000001 # Float XPosition: X-coordinate of lower left corner XPosition = -2.726 # Float YPosition: Y-coordinate of lower left corner YPosition = 8.04135 # Float Width: width of rectangle Width = 14.5583 # Float Height: height of rectangle Height = 9.55435 # Box AutoPositionBox: viewport relative bounding box for automatic position AutoPositionBox = 0.5;0.5;1;1 # Float XRange: start, end and interval values on horizontal data axis XRange[0] = 0 XRange[1] = 20 XRange[2] = 1 # Float YRange: start and end values on vertical weight axis YRange[0] = 0 YRange[1] = 120000 # Float TextSize: text size used in diagram frame TextSize = 10 # String Title: diagram title (subst.) Title = Vehicle kilometers by volume-delay functions # String XDescription: description on horizontal axis (subst.) XDescription = vdf # String YDescription: description on vertical axis (subst.) YDescription = veh-km # Click AutoPos: position histogram automatically according to current view AutoPos : //$CurrentView # Stylus BarStylus: stylus used for histogram bars BarStylus[0] = 0x20ffffff 0x01ffffff 0x00ffffff 0x20 BarStylus[1] = 0x20000000 0x01000000 0x00000000 0x00 BarStylus[2] = 0x20ff0000 0x01ff0000 0x00ff0000 0x20 BarStylus[3] = 0x2000ff00 0x0100ff00 0x0000ff00 0x0b BarStylus[4] = 0x200000ff 0x010000ff 0x000000ff 0x08 BarStylus[5] = 0x2000ffff 0x0100ffff 0x0000ffff 0x3e BarStylus[6] = 0x20ff00ff 0x01ff00ff 0x00ff00ff 0x16 BarStylus[7] = 0x20ffff00 0x01ffff00 0x00ffff00 0x15 BarStylus[8] = 0x20ff7f00 0x01ff7f00 0x00ff7f00 0x11 BarStylus[9] = 0x207f8000 0x017f8000 0x007f8000 0x1b BarStylus[10] = 0x20008000 0x01008000 0x00008000 0x1e BarStylus[11] = 0x20000080 0x01000080 0x00000080 0x16 BarStylus[12] = 0x208c00d3 0x018c00d3 0x008c00d3 0x0a BarStylus[13] = 0x20ff008c 0x01ff008c 0x00ff008c 0x18 BarStylus[14] = 0x20545454 0x01545454 0x00545454 0x12 BarStylus[15] = 0x20ababab 0x01ababab 0x00ababab 0x16 # Expression XValue: link expression for data value on X-axis (link) XValue = vdf # Expression YValue: link expression for weight value on Y-axis (link,max. 6 values) YValue = volau*length # Expression StylusIndex: link expression for bar stylus index StylusIndex = x+0.5 # Float BarOffset: offset for histogram bar BarOffset = 0.5 [Constant parameter] # Integer MaximumNumberOfValues: maximum number of values to be evaluated MaximumNumberOfValues = 250 # Expression Value: expression parameter values (string) Value = string(index,0,5)+string(get(index),2,10) # Selector Selector: expression for element selection [, iterator] (unbuffered) Selector = index>0&&index<21 # String ResultValues: parameter in which the results are stored in ResultValues : $Redraw [Legend] # Flags Flags: bit pattern containing mapper flags Flags = 0x3400000 # Float TextSize: text size for scales and symbols TextSize = 13 # Float TextXPos: horizontal position of text anchor TextXPos = 1 # Float TextYPos: vertical position of text anchor TextYPos = 1 # Integer TextLayout: layout definition TextLayout = 332144 # Text TextString: text to be displayed (subst.) TextString = Vehicle kilometers\ by volume-delay function\ \ vdf: veh-km:\ %% # Stylus FrameStylus: stylus used for text and frame of items FrameStylus = 0x20000000 0x01ffffff 0x03000000 0x00