Guest User

Untitled

a guest
May 21st, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.41 KB | None | 0 0
  1. #!/usr/bin/octave -qf
  2.  
  3. #args = argv();
  4. regs = csvread("regs.csv");
  5.  
  6. a = regs(1, :);
  7. b = regs(2, :);
  8. c = regs(3, :);
  9. d = regs(4, :);
  10. e = regs(5, :);
  11. f = regs(6, :);
  12. h = regs(7, :);
  13. l = regs(8, :);
  14.  
  15. graphics_toolkit("gnuplot")
  16. plot(1:length(a), a);
  17. plot(1:length(b), b);
  18. plot(1:length(c), c);
  19. plot(1:length(d), d);
  20. plot(1:length(e), e);
  21. plot(1:length(f), f);
  22. plot(1:length(h), h);
  23. plot(1:length(l), l);
Add Comment
Please, Sign In to add comment