![]() | Data |
Prev | The Dialogs | Next |
The dialog Data is used to create graphs from data files.
This dialog looks very similar to the function dialog. There are some differences though. You have to select a data file to open in the first lineedit. You can use the "New" button to open a file dialog for this. In the "Read from column" section you can enter from which column you want to read the corresponding values. If unsure use the check button to have a look at the data file. You can select here also from which to which row to read data and what separating character is used. The "auto" separation detects all number and combination of whitespaces.
When using "y1 | y2 | y3 | ..." in the "read as" selection the y-values are read from one line in the data files.
LabPlot supports the reading of images (all QT supported formats) and compressed data too (gzip, bzip2). for images you should select "matrix" to read the data of the image.
Since version 1.3.1 LabPlot can also read netcdf, cdf and audio data (*.wav,*.au,*.aiff,*.snd,...). For netcdf and cdf data just select the variables in the x,y, etc. line edits and maybe check it in the "check data" dialog. For finding the correct variables you can use the file info dialog to check the content of a netcdf/cdf file. When reading audio data just select 1 for the time, 2 for the first channel and 3 for the second channel. 0 of course means index like when reading any other data file.
The "Read As" section selects the kind of data in the data file. The "Graph Type" selects the type of graph to create. From x-y data you can make only 2 dimensional plots. From x-y-z data you can create error and surface plots (2D data dialog) or density, contour or 3d plots (3D data dialog). From matrix data you can create density or contour plots (2D data dialog) or 3d plots (3D data dialog).
Since version 1.4.0 LabPlot uses the new QWT 3D Plot which should be preferred to the simple 3d plot.
Prev | Home | Next |
The Dialogs | Up | Plot List |