Skip to content

Instantly share code, notes, and snippets.

@pjastr
Created December 20, 2020 09:40
Show Gist options
  • Save pjastr/694d9a9dc57eb273e594b93d2d137901 to your computer and use it in GitHub Desktop.
Save pjastr/694d9a9dc57eb273e594b93d2d137901 to your computer and use it in GitHub Desktop.
clear
clc
clf
theta = linspace(-8 * %pi, 8 * %pi, 200)
z = linspace(-3, 0, 200)
r = 5
x = r .* sin(theta).*z
x=x'
y = r .* cos(theta).*z
y=y'
z=z'
param3d1(x, y, z,5,95,"@@", flag=[2,0])
e=gce() //the handle on the 3D polyline
e.foreground=color('green')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment