How does one plot 2 different functions on the same 3D plot ?
For example, if I wanted to plot a line and a cylinder on the same plot ? Preferably without using the built in line and cylinder functions, because the functions I need to plot are not available as built in functions.
There are plenty of functions to plot in 3D
You need to select the one that accomplish what you want.
Then you need to write functions that convert your 3D objects into the
data format the selected function needs
Finally you need to call the plotting functions for the converted
objects after you have hold on the plot.
# call the 3d plotting function on object one
# call the 3d plotting function on object two
# fix axes, camera position, lights, view, annotations, etc
I hope my abstract description leads you somewhere.