|
From: Philipp K. J. <ja...@ie...> - 2009-11-22 08:33:26
|
[snip] > The end result I was aiming for when last I looked at this was > to generate heatmaps directly from a csv file (e.g. from excel), > where the row and column categories had headers. I'll draw this > here as in-line data with whitespace. The command below doesn't > work, of course, but I was trying to understand the whole matrix > mechanism well enough to see if I could tweak things to make it work: > > plot "-" matrix using xticlabels(0):yticlabels(0) with image > xx A B C > X 0 2 1 > Y 2 0 1 > Z 1 1 2 > > I forget now why I wanted it to be a 'plot' command rather than 'splot'. > Maybe because of the limited control over tic label placement in 3D. > Or maybe because the code at first looked slightly less confusing. That seems to go back to my point - this kind of graph is exactly what I always thought the splot command specfically was for. So, if anything, I would think it makes sense to beef up splot (ticmarks, whatever), rather than overload plot with redundant functionality. (?) |