PLplotlineseg
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
plots a line using PLplot in distance separated segments
Description
used to plot lines with poles in infitity
See Also: VLELplots
, CPLplot
, PLplot
, VLplot
Example Illustration
Syntax
h=PLplotlineseg(PL,[s,c,w,vec,a])
Input Parameter
PL: | | Point list |
s: | | segment number or distances |
c: | | color |
w: | | line |
vec: | | vector tip size |
a: | | transparancy; default is 0; |
Output Parameter
Examples
cla; PLplotlineseg(PL,2,'r*-'); axis tight
a=0:.1:4*pi; PL=[a' sin(a')]; SGfigure; PLplot(PL,'r.-'); PLplotlineseg(PL+[0 2],3,'b.-',2);shg
a=0:.1:4*pi; PL=[a' tan(a')]; SGfigure; PLplot(PL,'r.-'); PLplotlineseg(PL+[0 2],3,'b.-',2); axis([0 4*pi -10 10]); drawnow;
a=0:.01:4*pi; PL=[a' tan(a')]; figure;; PLplotlineseg(PL+[0 2],40.1,'b.-',2); drawnow; view(0,90);
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