Stacked plot with filled curves


In a stacked plot, the dependent values at a given independent point are plotted cumulatively. 

Assuming that the independent variable is plotted against the x-axis, then the first curve is the first variable that is defined in -fig_y, the second curve (defined with the second variable in -fig_y) is added to the first curve and so on. The area between the cumulative curves is filled.


Specific plot options 


-fig_type st_f_x [y|sy]


st_f_x defines a stacked plot with filled curves with the X-axis as the independent variable.


[y|sy] indicates if the primary Y-axis or the secondary Y-axis is used. The other Y-axis can be used to plot standard curves, i.e. not cumulative curves (e.g. a line curve). If this is not defined, the primary Y-axis is taken for the cumulative curves.


-fig_esy 

       extra secondary y-axis comp


Specific curve options

 


 line

 fill  options "x1" (default) "x2" "[above|below] y=<:flt:yaxis value>" 




Example


In tutorial XX, the carbonation of a hardened cement paste was simulated. During carbonation, the original cement phases are replaced by calcite. pH will decrease as a function of the carbonation The change in cement phases and pH is plotted as a function of CO2 added to