|
From: Philipp K. J. <ja...@ie...> - 2009-11-22 06:17:49
|
On Saturday 21 November 2009 07:54:55 pm you wrote: > On Saturday 21 November 2009, Philipp K. Janert wrote: > > I am not sure how the "matrix" keyword works > > (that is: is supposed to work) when used together > > with the plot (not splot) command. > > I share your confusion. ;-) > > > > For plot (not splot), I am completely confused. Does > > it even make sense to have the notion of a "matrix" > > format for plot? The "matrix" keyword seems to suggest > > that the data is on a regular, 2-dim grid. This notion > > does not seem to have any meaning for plot. > > It is clearly useful to have such a capability. > I use it to make heat maps, for instance. > See heatmaps.dem But that just goes to my point: the examples in heatmaps.dem all use splot (not plot), except for one that uses "with image", which I think is for a binary file (not ascii). I still can't see any "proper" use for an ASCII matrix with plot (not splot). > But whether I use it in the way orginally intended is another > question :-) > > > Another bizarre property is that the following command can be > used to plot the values in a row of data rather than a column > of data, which is otherwise "impossible" in a normal gnuplot command: > > plot 'rowdata' matrix using 1:0 > > I suspect this was totally unintended. At one point I tried > to figure out if this was generalizable, but I got too confused > and gave it up. I admit, that is cute. |