From d700a6742525675f9ff7e3dcdbc8121283cb9bb1 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Wed, 22 Oct 2014 21:50:42 +0200 Subject: Save plots in different formats - Add possibility to save plots in different formats - Make it possible to exclude the legend from the plot - Update of the manual --- vignettes/gmkin_manual.Rmd | 9 +++++++-- vignettes/gmkin_manual.html | 9 +++++---- vignettes/img/gmkin_start.png | Bin 71441 -> 98460 bytes vignettes/img/plotoptions.png | Bin 29540 -> 40268 bytes 4 files changed, 12 insertions(+), 6 deletions(-) (limited to 'vignettes') diff --git a/vignettes/gmkin_manual.Rmd b/vignettes/gmkin_manual.Rmd index af8a3b8..6522916 100644 --- a/vignettes/gmkin_manual.Rmd +++ b/vignettes/gmkin_manual.Rmd @@ -380,11 +380,16 @@ and pressing the button "Save summary". ### Plot options -In the tab "Plot options", the observed variables for which the data and the model fit should be -plotted can be selected as shown below. +In the tab "Plot options", the file format can be chosen, the legend can be +turned off, and the observed variables for which the data and the model fit +should be plotted can be selected as shown below. ![plot options](img/plotoptions.png) +On systems running the Windows operating system, the windows metafile (wmf) format +can be additionally chosen. Chaning the file format for plotting will also change +the extension of the proposed filename for saving the plot. + ### Confidence interval plots Whenever a new fit has been configured or a run of a fit has been completed, the plotting diff --git a/vignettes/gmkin_manual.html b/vignettes/gmkin_manual.html index cd66327..4e0f576 100644 --- a/vignettes/gmkin_manual.html +++ b/vignettes/gmkin_manual.html @@ -101,7 +101,7 @@ if (window.hljs && document.readyState && document.readyState === "complete") {
Model cost at call 1: 2388.077

which means that the first kinetic evaluation has been configured for fitting.

In the browser, you should see something like the screenshot below.

-

gmkin start

+

gmkin start

The statusbar at the bottom of the gmkin window shows, among others, the working directory that gmkin uses.

Note that the project file management area described below can be minimized by clicking on the arrows on the right hand side of its title bar. This may be helpful if the vertical size of your browser window is restricted.

@@ -195,7 +195,7 @@ if (window.hljs && document.readyState && document.readyState === "complete") {

If fitting with transformed fractions leads to a suboptimal fit, doing a first run without transforming fractions may help. A final run using the optimised parameters from the previous run as starting values (see comment on “Get initials from” above) can then be performed with transformed fractions.

The dropdown box “weight” specifies if and how the observed values should be weighted in the fitting process. If “manual” is chosen, the values in the “err” column of the dataset are used, which are set to unity by default. Setting these to higher values gives lower weight and vice versa. If “none” is chosen, observed values are not weighted. Please refer to the documentation of the modFit function from the FME package for the meaning of options “std” and “mean”.

The options “reweight.method”, “reweight.tol” and “reweight.max.iter” enable the use of iteratively reweighted least squares fitting, if the reweighting method is set to “obs”. Please refer to the mkinfit documentation for more details.

-

The drop down box “method.modFit” makes it possible to choose between the optimisation algorithms “Marq” (the default Levenberg-Marquardt implementation from the R package minpack.lm), “Port” (an alternative, also local optimisation algorithm) and “SANN” (the simulated annealing method - robust but inefficient and without a convergence criterion).

+

The drop down box “method.modFit” makes it possible to choose between the optimisation algorithms “Port” (the default in mkin versions > 0.9-33, a local optimisation algorithm using a model/trust region approach), “Marq” (the former default in mkin, a Levenberg-Marquardt variant from the R package minpack.lm), and “SANN” (the simulated annealing method - robust but inefficient and without a convergence criterion).

Finally, the maximum number of iterations for the optimisation can be adapted using the “maxit.modFit” field.

@@ -227,8 +227,9 @@ Model cost at call 37 : 371.2134

Plot options

-

In the tab “Plot options”, the observed variables for which the data and the model fit should be plotted can be selected as shown below.

-

plot options

+

In the tab “Plot options”, the file format can be chosen, the legend can be turned off, and the observed variables for which the data and the model fit should be plotted can be selected as shown below.

+

plot options

+

On systems running the Windows operating system, the windows metafile (wmf) format can be additionally chosen. Chaning the file format for plotting will also change the extension of the proposed filename for saving the plot.

Confidence interval plots

diff --git a/vignettes/img/gmkin_start.png b/vignettes/img/gmkin_start.png index 13c3613..c33af1a 100644 Binary files a/vignettes/img/gmkin_start.png and b/vignettes/img/gmkin_start.png differ diff --git a/vignettes/img/plotoptions.png b/vignettes/img/plotoptions.png index 4dcf025..e136fd8 100644 Binary files a/vignettes/img/plotoptions.png and b/vignettes/img/plotoptions.png differ -- cgit v1.2.1