Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tutorials:t4 [2019/07/30 15:46] – [T4: Graphical presentation and export of results] pwarczoktutorials:t4 [2023/08/01 14:43] (current) pwarczok
Line 2: Line 2:
  
 //This tutorial was tested on\\ //This tutorial was tested on\\
-MatCalc version 6.02 rel 1.003\\+MatCalc version 6.04 rel 1.001\\
 license: free\\ license: free\\
 database: mc_fe.tdb// database: mc_fe.tdb//
Line 28: Line 28:
 To plot numerical results, it is first necessary to create a graphical window. In the **'View'** menu, click on **'Create new window'** or click on {{:tutorials:t4:img:icon_create_new_window.png| MatCalc create new window}} icon. To plot numerical results, it is first necessary to create a graphical window. In the **'View'** menu, click on **'Create new window'** or click on {{:tutorials:t4:img:icon_create_new_window.png| MatCalc create new window}} icon.
  
-{{:tutorials:t4:img:t4_view_menu_2013.png| MatCalc view menu}}+{{:tutorials:t4:img:t4_view_menu_6050006.png| Open create new window window}}
  
 In the **'Create new window'** box which appears, there is a list of a number of possible window types. Among these are **'(a5)'** and **'(a6)'**, which are the familiar **'phase summary'** and **'phase details'** windows automatically placed on the screen when a new workspace file is created.\\ In the **'Create new window'** box which appears, there is a list of a number of possible window types. Among these are **'(a5)'** and **'(a6)'**, which are the familiar **'phase summary'** and **'phase details'** windows automatically placed on the screen when a new workspace file is created.\\
 Select type **'(p1) Plot core: XY-data'** and click on **'OK'** Select type **'(p1) Plot core: XY-data'** and click on **'OK'**
  
-{{:tutorials:t4:img:t4_select_new_window_6011003.png|MatCalc select new window}}+{{:tutorials:t4:img:t4_select_new_window_6050006.png|MatCalc create new window}}
  
 An empty plot with x- and y-axes appears on the screen. Locate the **'Variables'** window - if it is not present, right-click in the toolbar area at the top of the screen and select it from the menu, or click on {{:tutorials:t4:img:t4_quick_access_variables_2016.png?30|Variables icon}} icon in the **'Quick Access'** menu. Expand the **'favorites'** section by clicking on the small plus-sign to its left. Then, further expand the section labelled **'F$*'** to give the list shown below. An empty plot with x- and y-axes appears on the screen. Locate the **'Variables'** window - if it is not present, right-click in the toolbar area at the top of the screen and select it from the menu, or click on {{:tutorials:t4:img:t4_quick_access_variables_2016.png?30|Variables icon}} icon in the **'Quick Access'** menu. Expand the **'favorites'** section by clicking on the small plus-sign to its left. Then, further expand the section labelled **'F$*'** to give the list shown below.
  
-{{:tutorials:t4:img:t4_variables_6001000.png| MatCalc variables}}+{{:tutorials:t4:img:t4_variables_6050006.png| MatCalc variables}}
  
 The syntax **'F$BCC_A2'** means **'the phase fraction of BCC_A2'**, where the dollar sign is a separator between the variable **'F'** and the phase to which it applies **'BCC_A2'**. In the heading of the list, **'F$*'**, the asterisk is a wild-card indicating **'all phases'**. The meaning of the variable symbols can be found in the 'information on variables' part of the 'variables' window (see [[tutorials:T1 | Tutorial 1]]). Select **'F$*'**, drag it to the empty plot and drop it.\\ The syntax **'F$BCC_A2'** means **'the phase fraction of BCC_A2'**, where the dollar sign is a separator between the variable **'F'** and the phase to which it applies **'BCC_A2'**. In the heading of the list, **'F$*'**, the asterisk is a wild-card indicating **'all phases'**. The meaning of the variable symbols can be found in the 'information on variables' part of the 'variables' window (see [[tutorials:T1 | Tutorial 1]]). Select **'F$*'**, drag it to the empty plot and drop it.\\
Line 51: Line 51:
 The **'Options'** window can now be used to modify the appearance of the plot as required. (Again, if this is not currently shown, it can be made to appear by clicking on {{:tutorials:t4:img:t4_quick_access_options_2016.png?30| Options icon}} icon in the Quick Access menu or the right-click menu in the toolbar area.) The **'Options'** window can now be used to modify the appearance of the plot as required. (Again, if this is not currently shown, it can be made to appear by clicking on {{:tutorials:t4:img:t4_quick_access_options_2016.png?30| Options icon}} icon in the Quick Access menu or the right-click menu in the toolbar area.)
  
-{{:tutorials:t4:img:t4_option_window_6001000.png| MatCalc options window}}+{{:tutorials:t4:img:t4_options_window_6050006.png| MatCalc options window}}
  
 Firstly, note that there is a **'buffer'** drop-box. By selecting one of the other buffers, the contents of the plot can be changed. The **'default x-data'** option (the second line down in the options window) is set to StepValue, i.e. the value of the stepped variable used in the stepped equilibrium calculation.\\ Thus, on selecting the **'C=0 to 1.5 at 500°C'** buffer, the x-value changes to carbon content, and the plot looks like this: Firstly, note that there is a **'buffer'** drop-box. By selecting one of the other buffers, the contents of the plot can be changed. The **'default x-data'** option (the second line down in the options window) is set to StepValue, i.e. the value of the stepped variable used in the stepped equilibrium calculation.\\ Thus, on selecting the **'C=0 to 1.5 at 500°C'** buffer, the x-value changes to carbon content, and the plot looks like this:
