Last change
on this file since 37 was
37,
checked in by (none), 14 years ago
|
Added original make3d
|
-
Property svn:executable set to
*
|
File size:
344 bytes
|
Rev | Line | |
---|
[37] | 1 | function vgg_scatter_plot(points,style)
|
---|
| 2 | %vgg_scatter_plot(points,style)
|
---|
| 3 | %
|
---|
| 4 | %Plots nonhomg points as a scatter plot
|
---|
| 5 |
|
---|
| 6 | if nargin == 1, style = '+'; end
|
---|
| 7 | [r,c]=size(points);
|
---|
| 8 | if r == 2
|
---|
| 9 | h = plot(points(1,:),points(2,:),style);
|
---|
| 10 | elseif r == 3
|
---|
| 11 | h = plot3(points(1,:), points(2,:), points(3,:), style);
|
---|
| 12 | else
|
---|
| 13 | error('rows != 2 or 3');
|
---|
| 14 | end
|
---|
Note: See
TracBrowser
for help on using the repository browser.