# Thread: How to plot multiple lines with "pointplot3d" in MAPLE.

1. ## How to plot multiple lines with "pointplot3d" in MAPLE.

Hi all

I'm using MAPLE 13 to try and plot multiple sets of points on the same plot.

I have used pointplot3d to plot a set of points using three vecotrs v1, v2 and v3 which all contain many elements and the same number of elements.

I would like to know how to plot a new set of elements for new vectors v4,v5, and v6 on to the same plot as the previous set of values.

Could I then give each of the two sets a different color?

Does anyone know how to do that?

Thanks,
Jason

2. ## Re: How to plot multiple lines with "pointplot3d" in MAPLE.

For example, you may do this so

with(plots):
.............................
display(A1, A2, ..., An, axes=normal, ...);

Example

with(plots):
A1 := spacecurve([signum(2*Pi-t)*sqrt(2-2*cos(t)), sin(t), 1+cos(t)], t=0..2*Pi, color=red, thickness=3):
A2 := spacecurve([signum(2*Pi-t)*sqrt(2-2*cos(t)), sin(t), 1+cos(t)], t=2*Pi..4*Pi, color=blue, thickness=3):
A3 := spacecurve([2*cos(t), 2*sin(t), 0], t=0..2*Pi, color=green, thickness=3):
display(A1, A2, A3, axes=normal, view=[-3..3,-3..3,-3..3]);