Line 64: Line 64:
 ==== Changing the format of the temperature-step plot ==== ==== Changing the format of the temperature-step plot ====
  
-Select the **'T=400 to 1600°C'** buffer from the buffer drop-box. One of the first things to note is that the x-axis data does not run from 400 to 1600; this is because the step value is expressed by default in Kelvin rather than in Celsius. To change this, double-click on the **'default x-data'** line. A box appears, entitled **'New value for 'default x-data''**. Enter **'T$C'** (temperature in Celsius) in place of **'StepValue'**.+Select the **'T=400 to 1600°C'** buffer from the buffer drop-box. One of the first things to note is that the x-axis data does not run from 400 to 1600; this is because the step value is expressed by default in Kelvin rather than in Celsius. To change this, double-click on the **'StepValue'** text in **'default x-data'** line. Enter **'t$c'** (temperature in Celsius) in place of **'StepValue'**.
  
-{{:tutorials:t4:img:t4_default_x-data_2015.png| MatCalc default x-data}}+{{:tutorials:t4:img:t4_default_x-data_6050006.png| MatCalc default x-data}}
  
 The plot can be changed from colour to black-and-white (**'b/w'**) using the **'style sheet'** drop box. \\ The plot can be changed from colour to black-and-white (**'b/w'**) using the **'style sheet'** drop box. \\
 The **'plots'** section of the options menu can be expanded by clicking on the white triangle. Below **'plot#0'** (the name of the current plot) is a list of options for this plot: The **'plots'** section of the options menu can be expanded by clicking on the white triangle. Below **'plot#0'** (the name of the current plot) is a list of options for this plot:
  
-{{:tutorials:t4:img:t4_options_2_6001000.png| MatCalc options}}+{{:tutorials:t4:img:t4_options_2_6050006.png| MatCalc options}}
  
 ==== Title ==== ==== Title ====
Line 83: Line 83:
 {{:tutorials:t4:img:t4_option_legend_6001000.png| MatCalc legend}} {{:tutorials:t4:img:t4_option_legend_6001000.png| MatCalc legend}}
  
-One might wonder, why the legend was shown from the start in the bottom, while the original setting was set to **'right'**. It is because the changes on the legend properties will be visible only when the 'use for all plots' setting at **'default x-axis'** is set to **'no'**. More information about the 'default x-axis' concept will be given in the [[tutorials:T5 | next tutorial]].+One might wonder, why the legend was shown from the start in the bottom, while the original setting was set to **'right'**. It is because the changes on the legend properties will be visible only when the 'use for all plots' box at **'default x-axis'** is checkmarked. More information about the 'default x-axis' concept will be given in the [[tutorials:T5 | next tutorial]].
  
-{{:tutorials:t4:img:t4_default_x_axis_no_6001000.png| Default x-axis setting}}+{{:tutorials:t4:img:t4_default_x_axis_no_6050006.png| Default x-axis setting}}
 ==== Axes ==== ==== Axes ====
  
-The 'axes' section expands to give options for the **'x-axis'**, **'y-axis'**, **'2nd x-axis'** and **'2nd y-axis'** (the latter two are not used in the current plot).+The 'axes' section expands to give options for the **'x-axis'** and **'y-axis'**.
    
-{{:tutorials:t4:img:t4_option_axes_6021003.png| MatCalc axes}}+{{:tutorials:t4:img:t4_options_axes_6050006.png| MatCalc axes}}
    
 Double-clicking on the **'title'** line for **x-axis** will bring up a box entitled **'New value for 'title':'**. Enter **'Temperature [°C]'**. In the same way, change the y-axis title to **'Phase fraction'**.\\ Double-clicking on the **'title'** line for **x-axis** will bring up a box entitled **'New value for 'title':'**. Enter **'Temperature [°C]'**. In the same way, change the y-axis title to **'Phase fraction'**.\\
Line 100: Line 100:
 This allows gridlines to be added to the plot, and their appearance to be modified. Change **'disabled'** to **'enabled'** for **'major-x'** and **'major-y'** to show major gridlines. This allows gridlines to be added to the plot, and their appearance to be modified. Change **'disabled'** to **'enabled'** for **'major-x'** and **'major-y'** to show major gridlines.
  
-{{:tutorials:t4:img:t4_option_grid_2013.png?| MatCalc grid}}+{{:tutorials:t4:img:t4_options_grid_6050006.png?| MatCalc grid}}
  
 ==== Series ==== ==== Series ====
Line 110: Line 110:
 The appearance of the plots can be modified by setting **'default style'** to **'no'** rather than **'yes'**, and then expanding **'line'** and **'marker'** to give a list of options for colours, styles, sizes etc. The appearance of the plots can be modified by setting **'default style'** to **'no'** rather than **'yes'**, and then expanding **'line'** and **'marker'** to give a list of options for colours, styles, sizes etc.
    
-{{:tutorials:t4:img:t4_options_series_2016.png| MatCalc series}}+{{:tutorials:t4:img:t4_options_series_6050006.png| MatCalc series}}
    
 The image below gives an example of a modified plot. The image below gives an example of a modified plot.
tutorials/t4.1564494380.txt.gz · Last modified: 2019/07/30 15:46 by pwarczok
 
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki