Re: [Kmatplot-general] Wish list for kmatplot/octave
Brought to you by:
kamil
From: Laurent J. <lja...@fy...> - 2002-05-21 22:01:40
|
On Tuesday 21 May 2002 19:09, you wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hey, > Perhaps there needs to be a mode switch kautoaxes(bool, type) which tel= ls > KMatplot whether to auto add axis when a call to kplot is made. This wo= uld > make it more like Matlab. (Perhaps such a function already exists, and = I > don't know about it...) Good idea. I like this way of doing. > > > 4=B0) a function > > kginput(n) > > to obtain n coordinates on a 1D and 2D plot by clicking n times on it > > I don't understand how this works, perhaps that's because I haven't use= d > the equivalent function under Matlab. I was not very clear, sorry. This function works like this in Matlab: >> pos=3Dginput(1) wait until you click one time on the current plot (1D or 2D) and return t= he=20 coordinates of the click relatively to the current axes into the vector p= os=20 (size: 1x2) >> pos=3Dginput(n) Do the same but wait for n clicks and returns n coordinates in pos (size:= =20 nx2): one couple of coordinates for each click. Regards, Laurent. |