MTDATA – Phase Diagram Software from the National Physical Laboratory

 

 

 

Home 

News 

Products 


Training and Support 

FAQs 

Links 

Agents 

Other Services 

 

Services 

 

 

REPLOT

Function:

to replot at the terminal a previously calculated diagram from tie line information stored in a ternary results file (filename extension ".tnr"). Options are available to change the order of the components, to magnify portions of the diagram, to superimpose experimental points and to set the composition scale to weight or mole fraction. 

Parameters:

filename

directory

experimental_file

proportion

order_of_components

magnification

composition_scale

Defaults:

experimental_file = none

file = "defn.tnr" (if default data input file)

proportion = all

order_of_components = 1_2_3

magnification = 1 1

composition_scale = as in calculated diagram

Examples:

replot file = "fecrmo25" !

replot file = "fecrni" proportion = half !

replot order_of_components = 3_1_2 !

replot composition_scale = weight_fraction magnification = 2 4 !

Parameter values:

FILENAME

takes the value <"filename">/ default.

The input file for replot is created by the TERNARY module during calculation of a ternary phase diagram. The name of the file has the input data file root name followed by a counter and the extension ".tnr" (ternary results file). If a system or ternary input data file has been defined the default ternary results file is the one corresponding to the input data file which has been created most recently.

DIRECTORY

gives a directory of ternary results files with the filename extension ".tnr"

EXPERIMENTAL_FILE 

takes the value <"filename">.

The default filename extension is ".exp".

PROPORTION 

takes the values ALL/ HALF/ THIRD. 

This represents the proportion of stored tie lines to be plotted on the diagram. This is useful for "tidying up" a diagram if a large number of tie lines are present in the original calculation.

ORDER_OF_COMPONENTS

takes the values 1_2_3/ 1_3_2/ 2_1_3/ 2_3_1/ 3_1_2/ 3_2_1 

The integers in each group refer to the component numbers at the bottom left corner of the diagram, the top and the bottom right corner respectively.

MAGNIFICATION 

takes the values <number> <number>. 

These two numbers, greater than or equal to 0.25, refer to the magnification with respect to x and y orthogonal axes. The first number gives the required magnification in the x direction and the second in the y direction. Note that the two numbers need not be the same and that the y axis does not correspond to any of the component axes of the triangular diagram. The magnified diagram is centred on a composition specified using the SET command. For example, setting N(1) = 0.2, N(2) = 0.2 and a magnification in each of the x and y directions greater than 1 will produce a diagram consisting of the magnified bottom right corner of the triangle centred on the screen at a point corresponding to the composition set. If no composition is set the replotted diagram is magnified about its centre.

COMPOSITION_SCALE

takes the values MOLE_FRACTION/WEIGHT_FRACTION

Selection of the appropriate value gives a diagram calibrated as required irrespective of the mode of the original calculation.

General Comments:

The input filename for the replot option will generally have extension ".tnr" but this need not be the case as long as the format is correct - ie old "tstore.dat" files may be used provided each file contains only one diagram. If a composition is to be set defining an area of interest for magnification then this must be done before selection of the replot command. The replot parameter list is terminated by "!". If any of the phase fields have been previously labelled using the graphics subcommand L then these labels will reappear in the replotted diagram. Note that it is only possible to introduce additional labels under the REPLOT command via an experimental data file. The format of experimental data files is described in the appendix.

 

Updated 2 July 2010