CLplot

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - CPL/Closed Polygon Lists
Introduced first in SolidGeometry 5.1, Creation date: 2021-04-29, Last change: 2025-09-15

plots a correlation for debugging (same as plotcorrelation)

Description

more or less for debugging
graphofEL => Shows just CL
plotcorrelation => 2D view
PLplotcorrelation => CL plus Point information


See Also: FLofPLcorrelation , PLcorrelationcheck , plotcorrelation , PLplotcorrelation

Example Illustration

 missing image of CLplot(CL,w)

Syntax

CLplot(CL,[w])

Input Parameter

CL: Corrleation list (or FL)
w: Widht of lines

Examples


cla; CLplot([1 1;2 1;3 1; 4 2; 5 3 ; 5 4; 5 5; 6 6],2); plotannotationdelete; papermode




Copyright 2021-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth

Algorithm (Workflow)

This function, CLplot, is designed to plot a correlation for debugging purposes. It is part of the SolidGeometry library and was introduced in version 5.1. The function primarily serves to visualize correlation lists, which are used in geometric computations.

Input Parameters

Function Workflow

The function begins by attempting to retrieve the optional parameter w using a helper function getfuncparams. However, this line is commented out, indicating that the function currently does not explicitly use w within its body.

The core operation of the function is to call another function, plotcorrelation, passing the correlation list CL and any additional arguments provided in varargin. This suggests that plotcorrelation is responsible for the actual plotting logic, and CLplot serves as a wrapper to facilitate this process.

Example Usage

An example is provided in the comments, demonstrating how to use CLplot:

cla; CLplot([1 1;2 1;3 1; 4 2; 5 3 ; 5 4; 5 5; 6 6],2); plotannotationdelete; papermode

In this example, a correlation list is defined as a series of 2D points, and CLplot is called with this list and an additional parameter 2. The functions plotannotationdelete and papermode are likely used to manage the plot's appearance and mode, although their specific roles are not detailed in the provided code.

Related Functions

The function header mentions several related functions, such as FLofPLcorrelation, PLcorrelationcheck, plotcorrelation, and PLplotcorrelation. These functions likely offer additional capabilities for handling and visualizing correlation lists within the SolidGeometry library.

Algorithm explaination created using ChatGPT on 2025-08-18 23:13. (Please note: No guarantee for the correctness of this explanation)

Last html export of this page out of FM database by TL: 2025-09-21