mirror of
https://github.com/epasveer/seer.git
synced 2026-08-30 00:50:42 +08:00
Fixed bug with plotting scatter plot.
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
#include <string>
|
||||
#include <iostream>
|
||||
|
||||
int main () {
|
||||
|
||||
double pos[40];
|
||||
double vit[40];
|
||||
|
||||
double posv = 1.0;
|
||||
|
||||
for (int i=0; i<sizeof(pos); i++) {
|
||||
|
||||
pos[i] = posv;
|
||||
posv -= (1.0 - 0.0) / double(sizeof(pos));
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user