You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Matplotlib treats each column of the data as a separate data series. So, if you give it row vectors, it is treated as a set of single-point datasets. For example, compare the output of
Hi there,
It seems that I get an empty plot when I try to plot row vectors. Do others see this behavior or is it maybe on purpose?
: Produce correct plot:
x = [1.0:10.0];
y = x.*x;
plot(x,y)
: Produce empty plot:
x = [1.0:10.0]';
y = x.*x;
plot(x,y)
Versioninfo:
Julia Version 0.2.0
Commit 05c6461 (2013-11-16 23:44 UTC)
Platform Info:
System: Darwin (x86_64-apple-darwin12.5.0)
WORD_SIZE: 64
BLAS: libgfortblas
LAPACK: liblapack
LIBM: libopenlibm
I'm using PyPlot 1.0.12+ (master)
Best,
Oliver
The text was updated successfully, but these errors were encountered: