xyzlabel

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - User interface
Introduced first in SolidGeometry 5.0, Creation date: 2020-09-04, Last change: 2025-09-14

sets or removes the xyz axis labes in 3D plots



See Also: snapplot

Example Illustration

 missing image of xyzlabel (c)

Syntax

xyzlabel([c])

Input Parameter

c: 'on' or 'none' or 'off'; default is 'on'

Examples


figure; view(-30,30);
xyzlabel('on'); shg
xyzlabel('off'); shg




Copyright 2020-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)

The function xyzlabel is designed to set or remove the labels of the x, y, and z axes in 3D plots. It is part of the SolidGeometry library and was introduced in version 5.0. The function takes a single optional input parameter.

Input Parameters

Algorithm Steps

  1. The function begins by retrieving the input parameter c using the getfuncparams function. If no parameter is provided, it defaults to 'on'.
  2. A switch statement is used to handle different values of c:
Algorithm explaination created using ChatGPT on 2025-08-18 22:42. (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