Contents - Index


Plotting Strings

 

In some situations, it is convenient to display strings rather than numerical values on the X-axis of an X-Y or Bar plot.   For example, a Lookup table can contain the following data.  Note that it is necessary to set the format of the Month column to String in order to enter string data.  This is done by clicking the right mouse button in the column header and selecting the Properties item from the pop-up menu to bring up the Format Table Column dialog.

 

 

If the Month column is selected for the X-Axis in the Plot Setup dialog, the usual Minimum, Maximum, Interval, etc. information will be replaced with the following string information palette.

 

 

When a string variable is plotted, EES assigns the row number in the table to each string and plots the Y-axis variable variables versus the row number in the table.  Then the numerical values that normally appear on the X-axis are suppressed and the strings are plotted in its place, as shown below.  Strings can only be plotted on the lower and upper X-axes.