I have written this little parser that reads in some numbers from text file.

```
    data.resize(7,datapoints); //Eigen::Matrix<float,7,-1> & data
    dst = data.data();

    while( fgets(buf,255,fp) != 0 && i/7 < datapoints)
    {

        int n = sscanf(buf,"%f \t%f \t%f \t%f \t%f \t%f \t%f",dst+i++, dst+i++,dst+i++,dst+i++,dst+i++,dst+i++,dst+i++);
            i = i - 7 * (n<=0);
    }
    fclose(fp);
    return !(datapoints == i/7);

```

The thing is, when i do a std::cout on the data it flipped.

Data in:

```
0   4   0.35763609  0.64077979  0   0   1
0   4   0.36267641  0.68243247  1   0   2
0   4   0.37477320  0.72945964  2   1   3

```

data.col(3) is 

```
0.64077979  
0.68243247  
0.72945964 

```

and data.col(4) is

```
0.35763609  
0.36267641  
0.37477320 

```

I cant see the logic why it have flipped the data horizontal?