As part of my NLP project, I need a way to plot 2D & 3D point cluster plots.
Let's take the example in my previous email:

     (0 0, 2 _3 ,: _1 2) dis 1 1,_1 _2,:3 4

1.41421 3.16228 4.47214

In that distance calculation, their are 6 coordinate pairs, representing 6
points in x & y.
The six points are:

 0 0, 2 _3, _1 2, 1 1,_1 _2, 3 4

I want to see a plot of those 6 points.

1. How do I make a 2D plot that shows these 6 points as dots on an xy graph.
2. How can I make the first three points red dots, and the last three
points blue dots?
3. How can I change the soze (diameter} of the dots?
4. Now assume I have 6 more points, but they are in three dimensions:

0 0 0, 2 _3 1, _1 2 0, 1 1 1,_1 _2 3, 3 4  2

5. How do I make a 3D plot that shows these 6 points as small dots in a 3D
xyz perspective view graph
6. How do I rotate the view?
7. How can I make the first three points red dots, and the last three
points blue dots?
​Skip
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to