source: proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/zisserman/vgg_multiview/vgg_scatter_plot.m @ 37

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
Line 
1function vgg_scatter_plot(points,style)
2%vgg_scatter_plot(points,style)
3%
4%Plots nonhomg points as a scatter plot
5
6if nargin == 1, style = '+'; end
7[r,c]=size(points);
8if r == 2
9  h = plot(points(1,:),points(2,:),style);
10elseif r == 3
11  h = plot3(points(1,:), points(2,:), points(3,:), style);
12else
13  error('rows != 2 or 3');
14end
Note: See TracBrowser for help on using the repository browser.