Hi!
Great toolbox, I am using it heavily in https://github.com/unfoldtoolbox/unfold.
I right now ran into a problem: I am making use of the automatic matrix expansion for "y" with a vector for "x". But if "y" is quadratic then it does not work correctly. I give a reproducible example here:
a = [0 0 1 1 0 0;
0 0 2 2 0 0;
0 0 3 3 0 0;
0 0 4 4 0 0;
0 0 5 5 0 0;
0 0 6 6 0 0;]
b = 1:6;
figure
g = gramm('x',b,'y',a)
g.geom_line()
g.draw()
This looks like this:

Removing just a single row, making the matrix 5x6 results in the "correct" (for me expected) behaviour:
g = gramm('x',b,'y',a(1:5,:))
g.geom_line()
g.draw()

I expected the first plot to look like the second one, just with 6 lines instead of 5. Any way to force the behaviour to the second case?
Thanks a ton for your help!
Hi!
Great toolbox, I am using it heavily in https://github.com/unfoldtoolbox/unfold.
I right now ran into a problem: I am making use of the automatic matrix expansion for "y" with a vector for "x". But if "y" is quadratic then it does not work correctly. I give a reproducible example here:
This looks like this:

Removing just a single row, making the matrix 5x6 results in the "correct" (for me expected) behaviour:
I expected the first plot to look like the second one, just with 6 lines instead of 5. Any way to force the behaviour to the second case?
Thanks a ton for your help!