Task: Plot Model
To plot all parameters of a model,
- read the model from an .nd file using model=mkreadnd(pfad);
- call mkplotmodel(model);
This generates several subplots in the current figure window. The figure window is resized.
|
Example for a model plot generated by MKPLOTMODEL. |
The MKPLOTCLR routine is designed to give an overview of the polynomials defined in the
CLR structure (or a .clr file). It can also produce plots like those generated by
MKPLOTMODEL.
To produce a plot of the behaviour of layer polynomials, do the following:
- read the model from an .clr file using clr=mkreadclr(pfad,'silent');
- call mkplotclr(clr,quantity,style);
where
- clr
- is the sttructure variable containing the model, quantiy is a string defining
the quantity to plot (one of 'vp', 'vs', 'rho', 'qp', 'qs', not case sensitive)
- style
- is a string defining the plot style:
- "raw"
- just plots the depth profile of the specified quantity
- "fancy"
- plots the depth profile of the specified quantity and adds dashed
lines, discontinuity names. Also adds dotted lines to show the behaviour
of the layer polynomials outside the layer depth range.
- "nd"
- creates the same plot as MKPLOTMODEL. The "quantity" string is ignored.
(With this option, MKPLOTCLR simply discretizes the clr structure
and calls MKPLOTMODEL)
eof.