%% Configure Array Plot From the Command-Line
% This example shows how to change Array Plot block behavior and appearance
% from the MATLAB command line.

%%
% Open the model and create an Array Plot block configuration object.
model = 'zoomfftExample';
open_system(model)
sim(model)
open_system([model '/View Spectrum'])
ArrayPlotConfiguration = get_param([model '/View Spectrum'],'ScopeConfiguration');


%%
% Change the title of the Array Plot and the axes scaling.
ArrayPlotConfiguration.Title = 'My Array Plot';
ArrayPlotConfiguration.AxesScaling = 'Manual';
ArrayPlotConfiguration.YLimits = [-1 100];






%% 
% Copyright 2012 The MathWorks, Inc.