hideingca

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - User interface
Introduced first in SolidGeometry 4.5, Creation date: 2019-02-13, Last change: 2025-09-14

simply hide (set visibiliy to off) or delete graphics objects of a specific type

Description

used in SGfigure since SG 4.5 to toogle the view of patches, lines, text and polygons

See Also: SGfigure , findingca

Example Illustration

 missing image of hideingca(gotype,hide);

Syntax

h=hideingca(gotype,[hide]);

Input Parameter

gotype: type such as 'line', 'text','polygon' etc.
hide: 'hide', 'delete', 'clear' 'invisible', visible' etc.

Output Parameter

h: handle to object

Examples


SGfigure; PLplot(PLcircle(100));
shg; hideingca('line','invi');pause(.5); hideingca('line','visi');
SGfigure; CPLplotasPS(PLcircle(10)); CPLplot(PLcircle(20),'b-'); textVL(PLcircle(15)); SGplot(SGbox(5));




Copyright 2019-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

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