The next six lines let you enter the variable you want to have displayed.
Scale, if checked, indicates that the variables above and below it will be put on the same scale. To put more than two variables on a scale click the box between the first and the second then the box between the second and the third and so on. The Units, Y-min and Y-max (if any) specified for any member of the group will be used. If more than one members has them specified the last will be used.
Variable is the name of the variable to be displayed. The variable need not appear in the current model, but it will not be displayed unless it is contained in the dataset to be used.
For subscripted variables:
To show ... |
Example |
|
the first active element, according to the Subscript Control settings |
Enter the variable name without any subscripts |
Revenue |
all active elements, according to the Subscript Control settings |
Enter the variable name with subscript ranges |
Revenue[company] |
a particular element, irrespective of the Subscript Control settings |
Enter the variable name with the particular element |
Revenue[Ventana] |
Dataset specifies the source for the graphed data. If left blank Vensim will use the first loaded dataset. You can specify a file name (such as base.vdf) with a directory if desired or use *n to refer to the n'th loaded dataset. Leaving dataset blank and using *1 are equivalent. Use *B to refer to the bottom or last loaded dataset (*l is to close to *1 to be usable).
Label specifies the label to be attached to the variable. If left blank the variable name, followed by the run name (as in population - current) is used.
Line Width specifies the width of the line with which to show the graph. Normally all graph lines are of equal width, but different color, although this is controllable as an option. If you specify the options to show use thick lines for the Graph tool, they will also be used for custom graphs unless Line Width is given a non-zero value. You can specify a negative number to get a patterned line (-1 DOT, -2 DASH, -3 DASHDOT, -4 DASHDOTDOT).
Units specifies the label to be used on the Y axis for the units of measure of the variable being plotted. If left blank the workbench model will be searched for the named variable and the units of measure specified there used.
Y-min specifies the minimum value that will be used on the Y-axis. If left blank Vensim will pick a reasonable value. For work in progress graphs Y-min will default to 0.
Y-max specifies the maximum value that will be used on the Y-axis. If left blank Vensim will pick a reasonable value. For work in progress graphs Y-max will default to 100.
Graph Control
As WIP Graph, if checked, causes the graph you are defining to be displayed automatically each time a simulation is begun. Such graphs are called work in progress graphs (WIP), and the display the output point by point as the simulation progresses. You can define any number of graphs to be displayed during simulation though more than a few is rarely useful. If there is no Y axis scale specified WIP graphs will use a Y scale from 0 to 100 is assumed.
Maxpoints specifies the maximum number of points that will be used in the simulation. If left blank the default value of 100 is used. If you are making a simulation with many saved values you will need to increase this.
Copy to lets you copy the graph definition you are currently working on to a new name. This leaves the graph definition you started with intact, but also saves the changes you have made. You can accomplish the same thing using the Copy button in the Custom Graph control dialog.
Test Output allows you to see the output of the graph you are working on. The graph will come up in place for review. You can print or export this graph, but pressing any key will cause it to disappear.
Soft Bounds, if checked, will cause the graph to adjust Y scales if the variables to be plotted exceed them. This only has an effect when you have specified Y-min or Y-max. If, when building the graph the specified scales are insufficient the scales will be adjusted. If this is used with a work in progress graph the graph will be rescaled and completely redrawn.
As Table... will open the Custom Table Editor. The names and datasets for variables, if any, will be included in the initial Custom Table definition. No other information will be used.