List of data manipulation and plot formatting commands |
|||||||||||
Command |
Example of usage |
||||||||||
Data_Group :number Number of related data sets |
Data_Group :5 Useful for comparison purposes. |
||||||||||
Color_Cycle : number When colors starts to recycle. |
Color_Cycle :8 When more than 8 curves are plotted, the color of nineth curve will be the as color of the first curve. |
||||||||||
Group_color: text Relates to situations when more data sets are plotted. By the text description, we decide how the curves from the different data sets will be colored. |
Group_color: Equal colored columns Columns at the same position within different data sets are plotted in the same color. OR Group_color: Equal colored data FILEs Data from one data file will be plotted in the same color. |
||||||||||
SCALE_CODE: number Type of XY plot:
|
SCALE_CODE:2
Plot has linear X axis and logarithmic Y axis. |
||||||||||
CURVE_FIT: start curve, end curve, polynomial degree |
CURVE_FIT:5,25,1 Fit the data for curves 5 to 25 with a polynomial of degree 1. |
||||||||||
H_FIT_LEGEND: Hide fitting results from the legend. |
H_FIT_LEGEND: Without any parameter. |
||||||||||
EditXCurrent : " Expression " It relates to the last loaded file. |
EditXCurrent : "X=X+10" Change the values for X values in loaded file. |
||||||||||
EditYCurrent : " Expression " It relates to the last loaded file. |
EditYCurrent : "Y=Y+0.01" Change the values for Y values in loaded file. |
||||||||||
EditXAll : " Expression " It relates to all files previously loaded. |
EditXAll : "X=X+10" Change the X axis values of all imported data. |
||||||||||
EditYAll : " Expression " It relates to all files previously loaded. |
EditYAll : "Y=Y*100" Change the values of all Y curves. |
||||||||||
EditY-i :Curve number, "Expression" Edit the Y values of curve i. |
EditY-i :1,"Y=Y/15.756*100" Change the values for the first curve. |
||||||||||
REcalc-X:Number1, Number2, Number3 Number1 - X column number Xnew=Number2 + Xold *Number3 Must be placed before the reading of new Data File. |
REcalc-X: 3, 5, 0.5 X data for plot are located in the third column of data file which is called by DATA_F. X column number is obtained from script command: Number_of_columns_X_column_number Xnew= 5 + 0.5 * Xold |
||||||||||
REcalc-Yi: Number1, Number2, Number3 Number1 - Yi column number Yinew=Number2 + Yiold *Number3 Must be placed before Data File. |
REcalc-Yi: 4, 0, 10 Y values of data associated with the forth number in Y_column_numbers sequence will be calculated as: Y4new= 0 + 10 * Y4old |
||||||||||
ADD_CURVE: Number1, Number2, Number3 Add Curve Number1 and Curve Number2. X values relates to Curve Number3
|
ADD_CURVE: 3,6,3 A new curve will be generated, which amplitude is sum of curve 3 and curve 6 amplitudes. X values are tekaen from the curve 3. |
||||||||||
SUBTRACT_CURVE:Number1, Number2, Number3 Subtract Curve Number2 from Curve Number1. Xvalues relates to Curve Number3 |
SUBTRACT_CURVE: 3,6,3 A new curve will be generated, which amplitude is difference between curve 3 and curve 6. X values are tekaen from the curve 3. |
||||||||||
RELOCATEX: X values of all Data files called after this command are modified to match/alligne with the starting time of the first curve. |
This command is without any parameter. |
||||||||||
Axis_Numbers:Number1,Number2 This command follows syntax of DPlot function NumberFormat. Meaning of Number 1: 0 – X axis, 1 – y axis, 2 – Z axis or secondary X axis on XY plots, 3 – secondary Y axis on XY plots. Meaning of Number 2: 0 default, 1 Scientific notation, 11 Powers of 10, 12 Numbers are not displayed, 18 Engineering notation. |
Axis_Numbers:0,12 Numbers on X axis wouldn’t be written.
Axis_Numbers:1,18 Numbers on Y axis will be written in engineering notation as power of 10 with exponents which are multiples of number 3, i.e,: 200x106 or 13x103.
Axis_Numbers:1,11 Numbers on Y axis will be written as power of 10, ie.: 2x108, 1.3x104. |
||||||||||
ADD_Legend: Text, number1, number2, number3. Add legend for previously loaded Y curve. See Y1 legend: |
ADD_Legend: 22 K/min,0,0,3
|
||||||||||
Legend_Rows: Number Determne how many rows graph legend will have. Useful when many data sets are plotted; prevents overlaping of legend with points on graph. |
Legend_Rows: 3 If graph shows 9 data sets , after applying this command, legend will be arranged in 3 rows and 3 columns. |
||||||||||
Line_width:<curve number>,width <curve number>: Selected curve when >0 other vice same as under command Line width default width: width of curve in 1000 of an inch. |
Line_width:3,25 The width of curve 3 is set to 25/1000 of an inch, approx. 0.635 mm. |
||||||||||
Cline_width: width Width of the curve which was last drawn. |
Cline_width: 35 The width of curve previously drawn is set to 35/1000 of an inch, approx. 0.889 mm. |
||||||||||
SHAPE: Number Number describe the size of plot. Number = 1 - square 6 x 6 inch plot, = 2 - rectangle 12 x 6 inch plot, = 3 - rectangle 6 x 12 inch plot, = 4 - rectangle 12 x 3 inch plot. |
SHAPE: 1 Create plot of size 6 x 6 inch. SHAPE: 2 Create plot which is 12 inch width and 6 inch height. Other dimensions can be achieved by proper created Preferences files.
|
||||||||||
Fill_Between: C1, C2, M, R, G, B The area between curve C1 and curve C2 will be filled with the color expressed by three R G B values, each within 0 and 255. M stands for filling style. M = -1 -> solid; 0 -> Horizontal lines; 1 -> Vertical lines; 4 ->Horizontal-vertical crosshatch; 5 -> 45 degree crosshatch. |
Fill_Between: 2, 4, -1, 0, 255, 0 Area between curves 2 and 4 is solidly filled by a green color.
Parameter C2 has also other meanings: (see DPlot manual). C2 = 0 Fill area closed by the first and the last point of curve C1. C2 =-1 Fill the area between curve C1 and bottom edge of the graph. |
||||||||||
GGraph_TTitle: Text Replace previous Title of Graph with the new Text. |
|
||||||||||
Font_Size: Number1, Number2 Change the size of fonts for Number2 points. Default sizes of fonts are: Value of Number 1 Default size corresponds to: of font 1 Numbers (18 pts) 2 1st Title line (20 pts) 3 2nd Title line (18 pts) 4 X axis (20 pts) 5 Y axis (20 pts) 6 Legend (14 pts) 7 Notation (12 pts) If Number1=0 size of all fonts are changed for Number2 points. |
Font_Size:0,-2 Size of all fonts are decreased for 2 pts
Font_Size: 7,2 Size of notation font is increased for 2 pts.
Font_Size:0,2 Font_Size:7,-2 This combination increases the size of all fonts for 2 pts compared to the default values, and after that, the size of notation font is decreased for 2 pts bellow the default value. |
||||||||||
Select_Font: Number Select he font used in current graph: Number=1 (Arial); 2(Verdana); 3(Courier) 4 (Tahoma); 5 (Times New Roman); 6 (Comic Sans MS); 7 (Verdana); 8 (Georgia). |
Select_Font: 7 Change from the default font (Arial) to Verdana font. |
||||||||||
Symbol_Size:Number Change the size of all symbols to Number of 1000'ths of an inch. Default size is 177 what equals to 4.5 mm. |
|
||||||||||
Note: Values of parameters in most cases follows the associated descriptions find in DPlot manual. In most cases DplotXYServer passes, due to the simplicity, just the main parameters, therefore, please do not write more parameters then assigned to the particular DplotXYServer recognized command otherwise an unpredictable behavior could arises. Since the commands Operate on X (Y) are not supported by the DPlotJr, the user could use less sophisticated walk around commands REcalc-X and REcalc-Yi to recalculate values from the particular data columns. When data points are labeled by symbols and one want to reduce the number of points which will be shown, the data reduction could be carried out by adding colon and number after the file name in command DATA_F:<file name> :8. In shown call only each eight point will be plotted. This option is added since Symbol frequency is not saved in the preference file. During script translation all DPlotXYServer commands are converted in upper case notation to tolerate non-strict typing. |