Results 1 to 2 of 2

Math Help - How to plot multiple lines with "pointplot3d" in MAPLE.

  1. #1
    Member Jason Bourne's Avatar
    Joined
    Nov 2007
    Posts
    132

    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
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Senior Member DeMath's Avatar
    Joined
    Nov 2008
    From
    Moscow
    Posts
    473
    Thanks
    5

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

    For example, you may do this so

    with(plots):
    A1 := your plot 1:
    A2 := your plot 2:
    .............................
    An := your plot n:
    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]);
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Replies: 2
    Last Post: June 4th 2011, 01:11 PM
  2. Replies: 0
    Last Post: May 8th 2011, 02:54 PM
  3. Replies: 2
    Last Post: April 24th 2011, 08:01 AM
  4. Replies: 1
    Last Post: October 25th 2010, 05:45 AM
  5. Replies: 1
    Last Post: December 18th 2008, 09:54 PM

Search Tags


/mathhelpforum @mathhelpforum