(Notebook: Hilfsfunktionen.m)
Package: ../../Hilfsfunktionen.m Context: Hilfsfunktionen`
export2Origin[opts] writes out a file in a origin compatible format which can be read into origin using the package "ImportSpecial". This means that the file begins with a comment section in the form of "# variable = value" then the data follows.
Options must be specified in the form export2Origin[{"option1"->value1,"option2"->value2,...}]:
"filename"-> the filename where to wrote the parfile. This option must be specified.
"data"-> contains the data in the form {{x1,y1,z1,...},{x2,y2,z2,...},...}
"dataType"-> specifies how the data given by the option "data" should be wrote.
The value will be added as comment # dataType = ...
dataType can be one of the following:
- "string" the data will be written without any modification as given by data
- any other type the 2d-list of data will be writen in matrix form
{{v1,v2},{v3,v4}}->v1 v2nv3 v4
"dataExpLength"-> 2 if dataType is not "string" this specifies the length of
the exponent see outStr
"dataMantLength"-> 8 if dataType is not "string" this specifies the length of
the manthis see outStr
"wrapColumn"->Infinity if this option is specified the comment is wrapped at the specified column. "comment"-> if the value is a string, this string will be writen without any
modifications if the value is a list, then it must be in the form
{{"var1",val1},{"var2",val2},...}. Each entry will be formated
in the following way: # var1 = val1. line wrapping is controlled by
the option "wrapColumn"
Following options can be set in origin:
Worksheet options
wksname = name of worksheet
wkslabel = label of worksheet
datatype = type of the daten _list_ / matrix
col1name = name of worksheet column 1
col1label = label of worksheet column 1
Plot options:
plotaxistype = type of the plot axis (xy) _linlin_ loglin linlog loglog
plotlinetype = type of plotline _linesymb_ scatter line
plotname = name of the plotwindow
plotlabel = label of the plotwindow
plotlegend = shall I generate a legend? _yes_ no
title = title inserted as label right over the plot bold and big size
xtitle = title of the x-axis
xmin = Min. value of the x-axis
xmax = Max. value of the x-axis
ytitle = title of the y-axis
ymin = Min. value of the y-axis
ymax = Max. value of the y-axis
For contour-plots in addition to plot options:
ztitle = title of the z-axis
zmin = Min. value of the z-axis
zmax = Max. value of the z-axis
zcount = number of colours to be used
Alphabetic index Hierarchy of classes