You are a guest. Restricted access. Read more.
SCaVis manual

DIF files

Similar to CSV, the DIF file format is used to create readable text entries in the files.

Snippet from Wikipedia: Data Interchange Format

Data Interchange Format (.dif) is a text file format used to import/export single spreadsheets between spreadsheet programs ( Calc, Excel, Gnumeric, StarCalc, Lotus 1-2-3, FileMaker, dBase, Framework, Multiplan, etc.). It is also known as "Navy DIF".

You can use this format to fill spreadsheets and read them in spreadsheet programs ( Calc, Excel, Gnumeric, StarCalc). The format is a text file, encoded in ASCII, with a header and body. This is especially useful for a number of ScaVis data holders discussed in Data Structures section. The Java class for this format is called

Here is a simple Python example showing how to create a DIF file

from jhplot import *
from import *
p=P1D("X-Y values with error 0.5 on Y")

The output file “test.dif” can be read in OpenOffice or any other spreadsheet programs.

Here is a more complicated example:

Unregistered users have a limited access to this section. You can unlock advanced pages after becoming a full member.

Sergei Chekanov 2010/03/07 17:35

man/io/dif.txt · Last modified: 2014/01/27 19:47 by admin
CC Attribution-Share Alike 3.0 Unported
Powered by PHP Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 Valid HTML5