Re: [Kmatplot-general] Documentation
Brought to you by:
kamil
From: Laurent J. <lja...@fy...> - 2002-05-16 15:53:18
|
On Thursday 16 May 2002 14:10, Jos=E9 Luis G=F3mez Dans wrote: > Hi, > I have installed kmatplot (finally!) using the debian package. In the > past, it was impossible for me to compile the source, so I am a happy > person. However, I can't find any documentation on how to do a number > of things. > > What I want to do is quite simply load up a file (a NxM matrix), and > plot it as an image (X and Y axis are not obligatory), maybe with a > colorbar (=E0 la Matlab :D) on the side. In other words, namely matlab > words :-): > imagesc(<data_set>) > colorbar Here is a simple example (I hope it helps you) octave:26> [x,y]=3Dmeshgrid(1:256); octave:27> g=3Dexp(-((x-128).^2+(y-128).^2)/1000); octave:28> kaddaxes(0) ans =3D 5 octave:29> kimage(g) ans =3D 0 For the colorbar, I don't know. Perhaps directly on kmatplot. Bye, Laurent. |