NIH LISTSERV
NIH LISTSERV
IMAGEJ archives -- May 2002 (#89)

Go to: Previous Message | Next Message
Previous in Topic | Next in Topic
Previous by Same Author | Next by Same Author
Previous Page (May 2002) | Back to Main IMAGEJ Page


Options: Reply | Post a New Message | Join or Leave IMAGEJ, or Change Options | Search
View: Chronologically | Most Recent First | Wrap Text (Proportional Font) | Don't Wrap Text (Non-proportional Font)
*

References: <[log in to unmask]>
Content-Type: text/plain; charset=iso-8859-1
Message-ID:  <[log in to unmask]>
Date:         Thu, 16 May 2002 14:48:34 +0200
Reply-To:     ImageJ Interest Group <[log in to unmask]>
Sender:       ImageJ Interest Group <[log in to unmask]>
From:         Geert Meesen <[log in to unmask]>
Organization: I.N.W. Nuclear Physics
Subject:      Re: Display results in columns.

Bonjour Vincent, you should do the following : before your for-loop : IJ.setColumnHeadings("column1 \t column2 \t column3 \t ...till number of columns needed") ^- TAB-delimited string with different column-headings In your for-loop : IJ.write( (i+1) + "\t" + Taches[i] + "\t" + BaryX[i] + "\t" + BaryY[i]); In general : use the TAB character ("\t") for defining/indicating the different columns. Good Luck, Geert. "[log in to unmask]" wrote: > > Dear ImageJ users, > > I'm trying to write a plug-in for ImageJ that > automatically does measurements like particle analysis. > I would like to display my results in columns the same > way "Analyse Particles" do. > Below is a part of my code which displays outputs in the > result window. > Could you tell me how to display this in columns instead? > > for (i=0;i<CompteurTaches; i++) > { > /*This is what I'd like to display in columns like > obtained with AnalyzeParticles */ > IJ.write("Particle:"+(i+1)+" Area:"+Taches[i]+" > Xm:"+BaryX[i]+" Ym:"+BaryY[i]); > } > > Thanks a lot. > -------------- > Profitez des 2 offres exceptionnelles Tiscali ! > "Internet Gratuit le Jour" et "Modem ADSL remboursé" > Cliquez ici, http://register.tiscali.fr/forfaits_ls/ > Offres soumises à conditions. -- ---------------------------------------------------------------- Geert Meesen. Ghent University, Department of Subatomic and Radiation Physics, Proeftuinstraat 86, B-9000 Gent, Belgium Tel. : +32-9-264.65.40 Fax. : +32-9-264.66.97 http://ssf.rug.ac.be/ ----------------------------------------------------------------




Back to: Top of message | Previous page | Main IMAGEJ page

NIH LISTSERV Home Page

CIT
Center for Information Technology
National Institutes of Health
Bethesda, Maryland 20892
301 594 6248 (v) 301 496 8294 (TDD)
Comments and Assistance
Accessibility wheelchair icon