The SUMO toolbox  2018a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
quickPlotModel.m File Reference


function quickPlotModel (var model, var outputIndex, var inputs, var options, var fighandles)
 Plot 1 or 2 inputs of a model against one of it's outputs. More...

Detailed Description

SUMO Lab Team
Copyright 2006-2018

This file is part of the Surrogate Modeling Toolbox ("SUMO Toolbox") and you can redistribute it and/or modify it under the terms of the GNU Affero General Public License version 3 as published by the Free Software Foundation. With the additional provision that a commercial license must be purchased if the SUMO Toolbox is used, modified, or extended in a commercial setting. For details see the included LICENSE.txt file. When referring to the SUMO Toolbox please make reference to the corresponding publication:

Contact : - Signature [minOut maxOut options] = quickPlotModel(model, outputIndex, inputs, options, fighandles)

Function Documentation

function quickPlotModel ( var  model,
var  outputIndex,
var  inputs,
var  options,
var  fighandles 

Plot 1 or 2 inputs of a model against one of it's outputs.

Customize the plot through the options parameter. If options.showAllOutputs is true, you must pass as many figure handles as there are outputs. Otherwise you must pass 1 handle or no handle (to use the current figure).

modelthe model to plot
outputIndexindex of the output dimension to plot
inputsaxis indices, bounds and values for each input
optionsplot customization options (must be complete!)
fighandlesfigure handles for plotting in


  • [dummy1 dummy2 options] = quickPlotModel * Get the default options
  • quickPlotModel(m,1) * Simple plot