axisAIM

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - Visualization
Introduced first in SolidGeometry 5.2, Creation date: 2022-12-25, Last change: 2025-08-18

Just sets some figure values for the AIM Book von Tim Lueth and Mattias Traeger



See Also: axis4all

Example Illustration

 missing image of axisAIM

Syntax

axisAIM

Examples


SGfigure(-30,30);
axisAIM
exportgraphicsSG




Copyright 2022-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, axisAIM, is part of the SG-Library and is used to set specific figure properties for visualization purposes, particularly for the AIM Book by Tim Lueth and Mattias Traeger.

Input Parameters

The function axisAIM does not take any input parameters. It operates on the current figure and axes in MATLAB.

Algorithm Steps

  1. Material Setting: The function begins by setting the material properties of the current figure to 'dull'. This affects the appearance of surfaces in the figure, making them less shiny.
  2. Lighting Adjustment: It deletes any existing camera lights using camlightdelete and then adds a new camera light with camlight. This step ensures that the lighting is reset and consistent.
  3. Color Configuration: The background color of the current axes is set to a light gray color with RGB values [0.9, 0.9, 0.9] using set(gca,'Color',[0.9 0.9 0.9]). Similarly, the background color of the current figure is set to a slightly lighter gray with RGB values [0.95, 0.95, 0.95] using set(gcf,'Color',[0.95 0.95 0.95]).
  4. Font Size Adjustment: The font size for the figure is set to 20 using the fontsize(20) function. This ensures that any text in the figure is easily readable.
  5. Title Removal: The title of the current axes is set to an empty string using title(''), effectively removing any existing title.
  6. Zoom Patch: The function calls zoompatch('',0), which likely adjusts the zoom level or view of the figure. The exact behavior depends on the implementation of zoompatch, which is not provided here.

Output

The function does not return any output. It modifies the properties of the current figure and axes directly.

Algorithm explaination created using ChatGPT on 2025-08-18 22:05. (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