Plots the correlation group of an Monte Carlo analysis object with spatial correlation.
Syntax |
Description |
---|---|
correlationplot(struct); |
Plots the correlation of a correlation group in an Monte Carlo analysis object. "struct" is the correlation group entry gets from the Monte Carlo analysis object. |
correlationplot(matrix, matrix, matrix, stringcell|string, string) |
Plots the correlation of a correlation group in an Monte Carlo analysis object, where:
|
Example
The following script commands plot the correlation group "corr_delta_height" for the Monte Carlo analysis object associated with the step3_transceiver_simulations.icp example file in the Layout-aware statistical yield analysis – WDM transceiver example.
# get object
corr_obj=getsweep("Monte_Carlo_analysis", "corr_delta_height");
# plot using struct
correlationplot(corr_obj.preview);
# plot using separate entries
correlationplot(corr_obj.preview.points, corr_obj.preview.coefficients, corr_obj.preview.correlation_length, corr_obj.preview.labels, corr_obj.preview.title);
correlationplot(corr_obj.preview.points, corr_obj.preview.coefficients, corr_obj.value, corr_obj.parameters, corr_obj.name);
Following is the plot generated by the script above. For more information on the visualization of the Monte Carlo analysis spatial correlation, please visit the page Monte Carlo analysis with spatial correlations.
See Also