rbmatlab  1.16.09
 All Classes Namespaces Files Functions Variables Modules Pages
Functions
copy_model_data_to_plot_params.m File Reference

Helper function copying extracting relevant information for plot_params from the model. More...

Go to the source code of this file.

Functions

function
plot_params = 
copy_model_data_to_plot_params (model, plot_params)
 Helper function copying extracting relevant information for plot_params from the model. More...
 

Detailed Description

Helper function copying extracting relevant information for plot_params from the model.

Definition in file copy_model_data_to_plot_params.m.

Function Documentation

function plot_params = copy_model_data_to_plot_params (   model,
  plot_params 
)

Helper function copying extracting relevant information for plot_params from the model.

This is especially for use with models using geometry transformation. Here, the geometry parameters also need to be known by the plot_params

Parameters
modelmodel
plot_paramsstructure holding the parameters for plotting.
Return values
plot_paramsthe updated structure enriched with fields extracted from the model.
Required fields of model:
  • geometry_transformation —  geometry transformation
  • xrange —  xrange
  • yrange —  yrange
  • geometry_spline_type —  geometry spline type
  • geometry_transformation_spline_x —  geometry transformation spline x
  • geometry_transformation_spline_y —  geometry transformation spline y
  • hill_height —  hill height
  • postprocess —  postprocess
  • gravity —  gravity
  • clim —  clim
Generated fields of plot_params:
  • geometry_transformation —  geometry transformation
  • xrange —  xrange
  • yrange —  yrange
  • geometry_spline_type —  geometry spline type
  • geometry_transformation_spline_x —  geometry transformation spline x
  • geometry_transformation_spline_y —  geometry transformation spline y
  • hill_height —  hill height
  • postprocess —  postprocess
  • gravity —  gravity
  • clim —  clim

Definition at line 17 of file copy_model_data_to_plot_params.m.