From bug-request at octave dot org Thu Dec 2 09:48:13 2004 Subject: Re: 'text' problems From: "Pascal A. Dupuis" To: bug-octave at bevo dot che dot wisc dot edu Date: Thu, 2 Dec 2004 09:09:24 -0600 --AqsLC8rIMeq19msA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Dec 02, 2004 at 04:06:55PM +0100, Pascal A. Dupuis wrote: > To: bug-octave at bevo dot che dot wisc dot edu > Cc: Pascal dot Dupuis at esat dot kuleuven dot ac dot be > Subject: 'text' problems > > Bug report for Octave 2.1.60 configured for i386-pc-linux-gnu > > Description: > ----------- > > * I'm trying to mark each point from a curve with some value, using > the 'text function. But it seems to become problematic when the units > become very small > Sorry, forgot the attachment :-{ Pascal Dupuis -- Dr. ir. Pascal Dupuis K. U. Leuven, ESAT/ELECTA (formerly ELEN): http://www.esat.kuleuven.ac.be/ Kasteelpark Arenberg, 10; B-3001 Leuven-Heverlee, Belgium Tel. +32-16-32 10 21 -- Fax +32-16-32 19 85 --AqsLC8rIMeq19msA Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="test_freqs1.m" %# little handy script to exercise freqs all_freq = [100 400 600 900 1200 1400 2000 2600 4000].'; all_omeg = 2*pi*all_freq; nf = length(all_freq); Rs = 100; Rp = 2000; Cp = 2.0000e-08; Z= (Rs+Rp)*(1+j*all_omeg*Rs*Rp/(Rs+Rp)*Cp)./(1+j*all_omeg*Rp*Cp); plot(all_freq, abs(Z)) Y=1./Z; plot(real(Y), imag(Y)); for indi=1:nf, text(real(Y(indi)), imag(Y(indi)), int2str(all_freq(indi))) endfor pause; plot(real(Y), imag(Y)./all_omeg); for indi=1:nf, text(real(Y(indi)), imag(Y(indi))./all_omeg(indi), int2str(all_freq(indi))); endfor pause; --AqsLC8rIMeq19msA-- ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------