Scilab Function
Last update : 03/08/2008

plq_plotpa_lambdaSet - Piecewise linear quadratic (plq), plot nonconvex proximal average over lambda

Calling Sequence

plq_plotpa_lambdaSet(f1, f2, x, lambdaSet, mu, rect)

Parameters

Description

For each lambda in lambdaSet, plots the proximal average of two PLQ functions over the provided x values and with the provided mu. The proximal averages are computed with plq_pa_mu, so f1 and f2 do not have to be convex. The rect argument bounds the plot's visible region and is required. All of the proximal averages are plotted on the same graph, and the colours of successive PA's fade from blue (lambda=0) to red (lambda=1) via jetcolormap.

Examples

f1 = [2,0,2,-4; %inf,0,0,0];
f2 = [-3,0,30,90; 0,0,0,0; %inf,1,0,0];
clf(0,"reset");
plq_plotpa_lambdaSet(f1, f2, -20:0.01:10, 0:0.05:1, 0.2, [-20,-20,10,40]);
plq_plot2(-4.2, 6, f2);
plq_plot2(-15.9, 10, f1);
  

See Also

plq_function,  

Author

Bryan Gardiner, University of British Columbia, BC, Canada