<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#330000">
    On 11/03/2012 19:31, Constellation Athome wrote:
    <blockquote
cite="mid:CA+g0r+OZfcgexEfdLWbRCP7GKxFFbSm4PsfK_qRmHw14J1UDjQ@mail.gmail.com"
      type="cite">hi,<br>
      <br>
      I want to plot points with 3d coordinates like this <a
        moz-do-not-send="true" href="http://twitpic.com/8dj7r4">http://twitpic.com/8dj7r4</a>
      but I need to assign them with different colors, so that I can
      have a different color for each "cluster".<br>
      how do I do that? and perhaps with bigger points, so that they are
      better visible ;).<br>
      <br>
      thanks in advance, Andreas<br>
    </blockquote>
    hi<br>
    <br>
    you lay proceed this way:<br>
    <br>
    for each cluster<br>
        plot points in the cluster<br>
        change color<br>
        change mark style and size<br>
    next cluster<br>
    <br>
    <br>
    change color :<br>
    e=gce()<br>
    e.mark_mode = "on"; e.surface_mode = "off"<br>
    e.mark_foreground=4 //this will chose a color according to the
    current color map. you can also use any RGB color :
    e.mark_foreground=color(255,123,123)<br>
    <br>
    change marks : <br>
    use : <br>
    e.mark_style<br>
    e.mark_size<br>
    <br>
    (have a look at help mark_style)<br>
    <br>
    <br>
    here is an example (without the loop on the clusters)<br>
    <br>
    plot3d<br>
    e=gce()<br>
    e.mark_mode = "on"; e.surface_mode = "off"<br>
    e.mark_foreground=color(255,123,123)<br>
    e.mark_style = 0<br>
    e.mark_size = 5<br>
    e.mark_size = .6<br>
    <br>
    <br>
    hope this helps<br>
    <br>
    adrien vogt-schilb<br>
    <br>
    <br>
  </body>
</html>