Advertisement
Xirious

Matlab Scatter Plot

Aug 3rd, 2012
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 1.65 KB | None | 0 0
  1. cx =[116,117,117,118,119,120,120,122,123,124,125,126,128,129,144,145,145,146,146,147,148,149,150,151,153,154,155,156,174,174,175,175,176,177,178,178,179,180,181,182,183,184,201,202,202,203,204,204,209,206,207,207,208,209,210,211,230,231,231,232,233,233,234,235,235,236,237,237,238,239,258,258,258,259,260,260,261,262,262,263,264,264,265,266,286,287,287,288,288,289,290,290,290,291,292,292,292,293,314,313,314,314,315,315,316,317,317,317,318,318,319,319,341,342,342,343,343,343,344,344,345,345,345,345,346,346,367,368,368,369,369,369,370,370,371,371,371,371,371,371,395,395,396,396,396,397,397,397,397,397,398,398,398,398,401,420,421,421,422,422,422,422,422,422,422,423,423,423,423,447,447,447,448,448,448,448,448,448,449,449,449,449,449,472,472,472,472,472,473,473,473,473,473,473,473,473,474;];
  2.  
  3. cy = [413,356,385,328,298,241,271,214,185,158,129,103,75,49,413,357,386,299,328,272,242,215,185,159,130,104,76,50,386,414,329,357,300,272,216,243,187,160,131,105,77,52,414,357,386,330,273,300,245,217,161,188,132,106,79,53,414,357,386,330,274,301,244,189,218,162,108,134,80,54,358,386,414,330,274,301,245,190,218,163,109,135,81,56,414,358,387,302,331,274,190,219,246,164,83,110,136,57,273,414,358,387,302,331,247,165,192,220,111,138,59,85,413,358,387,276,303,331,221,248,113,139,167,193,61,86,413,358,387,276,303,332,222,248,63,88,114,140,168,194,386,413,303,332,358,65,116,223,249,277,89,141,169,195,103,412,358,386,66,91,118,249,277,303,332,143,170,196,223,68,386,411,93,119,278,304,332,358,144,171,197,224,250,70,95,120,385,411,146,172,198,251,278,304,332,358,225;];
  4. c = 640;
  5. r = 480;
  6.  
  7. figure('Position',[0,0,c,r]);
  8. scatter(cx,cy,'.');
  9. axis([0 c 0 r])
  10. set(gca,'YDir','reverse')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement