The K Desktop Environment

Chapter 4. Command Reference

4.1. The File Menu

File->New (Ctrl-N)

Creates a new empty plot to insert items using the dialog Items.

File->Open Plot File (Ctrl-O)

Opens one or more existing plot files.

In a plot file all settings of a graphical presentation are stored in ASCII format.

In case of activated setting Autoplot the graphical presentation is displayed immediately.

In case of more than one selected file and activated setting Add Files all files are shown in one window, otherwise new windows are opened for each file.

File->Open Data File

Opens one or more existing data files.

The numeric values have to be arranged in rows and columns in an ASCII file. Within a row the values may be separated by commas, tabs, or spaces.

The first character of comment lines has to be #.

The number of rows and columns is detected by Kpl. Empty lines are ignored.

In case of activated setting Autoplot the graphical presentation is displayed immediately according to the settings done using the dialog Configure Autoplot.

In case of more than one selected file and activated setting Add Files all files are shown in one window, otherwise new windows are opened for each file.

Loading of data files overwrites an eventually displayed presentation in case of deactivated setting Add Files. When a data file is to be inserted in an existing graphical presentation, this has to be done by creating a new item using the dialog Items or by activating Add Files.

File->Open Recent

Opens a submenu for selecting one of up to ten recently opened plot or data files.

In case of activated setting Add Files the file is appended to a current plot, otherwise it will replace a current plot.

File->Save (Ctrl-S)

Saves created or edited plot files.

File->Save As

Allows to save the current graphical presentation in a new plot file.

File->Close (Ctrl-W)

Closes the current plot file.

File->Print (Ctrl-P)

Prints the graphical presentation to a printer chosen from a list or to a file.

File->Display Plot

Displays the graphical presentation or refreshes after changes.

In case of activated setting Autoplot the graphical presentation is displayed immediately after loading of plot or data files and after changes.

File->PostScript Output

Saves the graphical presentation as a PostScript file in Portrait or Landscape orientation.

In comparison with the output obtained with Print and Print to File, these files may be edited easily. For example, the coordinates of data points are stored without scaling, according to the values from data files or function evaluations.

The output can be used as Encapsulated PostScript (EPS) to import graphics in other applications. The bounding box is calculated exactly when Calculate PS Bounding Box is checked in the Settings menu.

File->New Window

Opens a new instance of Kpl.

File->Close Window

Close the window. If the closed window was the last instance open, Kpl will exit.

File->Quit (Ctrl-Q)

Exits Kpl.