But it's so colorful!! http://imgur.com/F7PqMMZ
On Wednesday, June 17, 2015 at 11:09:26 AM UTC-4, Nils Gudat wrote: > > ^ True, I assumed in my post above that the rows where the object of > interest here, just because it seems more "natural" to plot 10 1000 points > data series than 1000 data series with 10 observations each... > > On Wednesday, June 17, 2015 at 3:35:18 PM UTC+1, Miguel Bazdresch wrote: >> >> Note that in most plotting packages, `plot(vec)` is interpreted as 1000 >> functions of 10 elements each. That is, when given a matrix as argument, >> they plot the columns. >> >> -- mb >> >> On Tue, Jun 16, 2015 at 8:10 PM, Nelson Mok <[email protected]> wrote: >> >>> HI, >>> >>> Please comment, how to plot the matrix (10x1000) with different color, >>> thank you >>> >>> ================================== >>> using Gadfly >>> >>> ## number of vectors >>> n = 10 >>> >>> ## number of elements >>> n_elm = 1000 >>> >>> vec = randn(n, n_elm) >>> plot(vec) # it doesn't work >>> >>> Regards, >>> Nelson. >>> >> >>
