source:
proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/lightspeed/graphics/test_draw.m
@
37
Last change on this file since 37 was 37, checked in by , 14 years ago | |
---|---|
File size: 255 bytes |
Rev | Line | |
---|---|---|
[37] | 1 | n = 2; |
2 | % cov | |
3 | c = randn(n); | |
4 | c = c'*c; | |
5 | c = [1 0.5; 0.5 1]; | |
6 | ||
7 | figure(1);clf | |
8 | h = draw_circle(rand(2,n), rand(1,n), 'b', 'g'); | |
9 | h = draw_circle(rand(2,n), rand(1,n), 'c'); | |
10 | x = rand(2,n); | |
11 | h = draw_ellipse(x, c, 'r'); | |
12 | h = draw_ellipse_axes(x, c, 'r:'); | |
13 | axis equal |
Note: See TracBrowser
for help on using the repository browser.