Contents - Index

Displaying a Plot in the Diagram Window


A 'live' plot and/or a link button to a particular Plot Window can be placed on the Diagram window or child Diagram window by selecting the Display Plot Window button in the toolbar.  



The dialog window shown on the left will appear after clicking this toolbar button.  The plot that is to be displayed (or linked to) is selected from the drop down list at the top of the dialog.  The names appearing in this list are the names on the tabs of the Plot window.  The dialog window provides two radio buttons.  If the first radio button is selected (as shown on in the Dialog window on the right), the selected plot will be displayed in the Diagram or child Diagram window.  The location and size of the plot can be specified using the edit controls at the bottom of the dialog.  In addition, the plot can be dragged to a desired location and resized in the same manner as any other graphic items while in the Development mode.  If the Maintain aspect ratio check box is selected, the height to width ratio of the plot will be maintained when the plot is resized.


If the Add button to link to Plot window radio button is selected (as shown in the left dialog), a button will be placed on the Diagram window.  Clicking this button in Application mode will open and display the selected plot window.   If the plot window does not exist, this button will do nothing.  The location and size of the plot window access button can be specified in the plot window button dialog.  Alternatively, the plot window access button can be dragged to any location when then toolbar is visible.  Finer positioning is available by pressing the left, right, up, or down arrow keys which move the button one pixel for each press. The width and height of the button can be changed by holding the Ctrl key down while pressing arrow keys.  The right arrow increases the button width by one pixel.  Left arrow decreases the width.  Down arrow increases the height and up arrow reduces the height. 


Right-clicking on the plot or the plot window access button when the toolbar is visible (i.e., in Development mode)  will bring up the dialog so that the characteristics of the plot access button (name, glyph, or position) or the plot position and size can be changed.  


The Professional version allows a picture that is stored in a bitmap (.bmp) or JPEG (.jpg) file to be displayed on the button.  The picture option is selected with the drop-down control below the caption.  A standard file selection dialog box to facilitate selection of the picture file will appear when the picture option is chosen.  The Professional version allows a Name to be associated with the plot button (left figure) or plot display (right figure).  For example, the name has been set to plotbutton1 in the above figures.   If a name is provided, EES will generate variables name.left,, and name.hide.  These variables can be set in an EES program or in the Diagram window.  One example of this capability is to show or hide the plot or plot button by setting name.hide=true# or name.hide=false#.  Alternatively, starting in Version 8.298, you can enter name.hide and